diff options
author | Kevin Harwell <kharwell@digium.com> | 2013-12-11 20:24:50 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2013-12-11 20:24:50 +0000 |
commit | c602b086edb3bda8e3406c39b55285f0762b1f67 (patch) | |
tree | 68256d7f795b30e2bc88d6662d912353dc0fdcbc /configs | |
parent | 90108b15a0bfb0a7fe88a12b4afbcf1086f18df9 (diff) |
res_pjsip_messaging: send message to a default outbound endpoint
In some cases messages need to be sent to a direct URI (sip:<ip address>). This
patch adds in that support by using a default outbound endpoint. When sending
messages, if no endpoint can be found then the default one is used.
To facilitate this a new default_outbound_endpoint option was added to the
globals section for pjsip.conf.
Review: https://reviewboard.asterisk.org/r/2944/
........
Merged revisions 403680 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/pjsip.conf.sample | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configs/pjsip.conf.sample b/configs/pjsip.conf.sample index cd6deae5b..5eb5335da 100644 --- a/configs/pjsip.conf.sample +++ b/configs/pjsip.conf.sample @@ -603,8 +603,9 @@ ;user_agent= ; Value used in User Agent header for SIP requests and Server ; header for SIP responses (default: Populated by Asterisk ; Version) - - +;default_outbound_endpoint= ; Endpoint to use when sending an outbound request + ; to a URI without a specified endpoint. + ; (default: "default_outbound_endpoint") ; MODULE PROVIDING BELOW SECTION(S): res_pjsip_acl |