[Freeswitch-users] AddBody to events in lua
Nik Middleton
nik.middleton at noblesolutions.co.uk
Tue Feb 17 15:33:46 PST 2009
Err, that's what I just posted :)
Regards,
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Michael Collins
Sent: 17 February 2009 23:30
To: freeswitch-users at 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 at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
More information about the Freeswitch-users
mailing list