[asterisk-bugs] [JIRA] (ASTERISK-26105) PJSIP_HEADER doesn't set SIP header

Eric Jacksch (JIRA) noreply at issues.asterisk.org
Thu Jun 9 19:05:56 CDT 2016


Eric Jacksch created ASTERISK-26105:
---------------------------------------

             Summary: PJSIP_HEADER doesn't set SIP header
                 Key: ASTERISK-26105
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26105
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 13.9.1
            Reporter: Eric Jacksch


I'm attempting to set a custom SIP header within a pre-dial macro:

exten => s,n,Set(PJSIP_HEADER(add,X-ANVEO-LCR)=routes=1001,1012,20)

Asterisk debug output shows the add executing:

-- Executing [s at macro-dialout-trunk-predial-hook:3] Set("PJSIP/5084-00000008", "PJSIP_HEADER(add,X-ANVEO-LCR)=routes=1001,1012,20") in new stack

But the header does not appear in the SIP invite as verified by a pack capture.



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



More information about the asterisk-bugs mailing list