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.<br><br><div class="gmail_quote">On Mon, Nov 16, 2009 at 11:36 AM, Shelby Ramsey <span dir="ltr">&lt;<a href="mailto:sramsey@sipinterchange.com">sramsey@sipinterchange.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">how would you know whether or not the user is going to hang up in 1 or 2<br>
seconds?<br>
<div><div></div><div class="h5"><br>
vip killa wrote:<br>
&gt; i&#39;m trying to execute a script 1 or 2 seconds before a user hangs up.<br>
&gt; is this possible? i&#39;m using &quot;api_hangup_hook=&quot; to execute the script<br>
&gt; currently but it executes after the user hangs up. is there anyway to<br>
&gt; have api_hangup_hook execute before the actual hang up of the call?<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-dev mailing list<br>
&gt; <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>