]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
params have dashes in them
authorBrian West <brian@freeswitch.org>
Mon, 14 Dec 2009 16:39:15 +0000 (16:39 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 14 Dec 2009 16:39:15 +0000 (16:39 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15945 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/autoload_configs/switch.conf.xml
src/switch_core.c

index 2e53021e77b339bc1243ab1fa156530d6825f2a9..ff44243303efe846e1cf17073993ae4f38e7e308 100644 (file)
     <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:
index e10489bf8d75029b1a1f1c314fd61a8691d9f06a..d7b4600a33a70f2117c6a55452651023cc736a76 100644 (file)
@@ -1392,17 +1392,17 @@ static void switch_load_core_config(const char *file)
                                        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);