Got a few more questions about running LUA scripts, please forgive me, I'm an absolute newbie with LUA.
> con = freeswitch.EventConsumer("all");FYI, I added this information to the wiki page for freeswitch.EventConsumer.
>
> now you have a consumer obj
>
> every time you call con:pop() with no arg you will either get an event or
> nil when there are no events to consume.
> every time you call con:pop(1) the consumer object will block until there is
> an event.
>
> So you use the first way in conjunction with some other lock to do async or
> the 2nd way you do a dedicated blocking loop.
-MC
_______________________________________________
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