Hi,
I am having problem with the speak marco, can someone please help me?
In the sample code:
session.sayPhrase("speak", "Please leave a message after the beep", "en"
);
Inside /usr/local/freeswitch/conf/lang/en/vm/sounds.xm, I added:
<macro name="speak">
<input pattern="(.*)">
<match>
<action function="play-file" data="voicemail/vm-hello.wav"/>
</match>
</input>
</macro>
I am getting can't find marco speak error:
2008-04-19 03:40:20 [ERR] switch_ivr_play_say.c:196 switch_ivr_phrase_macro(
) can't find macro speak.
2008-04-19 03:40:20 [WARNING] switch_ivr_play_say.c:330switch_ivr_phrase_macro
() macro [speak] did not match any patterns
2008-04-19 03:40:20 [DEBUG] inc_logger.js:6 console_log()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> session.streamFile rtn=[undefined] >>>>>>>>>
undefined
What did I do wrong?
Thanks in advance for all your help.
Regards,
Pete
_______________________________________________
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