[asterisk-bugs] [JIRA] (ASTERISK-24433) Diversion header is only partially parsed into REDIRECTING structure

Michaël Arnauts (JIRA) noreply at issues.asterisk.org
Fri Oct 17 09:03:29 CDT 2014


Michaël Arnauts created ASTERISK-24433:
------------------------------------------

             Summary: 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


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