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

Andrew Nagy (JIRA) noreply at issues.asterisk.org
Wed Jun 28 16:27:57 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237581#comment-237581 ] 

Andrew Nagy commented on ASTERISK-26105:
----------------------------------------

This is a FreePBX system and the user misunderstands how to utilize FreePXB contexts with PJSIP.

See https://community.freepbx.org/t/pjsip-still-has-bugs/42178/69?u=tm1000

> 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: Rusty Newton
>
> 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