Thanks a million Sherwood!!<br><br><div class="gmail_quote">On Fri, Jun 13, 2008 at 9:31 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 class="Ih2E3d">Robor Oghene wrote:<br>
> Thanks Steve, I appreciate your response, I checked the link and it<br>
> talks about an agi script running before and continuing after<br>
> hangup..... the problem I have is that, I dont want to run an agi<br>
> while the channel is up..... i want to start the script on on hangup<br>
> to do database cleanup...... i'd appreciate if you'd shed more light<br>
> just in case am missing something..<br>
><br>
> Rgds<br>
><br>
> On Fri, Jun 13, 2008 at 3:05 PM, Sherwood McGowan<br>
</div><div class="Ih2E3d">> <<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a> <mailto:<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a>>> wrote:<br>
><br>
> 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>
> ><br>
> ------------------------------------------------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > -- Bandwidth and Colocation Provided by<br>
> <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>
> 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>
> <<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>
><br>
> --<br>
> Sherwood McGowan<br>
> VoIP / Telecom Solutions<br>
</div>> <a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a> <mailto:<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a>><br>
<div class="Ih2E3d">><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>
><br>
><br>
</div><div class="Ih2E3d">> ------------------------------------------------------------------------<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>DeadAGI will run even after both channels are down, that's why they<br>
called it DeadAGI. VERY useful when put in the h exten :)<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c">Sherwood McGowan<br>
VoIP / Telecom Solutions<br>
<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a><br>
<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>