it should be phrase:<phrase_name>:<args>


On Fri, Nov 21, 2008 at 12:50 AM, Juan Backson <[EMAIL PROTECTED]>wrote:

> Hi,
>
> 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
> patterns
>
> Here is the lua script:
>
> playAndGetDigits(1 5 3 10000 #  phrase:ivr_prompt,welcome:menu
> /mnt/app/prompt/wav/unvailable.wav
> 9|8|7|6|5|4|3|2|1|100|805|102|103|506|128)
>
> Is this something wrong with my lua script?
>
> Thanks,
> JB
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to