[Freeswitch-users] freeswitch.EventConsumer, can be utilized event-based

Michael Collins msc at freeswitch.org
Tue Mar 31 09:24:58 PDT 2009


FYI, I've documented the msleep method here:
http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.msleep

I will work on better and more organized API documentation. If anyone out
there has time/energy/knowledge of the scripting APIs and is willing to help
out please email me off list.

-MC

2009/3/31 Brian West <brian at freeswitch.org>

> Lua has no sleep or pause ... if you read thru the lua wiki they show you
> various ways to accomplish that.
> On Mar 31, 2009, at 10:50 AM, Matthew Fong wrote:
>
> I know before I asked about blocking for an event, and maybe I should have
> created a new topic..
> but now I want to actually sleep (rather than block) for a set time
> frame...this app will not be consuming events.
>
> can I get an example of how to use msleep in a lua script? This lua script
> will be running in the background, and not part of a session or event
> consumer. Thanks.
>
> --ma
>
>
> Brian West
> brian at freeswitch.org
>
> -- Meet us a ClueCon!  http://www.cluecon.com
>
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090331/c1bb3cb5/attachment-0002.html 


More information about the FreeSWITCH-users mailing list