[asterisk-bugs] [JIRA] (ASTERISK-24433) Diversion header is only partially parsed into REDIRECTING structure
Sean Bright (JIRA)
noreply at issues.asterisk.org
Wed Dec 13 08:52:09 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-24433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Bright updated ASTERISK-24433:
-----------------------------------
Labels: chan-sip-message-parsing (was: )
> Diversion header is only partially parsed into REDIRECTING structure
> --------------------------------------------------------------------
>
> Key: ASTERISK-24433
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24433
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: 11.14.0
> Environment: Ubuntu 12.04 LTS
> Reporter: Michaël Arnauts
> Severity: Minor
> Labels: chan-sip-message-parsing
>
> The Diversion header is not fully parsed into the REDIRECTING function.
> Therefore, the example documented at https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information#ManipulatingPartyIDInformation-Simpleredirection to make a transfer doesn't work.
> I'm sending the following Diversion-header:
> <sip:27912345 at 88.99.00.11>\;reason=unconditional\;counter=1\;privacy=off
> However, the REDIRECTING(count) returns nothing. This should return 1. My current workaround is to parse the SIP_HEADER(Diversion) to extract the value of the counter and use that.
> I also have to write the Diversion-header myself, since the code in chan_sip only writes out the number and the reason, not the counter.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list