[Freeswitch-dev] execute script before hangup

Michael Jerris mike at jerris.com
Tue Nov 17 09:35:52 PST 2009

Conferences are totally dynamic, if there is no one in it, why does it matter that it ends?

On Nov 16, 2009, at 11:44 AM, vip killa wrote:

> well, when the user hangs up, freeswitch detects it and reacts accordingly so there must be a way to execute a command between the time freeswitch detects and reacts.
> On Mon, Nov 16, 2009 at 11:36 AM, Shelby Ramsey <sramsey at sipinterchange.com> wrote:
> how would you know whether or not the user is going to hang up in 1 or 2
> seconds?
> vip killa wrote:
> > i'm trying to execute a script 1 or 2 seconds before a user hangs up.
> > is this possible? i'm using "api_hangup_hook=" to execute the script
> > currently but it executes after the user hangs up. is there anyway to
> > have api_hangup_hook execute before the actual hang up of the call?
> > ------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091117/cd2afbc0/attachment.html 

More information about the FreeSWITCH-dev mailing list