]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 2 Jun 2022 00:26:48 +0000 (19:26 -0500)
commit3ec5eb5ae66871d99feb93a3dd4d371f62e40642
tree7f38337aa548cb93bb6ca7a4ca3498b7b7c44d8c
parente8616a270134d10fd14821d07ea76ab78c88503b
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