]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix echo
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 5 Oct 2007 00:05:41 +0000 (00:05 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 5 Oct 2007 00:05:41 +0000 (00:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5809 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c
src/switch_ivr.c

index 0370c131fe6e64354a0883ddd1748cf8467cce18..801ab1f6e79d7688a2b86bf1b8b64b8f1d2c95f4 100644 (file)
@@ -949,7 +949,7 @@ switch_status_t sofia_glue_activate_rtp(private_object_t *tech_pvt)
                        int len = atoi(val);
                        
                        if (len < 100 || len > 1000) {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Jitterbuffer spec [%d] myst be between 100 and 1000\n", len);
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Jitterbuffer spec [%d] must be between 100 and 1000\n", len);
                        } else {
                                int qlen;
 
index 156252501b00f937a8462f1ca30f86ab563d0ed7..0ad234d6eaa8efa51b1dae9f024ac4d5c9e92927 100644 (file)
@@ -1521,8 +1521,8 @@ SWITCH_DECLARE(void) switch_ivr_delay_echo(switch_core_session_t *session, uint3
        uint32_t interval, samples;
        uint32_t ts = 0;
 
-       if (delay_ms < 100 || delay_ms > 10000) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Jitterbuffer spec [%d] myst be between 100 and 10000\n", delay_ms);
+       if (delay_ms < 1 || delay_ms > 10000) {
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid delay [%d] must be between 1 and 10000\n", delay_ms);
                return;
        }