<div dir="ltr"><div>The code in sofia looks at this specifically:<br></div><div>







<p class=""><span class="">#define </span><span class=""><b>SWITCH_DEFAULT_DTMF_DURATION</b></span><span class=""> 2000</span></p></div><div>







<p class=""><span class="">} </span><span class="">else</span><span class=""> </span><span class="">if</span><span class=""> (!strcasecmp(var, </span><span class="">&quot;</span><span class="">dtmf-d</span><span class="">uration&quot;</span><span class="">)) {                                                                                             </span></p>
<p class=""><span class=""> uint32_t</span><span class=""> </span><span class="">dur</span><span class=""> = atoi(val);                                                                                                               </span></p>
<p class=""><span class=""> </span><span class="">if</span><span class=""> (dur &gt;= switch_core_min_dtmf_duration(0) &amp;&amp; dur &lt;= switch_core_max_dtmf_duration(0)) {                                               </span></p>
<p class=""><span class="">   profile-&gt;dtmf_duration = dur;                                                                                                       </span></p>
<p class=""><span class=""> } </span><span class="">else</span><span class=""> {                                                                                                                                </span></p>
<p class=""><span class="">   profile-&gt;dtmf_duration = SWITCH_DEFAULT_DTMF_DURATION;                                                                              </span></p>
<p class=""><span class="">   switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, </span><span class="">&quot;Duration out of bounds, using default of %d!\n&quot;</span><span class="">, </span>SWITCH_DEFAULT_DTMF_DURATION);                                                                                    </p>
<p class=""><span class=""> }                                                                                                                                       </span>                                                                                                                                                                </p>
<p class=""><span class="">}</span></p><p class=""><span class="">So either you didn&#39;t reload it or you&#39;re seeing &#39;</span>Duration out of bounds, using default of 2000&#39; in your logs or you set it to something crazy in switch.conf.xml.</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 16, 2015 at 11:38 PM, Podrigal, Aron <span dir="ltr">&lt;<a href="mailto:aronp@guaranteedplus.com" target="_blank">aronp@guaranteedplus.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div><br></div><div>I&#39;m setting the dtmf-duration in my profile </div><div><br></div><div><b> &lt;param name=&quot;dtmf-duration&quot; value=&quot;800&quot;/&gt;</b><br></div><div><br></div><div><div>but freeswitch doesn&#39;t honor my setting when sending the dtmf</div></div><div><br></div><div><div><font face="monospace, monospace">2015-02-17 05:28:36.210973 [DEBUG] switch_ivr_bridge.c:470 Send signal sofia/internal/<a href="mailto:17183318463@198.24.59.141" target="_blank">17183318463@198.24.59.141</a> [BREAK]</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.230973 [DEBUG] switch_rtp.c:4346 Send start packet for [#] ts=93280 dur=160/160/2000 seq=39003 lw=93280</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.250973 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=320/320/2000 seq=39004 lw=93440</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.270973 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=480/480/2000 seq=39005 lw=93600</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.290980 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=640/640/2000 seq=39006 lw=93760</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.310975 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=800/800/2000 seq=39007 lw=93920</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.330975 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=960/960/2000 seq=39008 lw=94080</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.350973 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=1120/1120/2000 seq=39009 lw=94240</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.373149 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=1280/1280/2000 seq=39010 lw=94400</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.390974 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=1440/1440/2000 seq=39011 lw=94560</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.410974 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=1600/1600/2000 seq=39012 lw=94720</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.430973 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=1760/1760/2000 seq=39013 lw=94880</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.450974 [DEBUG] switch_rtp.c:4245 Send middle packet for [#] ts=93280 dur=1920/1920/2000 seq=39014 lw=95040</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.470984 [DEBUG] switch_rtp.c:4245 Send end packet for [#] ts=93280 dur=2080/2080/2000 seq=39015 lw=95040</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.470984 [DEBUG] switch_rtp.c:4245 Send end packet for [#] ts=93280 dur=2080/2080/2000 seq=39016 lw=95040</font></div><div><font face="monospace, monospace">2015-02-17 05:28:36.470984 [DEBUG] switch_rtp.c:4245 Send end packet for [#] ts=93280 dur=2080/2080/2000 seq=39017 lw=95040</font></div></div><div><br></div><div><br></div><div>any help? Thanks</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>