res_pjsip_outbound_publish

Since 13.0.0 Module Configuration Found this useful? Upvote it. ×

SIP resource for outbound publish

Last reviewed 2026-04-14

Description

Outbound Publish

This module allows res_pjsip to publish to other SIP servers.

pjsip.conf

[outbound-publish]

The configuration for outbound publish

  • expiration - Expiration time for publications in seconds
  • outbound_auth - Authentication object(s) to be used for outbound publishes.

    Note

    Using the same auth section for inbound and outbound authentication is not recommended. There is a difference in meaning for an empty realm setting between inbound and outbound authentication uses. See the auth realm description for details.

  • outbound_proxy - Full SIP URI of the outbound proxy used to send publishes

  • server_uri - SIP URI of the server and entity to publish to
  • from_uri - SIP URI to use in the From header
  • to_uri - SIP URI to use in the To header
  • event - Event type of the PUBLISH.
  • max_auth_attempts - Maximum number of authentication attempts before stopping the publication.
  • transport - Transport used for outbound publish

    Note

    A transport configured in pjsip.conf. As with other res_pjsip modules, this will use the first available transport of the appropriate type if unconfigured.

  • multi_user - Enable multi-user support

  • type - Must be of type 'outbound-publish'.

User Notes

No notes yet. Be the first to contribute a tip or example.

Contribute a note

Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.

Moderated before publishing. Email never shown.