[Freeswitch-users] Relative timeout in Session.collectInput?

Anthony Minessale anthony.minessale at gmail.com
Sun Nov 16 08:40:34 PST 2008


The speech detector never stops working.  The collect input just pauses to
wait for some input.
It can catch the event any time a file is playing or that collect input is
called.


On Sat, Nov 15, 2008 at 1:19 PM, <mszlazak at aol.com> wrote:

> Session.collectInput looks like it has a fixed timeout setting which blocks
> the channel until the timeout expires.
>
> I've been informed that appears to be the case from a brief examination of how
> speech is collected. SWITCH_DECLARE(switch_status_t)
> switch_ivr_collect_digits_callback
> seems to use a fixed timeout to cancel recording. ??
>
> 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  http://wiki.freeswitch.org/wiki/Session_collectInputwhere a counter in the callback is also used to determine when to unblock
> the channel.
>
> Mark.
>
>
>
> ------------------------------
> Instant access to the latest & most popular FREE games while you browse
> with the Games Toolbar - Download Now!<http://pr.atwola.com/promoclk/100000075x1212904500x1200818240/aol?redir=http://toolbar.aol.com/games/download.html?ncid=emlweusdown00000004>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081116/21038ff5/attachment-0002.html 


More information about the FreeSWITCH-users mailing list