[Freeswitch-svn] [commit] r9915 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN brian at freeswitch.org
Thu Oct 9 13:28:34 EDT 2008


Author: brian
Date: Thu Oct  9 13:28:32 2008
New Revision: 9915

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
remove extra debug not needed

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Thu Oct  9 13:28:32 2008
@@ -72,7 +72,6 @@
 {
 	if (status >= 300 && sip && sip->sip_call_id) {
 		char *sql;
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "delete subscriptions for failed notify\n");
 		sql = switch_mprintf("delete from sip_subscriptions where call_id='%q'", sip->sip_call_id->i_id);
 		switch_assert(sql != NULL);
 		sofia_glue_execute_sql(profile, &sql, SWITCH_TRUE);
@@ -195,12 +194,12 @@
 			}
 		}
 	}
-
+#if 0
 	if (status != 100 && status != 200) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "event [%s] status [%d][%s] session: %s\n",
 						  nua_event_name(event), status, phrase, session ? switch_channel_get_name(channel) : "n/a");
 	}
-
+#endif
 	if (session) {
 		switch_core_session_signal_lock(session);
 



More information about the Freeswitch-svn mailing list