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><div><br>Cal</div></div>