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:
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);
On Tue, Feb 17, 2009 at 5:11 PM, Nik Middleton
nik.middle...@noblesolutions.co.uk wrote:
Hi Guys,
I'm having real problems doing something trivial,
On Tue, Feb 17, 2009 at 3:25 PM, Anthony Minessale
anthony.miness...@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:
February 2009 23:23
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] AddBody to events in lua
local e =
freeswitch.Event(custom,
dialer::dialer-result);
e.addBody(custom_msg
: [Freeswitch-users] AddBody to events in lua
On Tue, Feb 17, 2009 at 3:25 PM, Anthony Minessale
anthony.miness...@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
Good... keep up the good work adding more docs. ;)
/b
On Feb 17, 2009, at 5:33 PM, Nik Middleton wrote:
Err, that's what I just posted :)
Regards,
___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
] AddBody to events in lua
Good... keep up the good work adding more docs. ;)
/b
On Feb 17, 2009, at 5:33 PM, Nik Middleton wrote:
Err, that's what I just posted :)
Regards,
___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http
I ran 10,000 events, which completed in around 20 seconds, all received
and processed flawlessly. A new one on me was arrayshift. To think that
I messed around in C for ages with circular buffers, this is so simple.
Excellent! You're officially deputized to add any Lua examples you
create. We
And you ran this in lua?
/b
On Feb 17, 2009, at 6:07 PM, Nik Middleton wrote:
I ran 10,000 events, which completed in around 20 seconds, all
received
and processed flawlessly. A new one on me was arrayshift. To think
that
I messed around in C for ages with circular buffers, this is
] On Behalf Of
Brian West
Sent: 18 February 2009 00:15
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] AddBody to events in lua
And you ran this in lua?
/b
On Feb 17, 2009, at 6:07 PM, Nik Middleton wrote:
I ran 10,000 events, which completed in around 20 seconds, all
Nik Middleton wrote:
I'll shortly post some docs on the php fs_sock.
don't waste your time... There's a php .so for ESL now, and i'll
probably be removing the fs_sock from tree sometime very soon... maybe
replacing it with some specific api classes... i'm not sure on that part
yet.
-Ray
11 matches
Mail list logo