Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] LUA Event generation


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





PostPosted: Wed Jul 08, 2009 1:28 pm    Post subject: [Freeswitch-users] LUA Event generation Reply with quote

When I create an even with mod_lua, I need to add the even variable name as the 1st argument too all of the event statements - this is not how it's listed in the examples in the Wiki, is this new and should I update the WIKI or am I doing something wrong?

The way I needed to write it to get it to work looks like this:
ie: http://pastebin.freeswitch.org/9654

The examples in the wiki are just missing the first argument for addHeader(), addBody() and fire().
ie: http://wiki.freeswitch.org/wiki/Mod_lua#Events

-Nick


_______________________________________________
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
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