7 Mar
2014
7 Mar
'14
7:18 a.m.
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