[asterisk-commits] oej: branch oej/moremanager r180749 - /team/oej/moremanager/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 9 16:45:58 CDT 2009


Author: oej
Date: Mon Mar  9 16:45:55 2009
New Revision: 180749

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=180749
Log:
Add missing uniqueid

Modified:
    team/oej/moremanager/channels/chan_sip.c

Modified: team/oej/moremanager/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/team/oej/moremanager/channels/chan_sip.c?view=diff&rev=180749&r1=180748&r2=180749
==============================================================================
--- team/oej/moremanager/channels/chan_sip.c (original)
+++ team/oej/moremanager/channels/chan_sip.c Mon Mar  9 16:45:55 2009
@@ -4238,7 +4238,6 @@
 	manager_event(EVENT_FLAG_SYSTEM, "ChannelUpdate",
 		"Channel: %s\r\nUniqueid: %s\r\nChanneltype: %s\r\nSIPcallid: %s\r\nSIPfullcontact: %s\r\n",
 		tmp->name, tmp->uniqueid, "SIP", i->callid, i->fullcontact);
-
 	return tmp;
 }
 
@@ -16862,8 +16861,10 @@
 	ast_mutex_lock(&p->lock);
 	tmpc = sip_new(p, AST_STATE_DOWN, host);	/* Place the call */
 	manager_event(EVENT_FLAG_SYSTEM, "ChannelUpdate",
-		"Channel: %s\r\nChanneltype: %s\r\nSIPcallid: %s\r\nSIPfullcontact: %s\r\nPeername: %s\r\n",
-		p->owner? p->owner->name : "", "SIP", p->callid, p->fullcontact, p->peername);
+		"Channel: %s\r\nChanneltype: %s\r\nUniqueid: %s\r\nSIPcallid: %s\r\nSIPfullcontact: %s\r\nPeername: %s\r\n",
+		p->owner? p->owner->name : "", "SIP",  p->owner ? p->owner->uniqueid : "", p->callid, p->fullcontact, p->peername);
+
+
 	ast_mutex_unlock(&p->lock);
 	if (!tmpc)
 		sip_destroy(p);




More information about the asterisk-commits mailing list