Hi,
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);
i got the following error:
2014-09-24 07:58:25.677222 [ERR] mod_lua.cpp:203 /usr/local/freeswitch/scripts/....: '<name>' expected near '/' what did i miss?