[svn-commits] rizzo: branch rizzo/astobj2 r47505 - /team/rizzo/astobj2/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Nov 12 07:55:58 MST 2006


Author: rizzo
Date: Sun Nov 12 08:55:58 2006
New Revision: 47505

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47505
Log:
merge version 47475, add a bit of debugging.


Modified:
    team/rizzo/astobj2/channels/chan_sip.c

Modified: team/rizzo/astobj2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/channels/chan_sip.c?view=diff&rev=47505&r1=47504&r2=47505
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Sun Nov 12 08:55:58 2006
@@ -2107,6 +2107,8 @@
 		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);
 		pvt_unref(p);
 	} else 



More information about the svn-commits mailing list