VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
nik.middleton at noble... Guest
|
Posted: Sat May 02, 2009 3:38 pm Post subject: [Freeswitch-users] Hang-up event - Alternative? |
|
|
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 |
|
Back to top |
|
|
mattdfong at gmail.com Guest
|
Posted: Sat May 02, 2009 4:23 pm Post subject: [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@noblesolutions.co.uk (nik.middleton@noblesolutions.co.uk)> wrote:
|
|
Back to top |
|
|
nik.middleton at noble... Guest
|
Posted: Sat May 02, 2009 5:28 pm Post subject: [Freeswitch-users] Hang-up event - Alternative? |
|
|
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Matthew Fong
Sent: 02 May 2009 22:22
To: freeswitch-users@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@noblesolutions.co.uk (nik.middleton@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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Sat May 02, 2009 5:37 pm Post subject: [Freeswitch-users] Hang-up event - Alternative? |
|
|
You are looking into optimizing the wrong things. DId you experience any problems directly related to the hangup event containing extra data?
Math
On 2-May-09, at 4:36 PM, Nik Middleton wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|