]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_dialog_info_body_generator: Set LOCAL target URI as local URI
authorAlexei Gradinari <alex2grad@gmail.com>
Thu, 26 May 2022 21:29:29 +0000 (17:29 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 2 Jun 2022 14:25:54 +0000 (09:25 -0500)
commit42b191ad64cc221813e30a3a681214f713dab241
treec9392a08d2235141df0930e2588aec77af365bba
parent7dcea19ce875987171aefc77abfc639908bf254f
res_pjsip_dialog_info_body_generator: Set LOCAL target URI as local URI

The change "Add LOCAL/REMOTE tags in dialog-info+xml" set both "local"
Identity Element URI and Target Element URI to the same value -
the channel Caller Number.
For Identity Element it's ok to set as Caller ID.
But Local Target URI should be set as local URI.

In this case the Local Target URI can be used for Directed Call Pickup
by Polycom ip-phones (parameter useLocalTargetUriforLegacyPickup).

Also XML sanitized Display names.

ASTERISK-24601

Change-Id: If130a2f2f3b2339b14dca0ec0ebeea3a87b34343
res/res_pjsip_dialog_info_body_generator.c