[Freeswitch-users] Lua playAndCollectDigits timeout problem. Possible bug
Pete Kelly
pkelly at gmail.com
Tue Mar 22 17:31:39 MSK 2011
On 18 March 2011 16:52, Anthony Minessale <anthony.minessale at gmail.com>wrote:
> there is a new final param of digit timeout once you type something.
> In older versions it was set to 0 by default meaning forever but on
> latest its equiv to the global timeout.
>
> add another ,10 to your arg list
>
That worked, thank you again for your help. To clarify are all timeouts in
this function in seconds? I was under the impression (no idea why) that they
would be milliseconds
>
>
> On Fri, Mar 18, 2011 at 10:57 AM, Pete Kelly <pkelly at gmail.com> wrote:
> > Hi, I am trying to invoke a timeout using the
> session:playAndCollectDigits
> > lua function, this is the syntax I am using:
> > call_number = session:playAndGetDigits(1, 20, 1, 10000, "#*",
> > "some-file.wav", "", "[0-9]{1,}");
> > If the user doesn't hit * or # I need the function to return after 10
> > seconds.
> > However this timeout seems to only kick in if I start entering DTMF
> *after*
> > the initial prompt has played. If I start entering DTMF during the
> prompt,
> > the function never returns due to timeout.
> > Has anyone else seen/experienced this ?
> > Pete
> > _______________________________________________
> > 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/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110322/aa6e7513/attachment.html
More information about the FreeSWITCH-users
mailing list