mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
chan_sip: Fix order of variables specified in SIPNotify action
Prior to this patch, sequential variables would be ordered in reverse from the order specified in the manager action. Review: https://reviewboard.asterisk.org/r/3588/ ........ Merged revisions 415359 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 415390 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 415410 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@415411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -15073,7 +15073,7 @@ static int transmit_notify_with_sipfrag(struct sip_pvt *p, int cseq, char *messa
|
||||
static int manager_sipnotify(struct mansession *s, const struct message *m)
|
||||
{
|
||||
const char *channame = astman_get_header(m, "Channel");
|
||||
struct ast_variable *vars = astman_get_variables(m);
|
||||
struct ast_variable *vars = astman_get_variables_order(m, ORDER_NATURAL);
|
||||
struct sip_pvt *p;
|
||||
struct ast_variable *header, *var;
|
||||
|
||||
|
Reference in New Issue
Block a user