[Freeswitch-users] Unable to pass arguments to phrase for playAndGetDigits

Juan Backson juanbackson at gmail.com
Thu Nov 20 22:50:34 PST 2008


I tried to use the Phrase API for playAndGetDigits, but it only works if the
phrase does not take any input.  When an input is specified, it gives error:

2008-11-21 22:42:55 [ERR] switch_ivr_play_say.c:201
switch_ivr_phrase_macro() Can't find macro ivr_prompt,welcome.
2008-11-21 22:42:55 [WARNING] switch_ivr_play_say.c:360
switch_ivr_phrase_macro() Macro [ivr_prompt,welcome] did not match any

Here is the lua script:

playAndGetDigits(1 5 3 10000 #  phrase:ivr_prompt,welcome:menu

Is this something wrong with my lua script?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081121/5e99b7a0/attachment-0002.html 

More information about the FreeSWITCH-users mailing list