[asterisk-bugs] [JIRA] (ASTERISK-26063) ${PJSIP_HEADER(read, Call-ID)} does not work

Private Name (JIRA) noreply at issues.asterisk.org
Wed May 25 23:51:56 CDT 2016


Private Name created ASTERISK-26063:
---------------------------------------

             Summary: ${PJSIP_HEADER(read,Call-ID)} does not work
                 Key: ASTERISK-26063
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26063
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 12.8.2
         Environment: Linux 64 bits
            Reporter: Private Name


I run the code below inside a b(handler) parameter in the Dial function.
The code is excuted but it does not return the header Call-ID, which I need to capture for billing purposes. I mean on the outbound channel. In the old SIP channel, there was a variable that held that information. No it is empty, and I guess the code below should read the header in question.

exten => s,n,Set(SIPCALLID=${PJSIP_HEADER(read,Call-ID)}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list