Summary: | ASTERISK-24433: Diversion header is only partially parsed into REDIRECTING structure | ||||
Reporter: | Michaƫl Arnauts (michaelarnauts) | Labels: | chan-sip-message-parsing | ||
Date Opened: | 2014-10-17 09:02:00 | Date Closed: | |||
Priority: | Minor | Regression? | |||
Status: | Open/New | Components: | Channels/chan_sip/General | ||
Versions: | 11.14.0 13.18.4 | Frequency of Occurrence | Constant | ||
Related Issues: |
| ||||
Environment: | Ubuntu 12.04 LTS | Attachments: | |||
Description: | 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@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. | ||||
Comments: |