[Freeswitch-users] play_and_get_digits - with no invalid entry
Denis Gasparin
denis.gasparin at edistar.com
Thu Sep 5 10:53:23 MSD 2013
Hi.
For invalid file you could try to put "silence_stream://10": it "plays" a silence for ten milliseconds.
I used the play_and_get_digits dialplan application and it accepts 0 for min: i think perl implementation should be the same (have to look source code).
Denis Gasparin
----- Messaggio originale -----
Da: "Ali Pey" <alipey at gmail.com>
A: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Inviato: Mercoledì, 4 settembre 2013 20:15:32
Oggetto: [Freeswitch-users] play_and_get_digits - with no invalid entry
Hello,
I need to play a prompt and get any digits if entered, but if there is no digit entered, simply continue. Basically I don't have any minimum entry required and there is no invalid entry.
I use playAndGetDigits in my perl code but it doesn't accept 0 for min or an empty string for invalid_file.
How can I achieve this behaviour?
Regards,
Ali
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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/20130905/b55eb192/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list