Hi ,
I am trying to play balance of an account. how to do that in java script
without using tts.
var x= 100;
it should say 100
i have tried to use following example but didn't work form me.
function sayphrase(phrase, args)
{
console_log("sayphrase: phrase=[" + phrase + "] args=[" + args + "]\n");
var rtn = session.execute("phrase", phrase + "," + args);
return(rtn);
}
if (session.ready()) {
session.answer();
session.execute("sleep","1000");
sayphrase("msgcount", "10");
session.hangup();
}
can anyone tell me the correct syntax please.
--
Thanks and Regards
Vidhya Sagar Dixit
_______________________________________________
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