[Freeswitch-users] AddBody to events in lua
Nik Middleton
nik.middleton at noblesolutions.co.uk
Tue Feb 17 15:30:48 PST 2009
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: 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:23
To: freeswitch-users at lists.freeswitch.org
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
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