Thanks Steve, I appreciate your response, I checked the link and it talks about an agi script running before and continuing after hangup..... the problem I have is that, I dont want to run an agi while the channel is up..... i want to start the script on on hangup to do database cleanup...... i'd appreciate if you'd shed more light just in case am missing something..<br>
<br>Rgds<br><br><div class="gmail_quote">On Fri, Jun 13, 2008 at 3:05 PM, Sherwood McGowan <<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Robor Oghene wrote:<br>
> hello All,<br>
><br>
> How do I start and run an agi script on channel hang up?<br>
><br>
> Rgds,<br>
</div></div>> ------------------------------------------------------------------------<br>
<div class="Ih2E3d">><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div>Define the "h" extension in the context in question, and use DeadAGI<br>
<a href="http://www.google.com/search?hl=en&q=how+do+I+run+an+AGI+after+hangup&btnG=Search" target="_blank">http://www.google.com/search?hl=en&q=how+do+I+run+an+AGI+after+hangup&btnG=Search</a><br>
Google is nice<br>
<font color="#888888"><br>
--<br>
Sherwood McGowan<br>
VoIP / Telecom Solutions<br>
<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a><br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>