[asterisk-dev] [Code Review] 3462: PJSIP: Allow for multiple contacts to be set in a single contact= line in an aor section of pjsip.conf

Mark Michelson reviewboard at asterisk.org
Thu Apr 17 15:52:23 CDT 2014

This is an automatically generated e-mail. To reply, visit:

Review request for Asterisk Developers.

Repository: Asterisk


I realized that when configuring realtime PJSIP, it was not possible to configure multiple permanent contacts for an AOR. This patch modifies the parsing of the contact option for AORs so that multiple URIs may be presented as a comma-separated list of items. Commas are in the reserved character set in RFC 3261, so it is safe to use them as a separator.


  /branches/12/res/res_pjsip/location.c 411896 

Diff: https://reviewboard.asterisk.org/r/3462/diff/


I modified the testsuite's channels/pjsip/ami/show_endpoint test so that it contained two contacts instead of a single one. I ensured that the ContactDetail event emitted from Asterisk showed both contacts in the Contacts: header and that the TotalContacts: header showed 2 contacts.

I could make this testsuite change permanent if desired, but since the change was minute, I didn't feel it necessary to post a review with the change.


Mark Michelson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140417/937724f8/attachment.html>

More information about the asterisk-dev mailing list