Thanks, the freeswitch.msleep(5000) works!

Any comment about the first Q...

con = freeswitch.EventConsumer("CUSTOM my::event");

I get an error. Is this because I must subscribe to the CUSTOM (only) event, and then filter out the events using the Event-Subclass myself? Or am I missing something in the syntax of the subscribe?


Thanks Michael for your help...

--matt

2009/3/31 Brian West <brian@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

-- Meet us a ClueCon!  http://www.cluecon.com




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org