[Asterisk-Users] AGI kill

Steven Critchfield critch at basesys.com
Wed Mar 16 05:10:40 MST 2005


On Wed, 2005-03-16 at 11:20 +0100, Pepe Aracil wrote:
> Hello.
> 
> When the caller hangup  the phone, asterisk kills my AGI python script without 
> notification.
> I caught all signals, but none was trigered.
> How can i trap this event to resume some operations.

Asterisk doesn't send any signal upon hangup. Asterisk closes the pipes
that show up as STDIN and STDOUT for your AGI app. You need to deal with
it gracefully.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list