]> 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:16:40 +0000 (12:16 -0500)
commit48851279a8ce0cc0a8db8a70ae71577bd61a6f18
tree820bea062040139f6f4b1f06f9e1a95484d3effe
parent10aa4f987610c5ce0d6dc53705b68a485ff26678
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