[asterisk-commits] oej: branch 1.4 r47474 - /branches/1.4/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Nov 10 14:36:49 MST 2006


Author: oej
Date: Fri Nov 10 15:36:49 2006
New Revision: 47474

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47474
Log:
Add debug output while trying to trace bug in bug report

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=47474&r1=47473&r2=47474
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Fri Nov 10 15:36:49 2006
@@ -1969,10 +1969,11 @@
 		ast_log(LOG_WARNING, "Autodestruct on dialog '%s' with owner in place (Method: %s)\n", p->callid, sip_methods[p->method].text);
 		ast_queue_hangup(p->owner);
 	} else if (p->refer) {
+		if (option_debug > 2)
+			ast_log(LOG_DEBUG, "Finally hanging up channel after transfer: %s\n", p->callid);
 		transmit_request_with_auth(p, SIP_BYE, 0, XMIT_RELIABLE, 1);
-	} else {
+	} else
 		sip_destroy(p);
-	}
 	return 0;
 }
 



More information about the asterisk-commits mailing list