]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_messaging: Refactor outgoing URI processing
authorGeorge Joseph <gjoseph@digium.com>
Thu, 22 Apr 2021 18:07:22 +0000 (12:07 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 27 May 2021 16:15:19 +0000 (10:15 -0600)
commit6cd89c4f0a79fe99e63e1b7e3fe2c34f49f1584f
tree22de1311ab4ae9e45b2f2038e5173b60a23f707b
parent8236f2f1556a847bdc6626db1a6e2f77212cd048
res_pjsip_messaging: Refactor outgoing URI processing

 * Implemented the new "to" parameter of the MessageSend()
   dialplan application.  This allows a user to specify
   a complete SIP "To" header separate from the Request URI.

 * Completely refactored the get_outbound_endpoint() function
   to actually handle all the destination combinations that
   we advertized as supporting.

 * We now also accept a destination in the same format
   as Dial()...  PJSIP/number@endpoint

 * Added lots of debugging.

ASTERISK-29404
Reported by Brian J. Murrell

Change-Id: I67a485196d9199916468f7f98bfb9a0b993a4cce
doc/CHANGES-staging/res_pjsip_messaging.txt [new file with mode: 0644]
res/res_pjsip_messaging.c