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@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?
> ------------------------------------------------------------------------