<div dir="ltr">Hi ,<br><br>I am trying to play balance of an account. how to do that&nbsp; in java script&nbsp;&nbsp; without&nbsp; 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&#39;t work form me.<br>
<br>function sayphrase(phrase, args)<br>{<br>&nbsp;&nbsp;&nbsp; console_log(&quot;sayphrase: phrase=[&quot; + phrase + &quot;] args=[&quot; + args + &quot;]\n&quot;);<br>&nbsp;&nbsp;&nbsp; var rtn = session.execute(&quot;phrase&quot;, phrase + &quot;,&quot; + args);<br>
&nbsp;&nbsp;&nbsp; return(rtn);<br>}<br><br>if (session.ready()) {<br>&nbsp;&nbsp;&nbsp; session.answer();<br>&nbsp;&nbsp;&nbsp; session.execute(&quot;sleep&quot;,&quot;1000&quot;);<br>&nbsp;&nbsp;&nbsp; sayphrase(&quot;msgcount&quot;, &quot;10&quot;);<br>&nbsp;&nbsp;&nbsp; session.hangup();<br>
}<br><br><br><br>can anyone tell me the correct syntax please.<br><br><br><br><br>&nbsp;<br clear="all"><br>-- <br>Thanks and Regards <br><br>Vidhya Sagar Dixit<br>
</div>