[Freeswitch-users] Lua playAndCollectDigits timeout problem. Possible bug

Anthony Minessale anthony.minessale at gmail.com
Fri Mar 18 19:52:25 MSK 2011


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


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



More information about the FreeSWITCH-users mailing list