mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
fix spelling err
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5367 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8d0a8a0d47
commit
b590bbb555
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user