[svn-commits] trunk r27892 - /trunk/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed May 17 11:19:17 MST 2006


Author: oej
Date: Wed May 17 13:19:17 2006
New Revision: 27892

URL: http://svn.digium.com/view/asterisk?rev=27892&view=rev
Log:
Adding a debug line

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=27892&r1=27891&r2=27892&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed May 17 13:19:17 2006
@@ -9902,6 +9902,8 @@
 {
 	/* Go ahead and send bye at this point */
 	if (ast_test_flag(&p->flags[0], SIP_PENDINGBYE)) {
+		if (option_debug)
+			ast_log(LOG_DEBUG, "Sending pending bye on '%s'\n", p->callid);
 		transmit_request_with_auth(p, SIP_BYE, 0, XMIT_RELIABLE, TRUE);
 		ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);	
 		ast_clear_flag(&p->flags[0], SIP_NEEDREINVITE);	



More information about the svn-commits mailing list