Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mattdfong at gmail.com
Guest





PostPosted: Fri Mar 27, 2009 7:18 am    Post subject: [Freeswitch-users] freeswitch.EventConsumer, can be utilized Reply with quote

I've been playing around with using freeswitch.EventConsumer in a lua process that starts-up when FS boots, and stays in the background. I've setup the example on the wiki, but the example uses session:execute("sleep",1000), and essentially loops every second until an event is fired. I'm wondering if there is a more event-driven way to accomplish this?

I tried asking for help in #lua, but they said the project (FS) needed to implement event-driven programming for this to work. To me, it seems sort of silly to implement freeswitch.EventConsumer without a way for it to be executed event-wise


Is using lua ESL the only option? There isn't any lua example scripts in libs/esl/lua to demonstrate how to handle events.


if mod_lua can't handle events, can the mod_javascript utilize it? Thanks.


--matt
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services