[Freeswitch-users] AddBody to events in lua
Michael Collins
msc at freeswitch.org
Tue Feb 17 15:29:48 PST 2009
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
More information about the Freeswitch-users
mailing list