<div>Hello,<br></div><div><br></div><div>I have a test script like this. But is it possible to make a setTimeout(function(){ console_log("Hello world") }, 1000); ?? Like a timer which keep running with interval of 1 second ? Where i can do some Ajax ???</div>
<div><br></div><div>helloworld.js</div><div>=========</div><div>var argv;<br><br>function on_hangup(hup_session, how)<br>{<br> console_log(<br> "err", how + " HOOK" + "\n" + <br>
"hello world" + session.getVariable("test") + "\n"<br> );<br><br> exit();<br> );<br><br>session.setHangupHook(on_hangup);<br><br></div><div><br></div><div><br>
</div><div>Thanks & Regards</div><div><br></div>