[Freeswitch-users] PlayAndGetDigits query
Srini K
aksrini at hotmail.com
Fri Mar 7 10:18:12 MSK 2014
Hi,
Iam using Mod_Managed to PlayAndGetDigits.
It plays EnterZip.wav file and waits for 5 digit Zip code to be entered. No issues on succesful entry.
On invalid entry (within the retry limits) it plays InvalidZip.wav followed by EnterZip.wav. Is it the expected behaviour ?
On Invalid entry I want only InvalidZip.wav to be played NOT EnterZip.wav is there a way?
My API call looks like
digits = session.PlayAndGetDigits(5, 5, 3, 5000, "#*", "EnterZip.wav", "InvalidZip.wav", "\\d+", "", 3000, null)
I referred the following wiki too.
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits
https://wiki.freeswitch.org/wiki/Mod_lua#session:playAndGetDigits
Thanks
Srini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140306/996686b3/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list