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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 14 08:15:30 MST 2006


Author: oej
Date: Wed Jun 14 10:15:29 2006
New Revision: 34126

URL: http://svn.digium.com/view/asterisk?rev=34126&view=rev
Log:
Add some debug logging

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=34126&r1=34125&r2=34126&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Jun 14 10:15:29 2006
@@ -11627,7 +11627,8 @@
 					if (!p->refer) {
 						ast_log(LOG_WARNING, "Notify answer on an owned channel? - %s\n", p->owner->name);
 						ast_queue_hangup(p->owner);
-					}
+					} else if (option_debug > 3) 
+						ast_log(LOG_DEBUG, "Got OK on REFER Notify message\n");
 				} else {
 					if (p->subscribed == NONE) 
 						ast_set_flag(&p->flags[0], SIP_NEEDDESTROY); 



More information about the asterisk-commits mailing list