[asterisk-bugs] [JIRA] (ASTERISK-28684) SIPAddHeader ignored when sending sip MESSAGE
Sean Bright (JIRA)
noreply at issues.asterisk.org
Mon Jan 13 12:40:25 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-28684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249334#comment-249334 ]
Sean Bright edited comment on ASTERISK-28684 at 1/13/20 12:40 PM:
------------------------------------------------------------------
The SIPAddHeader dialplan application is only for calls. Messaging provides [{{MESSAGE_DATA()}}|https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_MESSAGE_DATA] which can be used with chan_sip to set additional headers.
was (Author: jcolp):
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