Fix ordering of output for a ChannelUpdate manager event.
authorJoshua Colp <jcolp@digium.com>
Wed, 18 Feb 2009 17:11:52 +0000 (17:11 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 18 Feb 2009 17:11:52 +0000 (17:11 +0000)
(closes issue #14497)
Reported by: vinsik
Patches:
      chan_update_fix-chan_sip.c.diff uploaded by vinsik (license 623)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177005 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 6cb781e..9864ea2 100644 (file)
@@ -16656,7 +16656,7 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru
                                if (sip_cfg.callevents)
                                        manager_event(EVENT_FLAG_SYSTEM, "ChannelUpdate",
                                                "Channel: %s\r\nChanneltype: %s\r\nUniqueid: %s\r\nSIPcallid: %s\r\nSIPfullcontact: %s\r\nPeername: %s\r\n",
-                                               p->owner->name, p->owner->uniqueid, "SIP", p->callid, p->fullcontact, p->peername);
+                                               p->owner->name, "SIP", p->owner->uniqueid, p->callid, p->fullcontact, p->peername);
                        } else {        /* RE-invite */
                                ast_queue_frame(p->owner, &ast_null_frame);
                        }