res_pjsip_messaging: send message to a default outbound endpoint
authorKevin Harwell <kharwell@digium.com>
Wed, 11 Dec 2013 20:24:50 +0000 (20:24 +0000)
committerKevin Harwell <kharwell@digium.com>
Wed, 11 Dec 2013 20:24:50 +0000 (20:24 +0000)
commitc602b086edb3bda8e3406c39b55285f0762b1f67
tree68256d7f795b30e2bc88d6662d912353dc0fdcbc
parent90108b15a0bfb0a7fe88a12b4afbcf1086f18df9
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
configs/pjsip.conf.sample
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/config_global.c
res/res_pjsip/include/res_pjsip_private.h
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_messaging.c