# Asterisk Project : Asterisk 13 Configuration_res_pjsip_outbound_publish

Created by wikibot on Aug 08, 2014

# SIP resource for outbound publish

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

## Overview

Outbound Publish

This module allows `res_pjsip` to publish to other SIP servers.

## pjsip.conf

### outbound-publish

The configuration for outbound publish

#### Configuration Option Reference

Option Name | Type | Default Value | Regular Expression | Description
--- | --- | --- | --- | ---
`expiration` | `Unsigned Integer` | `3600` | `false` | Expiration time for publications in seconds
`outbound_auth` | `Custom` |  | `false` | Authentication object to be used for outbound publishes.
`outbound_proxy` | `String` |  | `false` | SIP URI of the outbound proxy used to send publishes
`server_uri` | `String` |  | `false` | SIP URI of the server and entity to publish to
`from_uri` | `String` |  | `false` | SIP URI to use in the From header
`to_uri` | `String` |  | `false` | SIP URI to use in the To header
`event` | `String` |  | `false` | Event type of the PUBLISH.
`max_auth_attempts` | `Unsigned Integer` | `5` | `false` | Maximum number of authentication attempts before stopping the publication.
`type` | `None` |  | `false` | Must be of type 'outbound-publish'.

#### Configuration Option Descriptions

##### server_uri

This is the URI at which to find the entity and server to send the outbound PUBLISH to. This URI is used as the request URI of the outbound PUBLISH request from Asterisk.

##### from_uri

This is the URI that will be placed into the From header of outgoing PUBLISH messages. If no URI is specified then the URI provided in `server_uri` will be used.

##### to_uri

This is the URI that will be placed into the To header of outgoing PUBLISH messages. If no URI is specified then the URI provided in `server_uri` will be used.

### Import Version

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