options for input

2 views
Skip to first unread message

Andrew Herron

unread,
Feb 22, 2010, 8:21:55 PM2/22/10
to teleku
Is there a way to specify the max silence for input? What's the
default?

How possible would it be to specify a 'stop' keyword or entry. For
example, most systems wait until you hit '#', i.e., conference call
systems.

Chris Matthieu

unread,
Feb 22, 2010, 8:41:56 PM2/22/10
to tel...@googlegroups.com
Hi Andrew,

I'm excited that your hacking on Teleku already!

The max silence on an input is currently defaulted to 2 seconds.  I'll add a maxsilence parameter like on the record tag in my next release.  You can add it now if you would like and the current version will simply ignore it.  The input tag by default will accept digits and use the # key to terminate the collection.  I have conference calls also on the roadmap.

Regards,
Chris

Andrew Herron

unread,
Feb 22, 2010, 9:20:24 PM2/22/10
to tel...@googlegroups.com
So far, from my testing, a blank input tag will only accept spoken
numbers as input, not actual words. Is this correct?

-Andrew

Chris Matthieu

unread,
Feb 22, 2010, 9:32:17 PM2/22/10
to tel...@googlegroups.com
Yes, input tags by default recognize touch tone or spoken numerical input.  Words must be defined in advance using the options parameter such as:

<input options="1,2,yes,no,exit,menu">http://acme.com/processdigits.php</input>
Reply all
Reply to author
Forward
0 new messages