Also since you are using Asterisk::AGI you can register a callback that
gets called when most of the AGI commands return error/hangup.
James
On Thu, 19 Feb 2004, Tim Petlock wrote:
> Thanks - that gave me the basis for a couple of google searches.
> Near the top of the script I put in
> $SIG{HUP} = \&exitGracefully;
>
> and I added a subroutine that looks like this:
>
> sub exitGracefully {
> exit(0);
> }
>
> It now kills itself off without needing to be killed and take * with it.
>
> THANKS!!!
>
> -Tim
>
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users