<div> <font face="Arial, Helvetica, sans-serif">I'll follow up more on this but before I do, is their a need to re-sample my audio for pocketsphinx?<br>
My soft-phone is X-lite and the codec is ALC883.</font><br>
</div>

<div> <br>
</div>

<div> <br>
</div>
-----Original Message-----<br>
From: Anthony Minessale &lt;anthony.minessale@gmail.com&gt;<br>
To: freeswitch-users@lists.freeswitch.org<br>
Sent: Sun, 16 Nov 2008 8:40 am<br>
Subject: Re: [Freeswitch-users] Relative timeout in Session.collectInput?<br>
<br>






<div id="AOLMsgPart_3_81348392-cf95-48c9-82fb-44f68fcb76df">

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'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 "relative" 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 target="_blank" href="http://wiki.freeswitch.org/wiki/Session_collectInput">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 target="_blank" href="http://pr.atwola.com/promoclk/100000075x1212904500x1200818240/aol?redir=http://toolbar.aol.com/games/download.html?ncid=emlweusdown00000004">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 target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>

<br>
</blockquote></div>
<br>
<br clear="all"><br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a target="_blank" 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 target="_blank" 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 target="_blank" 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>


</div>
 <!-- end of AOLMsgPart_3_81348392-cf95-48c9-82fb-44f68fcb76df -->


<div id="AOLMsgPart_4_81348392-cf95-48c9-82fb-44f68fcb76df" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">

<pre style="font-size: 9pt;"><tt>_______________________________________________<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>
</tt></pre>
</div>
 <!-- end of AOLMsgPart_4_81348392-cf95-48c9-82fb-44f68fcb76df -->

<div id='MAILCIADB046-5c5249212a993ae' class='aol_ad_footer'><BR/><FONT style="color: black; font: normal 10pt ARIAL, SAN-SERIF;"><HR style="MARGIN-TOP: 10px"></HR>Instant access to the latest & 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">Download Now!</a> </div>