From b590bbb555529b5ee4905881409017b18b663b6f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 15 Jun 2007 02:48:20 +0000 Subject: [PATCH] fix spelling err git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5367 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_wanpipe/mod_wanpipe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c index fffd94400c..4cfa1ab6eb 100644 --- a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c +++ b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c @@ -111,7 +111,7 @@ static struct { uint32_t samples_per_frame; int dtmf_on; int dtmf_off; - int supress_dtmf_tone; + int suppres_dtmf_tone; int configured_spans; int configured_boost_spans; char *dialplan; @@ -795,7 +795,7 @@ static switch_status_t wanpipe_read_frame(switch_core_session_t *session, switch if (globals.debug) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "DTMF DETECTED: [%s]\n", digit_str); } - if (globals.supress_dtmf_tone) { + if (globals.suppres_dtmf_tone) { tech_pvt->skip_read_frames = 20; } } @@ -2220,8 +2220,8 @@ static switch_status_t config_wanpipe(int reload) globals.dtmf_off = atoi(val); } else if (!strcmp(var, "dialplan")) { set_global_dialplan(val); - } else if (!strcmp(var, "supress-dtmf-tone")) { - globals.supress_dtmf_tone = switch_true(val); + } else if (!strcmp(var, "suppres-dtmf-tone")) { + globals.suppres_dtmf_tone = switch_true(val); } } }