Err, that's what I just posted :) Regards, -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: 17 February 2009 23:30 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] AddBody to events in lua On Tue, Feb 17, 2009 at 3:25 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
in lua you call methods with a colon :
e:addBody(blah);
calling with a . implies you are going to supply the obj too
e.addBody(e, blah);
Also, there is an explicit example here: http://wiki.freeswitch.org/wiki/Lua#event:addBody It looks exactly like what you're trying to do. -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