Maybe there's a simpler way to do a "speak" that's interruptable by DTMF and then finding out what the DTMF was?
I think in mod_dptools.c in the play_and_get_digits_function there's some code that does:
if (min_digits <= 1) { min_digits = 1; }
My C is rusty and this may be irrelevant though!
-Gabe
On Mon, Jun 18, 2012 at 11:09 AM, Michael Collins <msc@freeswitch.org <mailto:msc@freeswitch.org>> wrote:
But but but the wiki says! The wiki just CAN'T be wrong! ;) Actually, according to switch_ivr_play_say.c it looks like you can have a min_digits of "0". Still, I'd make the min digits "1" unless there's a compelling reason to want zero digits. -MC
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2177 / Virus Database: 2433/5076 - Release Date: 06/17/12