[Freeswitch-svn] [commit] r5367 - freeswitch/trunk/src/mod/endpoints/mod_wanpipe

Freeswitch SVN anthm at freeswitch.org
Thu Jun 14 22:48:20 EDT 2007


Author: anthm
Date: Thu Jun 14 22:48:20 2007
New Revision: 5367

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c

Log:
fix spelling err

Modified: freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c	Thu Jun 14 22:48:20 2007
@@ -111,7 +111,7 @@
 	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 @@
 		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 @@
 				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);
 			}
 		}
 	}



More information about the Freeswitch-svn mailing list