# Asterisk Project : Asterisk 13 Configuration_res_pjsip_publish_asterisk

Created by wikibot on Aug 08, 2014

# SIP resource for inbound and outbound Asterisk event publications

This configuration documentation is for functionality provided by `res_pjsip_publish_asterisk`.

## Overview

Inbound and outbound Asterisk event publication

This module allows `res_pjsip` to send and receive Asterisk event publications.

## pjsip.conf

### asterisk-publication

The configuration for inbound Asterisk event publication

#### Configuration Option Reference

Option Name | Type | Default Value | Regular Expression | Description
--- | --- | --- | --- | ---
`devicestate_publish` | `String` |  | `false` | Optional name of a publish item that can be used to publish a request for full device state information.
`mailboxstate_publish` | `String` |  | `false` | Optional name of a publish item that can be used to publish a request for full mailbox state information.
`device_state` | `Boolean` | `no` | `false` | Whether we should permit incoming device state events.
`device_state_filter` | `Custom` |  | `false` | Optional regular expression used to filter what devices we accept events for.
`mailbox_state` | `Boolean` | `no` | `false` | Whether we should permit incoming mailbox state events.
`mailbox_state_filter` | `Custom` |  | `false` | Optional regular expression used to filter what mailboxes we accept events for.
`type` | `None` |  | `false` | Must be of type 'asterisk-publication'.

### Import Version

This documentation was imported from Asterisk Version SVN-branch-13-r420538