[asterisk-commits] trunk r20903 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Apr 17 06:52:56 MST 2006


Author: oej
Date: Mon Apr 17 08:52:53 2006
New Revision: 20903

URL: http://svn.digium.com/view/asterisk?rev=20903&view=rev
Log:
Add more history on masqs

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=20903&r1=20902&r2=20903&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Apr 17 08:52:53 2006
@@ -2859,11 +2859,12 @@
 	p = newchan->tech_pvt;
 
 	ast_mutex_lock(&p->lock);
+	append_history(p, "Masq", "Old channel: %s\n", oldchan->name);
+	append_history(p, "Masq (cont)", "...new owner: %s\n", p->owner->name);
 	if (p->owner != oldchan)
 		ast_log(LOG_WARNING, "old channel wasn't %p but was %p\n", oldchan, p->owner);
 	else {
 		p->owner = newchan;
-		append_history(p, "Masq", "Old channel: %s\n", oldchan->name);
 		ret = 0;
 	}
 	ast_mutex_unlock(&p->lock);



More information about the asterisk-commits mailing list