[Freeswitch-users] Hang-up event - Alternative?
Nik Middleton
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.
Regards,
________________________________
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Matthew Fong
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:
Hi Guys,
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
kidding)
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
Regards
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090502/38af9513/attachment-0002.html
More information about the FreeSWITCH-users
mailing list