[Freeswitch-users] Hang-up event - Alternative?
nik.middleton at noblesolutions.co.uk
Sat May 2 15:25:51 PDT 2009
That won't work unless I'm mistaken. Well it will if the call is
answered, but if it fails, the lua script will not be called. So if the
result is BUSY, the script won't be called.
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Sent: 02 May 2009 22:22
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Hang-up event - Alternative?
You can always have your lua script fire a custom event on
api_hangup...this will only send the data you specify in your event.
On Sat, May 2, 2009 at 1:36 PM, Nik Middleton
<nik.middleton at noblesolutions.co.uk> wrote:
Is there an alternative to the hang-up event that doesn't send quite as
much data? This event is HUGE!
All I'm looking for this the result of the call, duration, dialed number
and the ability to pass variables. The hang-up event does all of this I
know, but I also get everything including the stock market reports (just
Right now I'm using custom events for successful calls and the
BACKGROUND_JOB for call fails as my application is running an lua script
on call answer, but this doesn't get called if the call fails
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users