The speech detector never stops working.&nbsp; The collect input just pauses to wait for some input.<br>It can catch the event any time a file is playing or that collect input is called.<br><br><br><div class="gmail_quote">On Sat, Nov 15, 2008 at 1:19 PM,  <span dir="ltr">&lt;<a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font face="Arial, Helvetica, sans-serif">Session.collectInput looks like it has a fixed timeout setting which blocks the channel until the timeout expires.<br>

<br>
I&#39;ve been informed that appears to be the case from a brief examination of </font>how speech is collected<font face="Arial, Helvetica, sans-serif">.</font>
<font face="Arial, Helvetica, sans-serif">S</font>WITCH_DECLARE(switch_status_t) switch_ivr_collect_digits_callback&nbsp;<br>
<font face="Arial, Helvetica, sans-serif">seems to</font> use a fixed timeout to cancel recording. <font face="Arial, Helvetica, sans-serif">??</font><br>


            <font face="Arial, Helvetica, sans-serif"><br>
Is it possible to set-up a &quot;relative&quot; timeout which is based on the time from when the last valid sound was recognized as in choosing toppings from a list of 20 toppings in the pizza demo? This situation involves an indeterminate number of valid sounds (toppings) and thus is unlike the dtmf example give in&nbsp; <a href="http://wiki.freeswitch.org/wiki/Session_collectInput" target="_blank">http://wiki.freeswitch.org/wiki/Session_collectInput</a> where a counter in the callback is also used to determine when to unblock the channel.<br>

<br>
Mark.<br>
<br>
&nbsp; <br>
</font><div><br><font style="color: black; font-family: ARIAL,SAN-SERIF; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><hr style="margin-top: 10px;">
Instant access to the latest &amp; most popular FREE games while you browse with the Games Toolbar - <a href="http://pr.atwola.com/promoclk/100000075x1212904500x1200818240/aol?redir=http://toolbar.aol.com/games/download.html?ncid=emlweusdown00000004" target="_blank">Download Now!</a> </font></div>

<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>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>