[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:comment-tabpanel&focusedCommentId=230969#comment-230969 ] 

Joshua Colp commented on ASTERISK-26105:
----------------------------------------

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



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