]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove extra debug not needed
authorBrian West <brian@freeswitch.org>
Thu, 9 Oct 2008 17:28:32 +0000 (17:28 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 9 Oct 2008 17:28:32 +0000 (17:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9915 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index fc03b5acd49e3608aa6cc4791a0be1e6e0af2718..2846e9bcbf89908ca10248c037ae23cdeefdc71c 100644 (file)
@@ -72,7 +72,6 @@ void sofia_handle_sip_r_notify(switch_core_session_t *session, int status,
 {
        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 @@ void sofia_event_callback(nua_event_t event,
                        }
                }
        }
-
+#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);