[asterisk-bugs] [JIRA] (ASTERISK-28684) SIPAddHeader ignored when sending sip MESSAGE

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Mon Jan 13 05:19:25 CST 2020


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

Joshua C. Colp closed ASTERISK-28684.
-------------------------------------

    Resolution: Not A Bug

The SIPAddHeader dialplan application is only for calls. Messaging provides MESSAGE_DATA[1] which can be used with chan_sip to set additional headers.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_MESSAGE_DATA

> SIPAddHeader ignored when sending sip MESSAGE
> ---------------------------------------------
>
>                 Key: ASTERISK-28684
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28684
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Messaging
>    Affects Versions: 16.2.1
>         Environment: Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
>            Reporter: Frank Matano
>            Severity: Minor
>
> When including a custom sip header before invoking MessageSend it will be ignored.
> {noformat}
> exten => _[a-z].,1,SIPAddHeader(X-hash: blahblah)
> exten => _[a-z].,n,MessageSend(sip:${ACTUALTO},"${EXTEN}" <sip:${EXTEN}@${SYSTEMNAME}>)
> {noformat}



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



More information about the asterisk-bugs mailing list