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