[Freeswitch-dev] execute script before hangup

vip killa vipkilla at gmail.com
Mon Nov 16 08:44:58 PST 2009


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?
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > FreeSWITCH-dev mailing list
> > FreeSWITCH-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
> >
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091116/c9118040/attachment.html 


More information about the FreeSWITCH-dev mailing list