Hi,<br><br>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:<br><br>2008-11-21 22:42:55 [ERR] switch_ivr_play_say.c:201 switch_ivr_phrase_macro() Can't find macro ivr_prompt,welcome.<br>
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<br><br>Here is the lua script:<br><br>playAndGetDigits(1 5 3 10000 # <span style="color: rgb(255, 0, 0);"> phrase:ivr_prompt,welcome</span>:menu /mnt/app/prompt/wav/unvailable.wav 9|8|7|6|5|4|3|2|1|100|805|102|103|506|128)<br>
<br>Is this something wrong with my lua script?<br><br>Thanks,<br>JB<br><br><br>