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.
Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - Download Now!
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org