]> 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:26:07 +0000 (09:26 -0500)
commit1576004e072f7dcc63937fdccedd28b3b6b0f195
treef767028b3f0a03c601ad3205dd543acabaaac51b
parentd1f32e75d73e7d14455265da5830665eb4435b0a
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