Revision
15945
Author
brian
Date
2009-12-14 10:39:15 -0600 (Mon, 14 Dec 2009)

Log Message

 params have dashes in them 

Modified Paths

Diff

Modified: freeswitch/trunk/conf/autoload_configs/switch.conf.xml (15944 => 15945)


--- freeswitch/trunk/conf/autoload_configs/switch.conf.xml	2009-12-14 16:38:44 UTC (rev 15944)
+++ freeswitch/trunk/conf/autoload_configs/switch.conf.xml	2009-12-14 16:39:15 UTC (rev 15945)
@@ -24,25 +24,25 @@
     <param name="sessions-per-second" value="30"/>
     <!-- Default Global Log Level - value is one of debug,info,notice,warning,err,crit,alert -->
     <param name="loglevel" value="debug"/>
-	<!-- The min_dtmf_duration specifies the minimum DTMF duration to use on 
+	<!-- The min-dtmf-duration specifies the minimum DTMF duration to use on 
 	     outgoing events. Events shorter than this will be increased in duration
 		 to match min_dtmf_duration. You cannot configure a dtmf duration on a 
 		 profile that is less than this setting. You may increase this value,
 		 but cannot set it lower than 400. This value cannot exceed 
-		 max_dtmf_duration. -->
-    <!--<param name="min_dtmf_duration" value="400"/>-->
-	<!-- The max_dtmf_duration caps the playout of a DTMF event at the specified
+		 max-dtmf-duration. -->
+    <!--<param name="min-dtmf-duration" value="400"/>-->
+	<!-- The max-dtmf-duration caps the playout of a DTMF event at the specified
 	     duration. Events exceeding this duration will be truncated to this
 		 duration. You cannot configure a duration on a profile that exceeds
 		 this setting. This setting can be lowered, but cannot exceed 192000. 
 		 This setting cannot be set lower than min_dtmf_duration. -->
-    <!--<param name="max_dtmf_duration" value="192000"/>-->
+    <!--<param name="max-dtmf-duration" value="192000"/>-->
 	<!-- The default_dtmf_duration specifies the DTMF duration to use on
 	     originated DTMF events or on events that are received without a
 		 duration specified. This value can be increased or lowered. This
 		 value is lower-bounded by min_dtmf_duration and upper-bounded by
-		 max_dtmf_duration. -->
-    <!--<param name="default_dtmf_duration" value="2000"/>-->
+		 max-dtmf-duration\. -->
+    <!--<param name="default-dtmf-duration" value="2000"/>-->
     <!--
          If you want to send out voicemail notifications via Windows you'll need to change the mailer-app
          variable to the setting below:

Modified: freeswitch/trunk/src/switch_core.c (15944 => 15945)


--- freeswitch/trunk/src/switch_core.c	2009-12-14 16:38:44 UTC (rev 15944)
+++ freeswitch/trunk/src/switch_core.c	2009-12-14 16:39:15 UTC (rev 15945)
@@ -1392,17 +1392,17 @@
 					runtime.mailer_app_args = switch_core_strdup(runtime.memory_pool, val);
 				} else if (!strcasecmp(var, "sessions-per-second") && !zstr(val)) {
 					switch_core_sessions_per_second(atoi(val));
-				} else if (!strcasecmp(var, "max_dtmf_duration") && !zstr(val)) {
+				} else if (!strcasecmp(var, "max-dtmf-duration") && !zstr(val)) {
 					int tmp = atoi(val);
 					if (tmp > 0) {
 						switch_core_max_dtmf_duration((uint32_t) tmp);
 					}
-				} else if (!strcasecmp(var, "min_dtmf_duration") && !zstr(val)) {
+				} else if (!strcasecmp(var, "min-dtmf-duration") && !zstr(val)) {
 					int tmp = atoi(val);
 					if (tmp > 0) {
 						switch_core_min_dtmf_duration((uint32_t) tmp);
 					}
-				} else if (!strcasecmp(var, "default_dtmf_duration") && !zstr(val)) {
+				} else if (!strcasecmp(var, "default-dtmf-duration") && !zstr(val)) {
 					int tmp = atoi(val);
 					if (tmp > 0) {
 						switch_core_default_dtmf_duration((uint32_t) tmp);