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

mszlazak at aol.com mszlazak at aol.com
Sat Nov 15 11:19:05 PST 2008


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_collectInput where a counter in the callback is also used to determine when to unblock the channel.

Mark.

? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081115/d7930a63/attachment-0002.html 


More information about the FreeSWITCH-users mailing list