Thanks for the response, although this sadly isn't the cause.<div><br></div><div><font face="sans-serif"><span style="line-height:19.03333282470703px">timeout uses milliseconds, of which 10000 which would equate to 10 seconds.</span></font></div>
<div><font face="sans-serif"><span style="line-height:19.016666412353516px"><br></span></font></div><div><font face="sans-serif"><span style="line-height:19.016666412353516px">Plus, </span><span style="line-height:19px">digit-len is set to 1, so it should automatically search for an entry after the first button push.</span></font></div>
<div><font face="sans-serif"><span style="line-height:19px"><br></span></font></div><div><font face="sans-serif"><span style="line-height:19px">Cal<br></span></font><br><div class="gmail_quote">On Fri, Dec 7, 2012 at 4:29 PM, Guillermo Ruiz Camauer <span dir="ltr"><<a href="mailto:grcamauer@gmail.com" target="_blank">grcamauer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Are you sure it's not timing out? Change the timeout="10000" to timeout="30000" and see if your lag is now 3 seconds.</div>
<div> </div><div> </div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Fri, Dec 7, 2012 at 1:23 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr"><<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
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> <menu name="ivr.2"</div><div> greet-long="phrase:demo_ivr_main_menu"</div><div> greet-short="phrase:demo_ivr_main_menu"</div><div> </div>
<div> exit-sound="phrase:demo_ivr_main_menu"</div><div> confirm-macro=""</div><div> confirm-key=""</div><div> confirm-attempts="3"</div>
<div> timeout="10000"</div><div> inter-digit-timeout="10"</div><div> max-failures="3"</div><div> max-timeouts="3"</div><div> digit-len="1"></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> 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 '2'</div><div>2012-12-07 16:17:21.872105 [DEBUG] switch_ivr_menu.c:579 IVR menu 'ivr.2' caught invalid input '2'</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'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 "16:17:21.872105", but didn't start playing the next audio until "16:17:22.872155".</div>
<div><br></div><div>The difference between the two is almost exactly 1 second, which makes me think maybe there's a config option somewhere that isn'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><font color="#888888"><div><br>Cal</div></font></span></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Guillermo Ruiz Camauer<br><br>
</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></div>