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


Da: "Ali Pey" <alipey@gmail.com>
A: "FreeSWITCH Users Help" <freeswitch-users@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org