what did i miss?Hi,i got the following error:
I'm calling the method from lua script
local digits = session:playAndGetDigits(minLength, maxLength, maxAttempts, 5000, termChar, menuPrompt, noMatchPrompt, grammarRegex, "digits", 1500);
Now when i tried using file_string:
menuPrompt_part1=/usr/audio/phrase1.wav
menuPrompt_part2=/usr/audio/phrase2.wav
local digits = session:playAndGetDigits(minLength, maxLength, maxAttempts, 5000, termChar, file_string://menuPrompt_part1!menuPrompt_part2, noMatchPrompt, grammarRegex, "digits", 1500);
2014-09-24 07:58:25.677222 [ERR] mod_lua.cpp:203 /usr/local/freeswitch/scripts/....: '<name>' expected near '/'Thanks,Snabel---------- Forwarded message ----------
From: Michael Collins <msc@freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Thu, 18 Sep 2014 10:08:38 -0700
Subject: Re: [Freeswitch-users] session:playAndGetDigits() play two files When digits are fetched-MCOn Thu, Sep 18, 2014 at 5:56 AM, Snabel Kabiya <snabel@lexifone.com> wrote:I've this parameteri wanted to ask if i can play two files? if yes what's the syntax?
- file = Sound file to play while digits are fetched
Thanks,Snabel
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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