According to the CLI doc, you can do it this way - exten => 100,1,Set(AGISIGHUP=no) - exten => 100,n,AGI(youragi.agi)
YMMV -- Danny Nicholas -- -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Thomas Winter Sent: Wednesday, February 10, 2010 4:38 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] How to avoid AGI script is canceled if callerHangUp Hi, is there any way to avoid cancel the AGI script if caller is hanging up. That gives me sometimes data mismatch and it is deffcault to clean up in the h extension. I would like that the PHP script called by AGI will run to end.. Some thing can happend with an Macro if caller hang up exactly when call is answered. An Macro called byi the DIAL command will be stoped and data mismatch can occur.. best regards Thomas -- _____________________________________________________________________ -- 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
