[Asterisk-Users] AGI kill

Stefan Reuter asterisk at stefan.de
Wed Mar 16 03:57:11 MST 2005


>   You can't! As far as I can tell, once Asterisk eliminates an AGI upon
> hangup, it doesn't send any signal information to the AGI script. If you
> need to run some clean ups, the proper way to do so would be to execute
> an AGI upon hangup, utilizing DeadAGI.

You can also use FastAGI instead of AGI over stdin/stdout. When using
FastAGI hangup only caused the network connection to be closed but after
that you can do any clean up you want.

=Stefan




More information about the asterisk-users mailing list