]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
reduce warnings to debug
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 5 Jan 2011 22:55:06 +0000 (16:55 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 5 Jan 2011 22:57:00 +0000 (16:57 -0600)
src/switch_channel.c
src/switch_core_io.c

index 672c47d38b6485683bcb993f9e888a79a57fd632..9c696688099268e18b7f451cdcecfe1ff34d4c7e 100644 (file)
@@ -362,11 +362,11 @@ SWITCH_DECLARE(switch_status_t) switch_channel_queue_dtmf(switch_channel_t *chan
                int x = 0;
 
                if (new_dtmf.duration > switch_core_max_dtmf_duration(0)) {
-                       switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_WARNING, "%s EXCESSIVE DTMF DIGIT [%c] LEN [%d]\n",
+                       switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_DEBUG1, "%s EXCESSIVE DTMF DIGIT [%c] LEN [%d]\n",
                                                          switch_channel_get_name(channel), new_dtmf.digit, new_dtmf.duration);
                        new_dtmf.duration = switch_core_max_dtmf_duration(0);
                } else if (new_dtmf.duration < switch_core_min_dtmf_duration(0)) {
-                       switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_WARNING, "%s SHORT DTMF DIGIT [%c] LEN [%d]\n",
+                       switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_DEBUG1, "%s SHORT DTMF DIGIT [%c] LEN [%d]\n",
                                                          switch_channel_get_name(channel), new_dtmf.digit, new_dtmf.duration);
                        new_dtmf.duration = switch_core_min_dtmf_duration(0);
                } else if (!new_dtmf.duration) {
index 3208654cc923a765093801c0b0cdc14262b1eefa..decb587ef76e7704f8045e3d63b627e313ce50b5 100644 (file)
@@ -1265,11 +1265,11 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_recv_dtmf(switch_core_sessio
        new_dtmf = *dtmf;
 
        if (new_dtmf.duration > switch_core_max_dtmf_duration(0)) {
-               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "%s EXCESSIVE DTMF DIGIT [%c] LEN [%d]\n",
+               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG1, "%s EXCESSIVE DTMF DIGIT [%c] LEN [%d]\n",
                                                  switch_channel_get_name(session->channel), new_dtmf.digit, new_dtmf.duration);
                new_dtmf.duration = switch_core_max_dtmf_duration(0);
        } else if (new_dtmf.duration < switch_core_min_dtmf_duration(0)) {
-               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "%s SHORT DTMF DIGIT [%c] LEN [%d]\n",
+               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG1, "%s SHORT DTMF DIGIT [%c] LEN [%d]\n",
                                                  switch_channel_get_name(session->channel), new_dtmf.digit, new_dtmf.duration);
                new_dtmf.duration = switch_core_min_dtmf_duration(0);
        } else if (!new_dtmf.duration) {