[Freeswitch-users] Putting javascript to sleep

Anthony Minessale anthony.minessale at gmail.com
Sat Nov 15 09:23:31 PST 2008


i don't know what you are talking about exactly

i made this script test.js

for(x = 0; x < 10; x++) {
    msleep(1000);
    consoleLog("info", "ITERATION " + (x + 1) + "\n");
 }

consoleLog("info", "DONE");


and did
jsrun /path/to/test.js

and it seems to work fine.



On Sat, Nov 15, 2008 at 2:05 AM, Jon Bruel <jbr at consiglia.dk> wrote:

>  Thanks Anthony, the msleep function is really nice, but I have some
> problems getting it to work. Somehow it fucks up the system, which becomes
> unresponsive after I have run it in a javascript. Should I just wait for the
> next release, or do you want a more detailed error report through the
> appropriate channels? /Jon
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081115/597fde63/attachment-0002.html 


More information about the FreeSWITCH-users mailing list