]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix of MODENDP-22
authorMichael Jerris <mike@jerris.com>
Mon, 6 Aug 2007 17:04:08 +0000 (17:04 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 6 Aug 2007 17:04:08 +0000 (17:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5570 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_wanpipe/mod_wanpipe.c

index 782e53b67763cb27841f6bd8d92692336b1c47d4..3e9ede059c329e0a73ac02b9765856d139552f50 100644 (file)
@@ -1103,7 +1103,7 @@ static switch_call_cause_t wanpipe_outgoing_channel(switch_core_session_t *sessi
                                if (num && *num > 47 && *num < 58) {
                                        span = atoi(num);
                                } else {
-                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invlid Syntax\n");
+                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Syntax\n");
                                        switch_core_session_destroy(new_session);
                                        cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
                                        goto error;
@@ -1119,14 +1119,14 @@ static switch_call_cause_t wanpipe_outgoing_channel(switch_core_session_t *sessi
                                } else if (num && *num > 47 && *num < 58) {
                                        callno = atoi(num);
                                } else {
-                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invlid Syntax\n");
+                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Syntax\n");
                                        switch_core_session_destroy(new_session);
                                        cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
                                        goto error;
                                }
                                caller_profile->destination_number = p;
                        } else {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invlid Syntax\n");
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Syntax\n");
                                switch_core_session_destroy(new_session);
                                cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
                                goto error;