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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Jun 10 06:01:57 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-26105:
-----------------------------------

    Assignee: Eric Jacksch
      Status: Waiting for Feedback  (was: Triage)

> pjsip: PJSIP_HEADER doesn't add 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
>            Assignee: 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