]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_dialog_info_body_generator: Add LOCAL/REMOTE tags in dialog-info+xml
authorJoseph Nadiv <ynadiv@corpit.xyz>
Wed, 14 Apr 2021 14:44:00 +0000 (10:44 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 19 May 2021 17:17:09 +0000 (12:17 -0500)
commit3cccdf6d9878451b44640dd28878b8dcd1465da3
treea6e47c0544fc93479b1c84c9720f1919e2d59b6e
parent04454fc238f1a490b76a048d798ff0e190539388
res_pjsip_dialog_info_body_generator: Add LOCAL/REMOTE tags in dialog-info+xml

RFC 4235 Section 4.1.6 describes XML elements that should be
sent to subscribed endpoints to identify the local and remote
participants in the dialog.

This patch adds this functionality to PJSIP by iterating through the
ringing channels causing the NOTIFY, and inserts the channel info
into the dialog so that information is properly passed to the endpoint
in dialog-info+xml.

ASTERISK-24601
Patch submitted: Joshua Elson
Modified by: Joseph Nadiv and Sean Bright
Tested by: Joseph Nadiv

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