<div>Are you sure it&#39;s not timing out?  Change the timeout=&quot;10000&quot; to timeout=&quot;30000&quot; and see if your lag is now 3 seconds.</div><div> </div><div> </div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Dec 7, 2012 at 1:23 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr">&lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<div><br></div><div>There appears to be a delay of 1 second between menu events within an IVR (i.e. play long, invalid option, play short).</div><div><div><br></div><div>We have the following IVR menu;</div><div><div>

<br></div><div>          &lt;menu name=&quot;ivr.2&quot;</div><div>              greet-long=&quot;phrase:demo_ivr_main_menu&quot;</div><div>              greet-short=&quot;phrase:demo_ivr_main_menu&quot;</div><div>              </div>

<div>              exit-sound=&quot;phrase:demo_ivr_main_menu&quot;</div><div>              confirm-macro=&quot;&quot;</div><div>              confirm-key=&quot;&quot;</div><div>              confirm-attempts=&quot;3&quot;</div>

<div>              timeout=&quot;10000&quot;</div><div>              inter-digit-timeout=&quot;10&quot;</div><div>              max-failures=&quot;3&quot;</div><div>              max-timeouts=&quot;3&quot;</div><div>              digit-len=&quot;1&quot;&gt;</div>

</div><div><br></div><div>In the above example, any option will result in an invalid selection being met.</div><div><br></div><div>However, FS seems to take its sweet time getting from the point of a user pushing a button, to actually playing the next audio.</div>

<div><br></div><div><div><div>freeswitch@vded213&gt; 2012-12-07 16:17:21.752141 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:2240</div><div>2012-12-07 16:17:21.752141 [DEBUG] switch_ivr_play_say.c:1682 done playing file /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-welcome_to_freeswitch.wav</div>

<div>2012-12-07 16:17:21.872105 [DEBUG] switch_ivr_menu.c:395 digits &#39;2&#39;</div><div>2012-12-07 16:17:21.872105 [DEBUG] switch_ivr_menu.c:579 IVR menu &#39;ivr.2&#39; caught invalid input &#39;2&#39;</div><div>2012-12-07 16:17:22.872155 [DEBUG] switch_ivr_play_say.c:67 No language specified - Using [en]</div>

<div>2012-12-07 16:17:22.872155 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-welcome_to_freeswitch.wav] (en:en)</div><div>2012-12-07 16:17:22.872155 [DEBUG] switch_core_file.c:180 File /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-welcome_to_freeswitch.wav sample rate 48000 doesn&#39;t match requested rate 8000</div>

<div>2012-12-07 16:17:22.872155 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms</div></div></div><div><br></div><div>In the above, you can see the IVR knew the menu was invalid at &quot;16:17:21.872105&quot;, but didn&#39;t start playing the next audio until &quot;16:17:22.872155&quot;.</div>

<div><br></div><div>The difference between the two is almost exactly 1 second, which makes me think maybe there&#39;s a config option somewhere that isn&#39;t documented/obvious, or a hard coded delay.</div><div><br></div>

<div>Any advice on this would be much appreciated, slow/laggy menus are a pet hate of mine :/</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div><br>Cal</div></font></span></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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Guillermo Ruiz Camauer<br><br>
</div>