Revision
16888
Author
brian
Date
2010-03-03 16:12:35 -0600 (Wed, 03 Mar 2010)

Log Message

MODENDP-296

Modified Paths

Diff

Modified: freeswitch/trunk/conf/sip_profiles/external.xml (16887 => 16888)


--- freeswitch/trunk/conf/sip_profiles/external.xml	2010-03-03 21:28:51 UTC (rev 16887)
+++ freeswitch/trunk/conf/sip_profiles/external.xml	2010-03-03 22:12:35 UTC (rev 16888)
@@ -25,7 +25,7 @@
     <param name="sip-port" value="$${external_sip_port}"/>
     <param name="dialplan" value="XML"/>
     <param name="context" value="public"/>
-    <param name="dtmf-duration" value="100"/>
+    <param name="dtmf-duration" value="2000"/>
     <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
     <param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/>
     <param name="hold-music" value="$${hold_music}"/>

Modified: freeswitch/trunk/conf/sip_profiles/internal-ipv6.xml (16887 => 16888)


--- freeswitch/trunk/conf/sip_profiles/internal-ipv6.xml	2010-03-03 21:28:51 UTC (rev 16887)
+++ freeswitch/trunk/conf/sip_profiles/internal-ipv6.xml	2010-03-03 22:12:35 UTC (rev 16888)
@@ -13,7 +13,7 @@
     <!-- port to bind to for sip traffic -->
     <param name="sip-port" value="$${internal_sip_port}"/>
     <param name="dialplan" value="XML"/>
-    <param name="dtmf-duration" value="100"/>
+    <param name="dtmf-duration" value="2000"/>
     <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
     <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>
     <param name="use-rtp-timer" value="true"/>

Modified: freeswitch/trunk/conf/sip_profiles/internal.xml (16887 => 16888)


--- freeswitch/trunk/conf/sip_profiles/internal.xml	2010-03-03 21:28:51 UTC (rev 16887)
+++ freeswitch/trunk/conf/sip_profiles/internal.xml	2010-03-03 22:12:35 UTC (rev 16888)
@@ -48,7 +48,7 @@
     <!-- port to bind to for sip traffic -->
     <param name="sip-port" value="$${internal_sip_port}"/>
     <param name="dialplan" value="XML"/>
-    <param name="dtmf-duration" value="100"/>
+    <param name="dtmf-duration" value="2000"/>
     <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
     <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>
     <param name="rtp-timer-name" value="soft"/>

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (16887 => 16888)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	2010-03-03 21:28:51 UTC (rev 16887)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	2010-03-03 22:12:35 UTC (rev 16888)
@@ -2477,7 +2477,7 @@
 						profile->challenge_realm = switch_core_strdup(profile->pool, val);
 					} else if (!strcasecmp(var, "dtmf-duration")) {
 						uint32_t dur = atoi(val);
-						if (dur > switch_core_min_dtmf_duration(0) && dur < switch_core_max_dtmf_duration(0)) {
+						if (dur >= switch_core_min_dtmf_duration(0) && dur <= switch_core_max_dtmf_duration(0)) {
 							profile->dtmf_duration = dur;
 						} else {
 							profile->dtmf_duration = SWITCH_DEFAULT_DTMF_DURATION;
@@ -3259,7 +3259,7 @@
 						profile->challenge_realm = switch_core_strdup(profile->pool, val);
 					} else if (!strcasecmp(var, "dtmf-duration")) {
 						uint32_t dur = atoi(val);
-						if (dur > switch_core_min_dtmf_duration(0) && dur < switch_core_max_dtmf_duration(0)) {
+						if (dur >= switch_core_min_dtmf_duration(0) && dur <= switch_core_max_dtmf_duration(0)) {
 							profile->dtmf_duration = dur;
 						} else {
 							profile->dtmf_duration = SWITCH_DEFAULT_DTMF_DURATION;