[asterisk-bugs] [JIRA] (ASTERISK-28755) SIP/Stasis: SIP headers not transmitted in the "variables" field

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Fri Feb 28 13:23:25 CST 2020


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

Kevin Harwell commented on ASTERISK-28755:
------------------------------------------

[~PrescomJA] I have some patches up for [review|https://gerrit.asterisk.org/c/asterisk/+/13843]. If you are able it'd be much appreciated if you could test it and make sure stuff is working as expected now.

Thanks!

> SIP/Stasis: SIP headers not transmitted in the "variables" field
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-28755
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28755
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Core/Stasis
>    Affects Versions: 16.3.0
>            Reporter: Jean Aunis - Prescom
>            Assignee: Kevin Harwell
>
> SIP headers received in an out-of-call SIP MESSAGE can be accessed throw the MESSAGE_DATA function. I expected to also find them in the "variables" field of the TextMessageReceived event.
> But it's not the case. The variables list remains empty for inbound SIP messages (tested with both chan_sip and chan_pjsip).
> I think It may be due to an improper usage of the "used" data field of the msg_data structure :
> {code}
> struct msg_data {
> 	AST_DECLARE_STRING_FIELDS(
> 		AST_STRING_FIELD(name);
> 		AST_STRING_FIELD(value);
> 	);
> 	unsigned int send; /* Whether to send out on outbound messages */
> };
> {code}



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



More information about the asterisk-bugs mailing list