[asterisk-bugs] [JIRA] (ASTERISK-29176) Private REDIRECTING party ID data not used in PJSIP headers
Kris Shaw (JIRA)
noreply at issues.asterisk.org
Wed Oct 27 04:17:49 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kris Shaw updated ASTERISK-29176:
---------------------------------
Attachment: priv-div-hist.diff
As a proof of concept, this fixes the redirecting data for History-Info. However, when trying to indicate History-Info privacy I found 2 issues.
1. When adding privacy to the History-Item header field, PJSIP doesn't seem to allow header_param values to be added.
2. Adding the Privacy header to the message probably needs to be done in conjunction with the existing function in res_pjsip_caller_id.c (which adds value "id"). The value "history" needs to be added to any existing value.
> Private REDIRECTING party ID data not used in PJSIP headers
> -----------------------------------------------------------
>
> Key: ASTERISK-29176
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29176
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: 16.15.0
> Reporter: Kris Shaw
> Assignee: Unassigned
> Labels: patch
> Attachments: diversion-sip-trace.txt, priv-div.diff, priv-div-hist.diff, priv-div_trust.diff
>
>
> Unlike in chan_sip (and sig_pri), chan_pjsip does not take into account the priv* representations of the orig/from/to redirecting party IDs. When constructing the diversion and history headers via res_pjsip_diversion, the priv* values aren't merged with the standard party IDs to get the effective party IDs.
> Therefore, these headers may not be set as you might expect them to be from the documentation.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list