I've got it working now thanks I've also added a working example to the Wiki (lua/addBody) which was empty
Regards, -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Collins Sent: 17 February 2009 23:23 To: [email protected] Subject: Re: [Freeswitch-users] AddBody to events in lua > local e = freeswitch.Event("custom", > "dialer::dialer-result"); > > e.addBody(custom_msg); > > e:fire(e); The wiki page (http://wiki.freeswitch.org/wiki/Lua#event:fire) shows that you fire thusly: e:fire(); --No "e" in the parens. Can you try it and report back? -MC _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
