[asterisk-users] start n run an agi script on hangup

Sherwood McGowan sherwood.mcgowan at gmail.com
Fri Jun 13 15:31:00 CDT 2008


Robor Oghene wrote:
> 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..
>
> Rgds
>
> On Fri, Jun 13, 2008 at 3:05 PM, Sherwood McGowan 
> <sherwood.mcgowan at gmail.com <mailto:sherwood.mcgowan at gmail.com>> wrote:
>
>     Robor Oghene wrote:
>     > hello All,
>     >
>     > How do I start and run an agi script on channel hang up?
>     >
>     > Rgds,
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > -- Bandwidth and Colocation Provided by
>     http://www.api-digital.com --
>     >
>     > asterisk-users mailing list
>     > To UNSUBSCRIBE or update options visit:
>     >    http://lists.digium.com/mailman/listinfo/asterisk-users
>     Define the "h" extension in the context in question, and use DeadAGI
>     http://www.google.com/search?hl=en&q=how+do+I+run+an+AGI+after+hangup&btnG=Search
>     <http://www.google.com/search?hl=en&q=how+do+I+run+an+AGI+after+hangup&btnG=Search>
>     Google is nice
>
>     --
>     Sherwood McGowan
>     VoIP / Telecom Solutions
>     sherwood.mcgowan at gmail.com <mailto:sherwood.mcgowan at gmail.com>
>
>
>     _______________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>       http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
DeadAGI will run even after both channels are down, that's why they 
called it DeadAGI. VERY useful when put in the h exten :)

-- 
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com




More information about the asterisk-users mailing list