Hello list,

I have an application which is one large AGI. My extensions.conf
answers, calls the AGI, and hangs up the call. A second AGI is set to be
called if hangup is detected.

exten => s,1,answer
exten => s,n,agi(appmain)
exten => s,n,hangup
exten => h,1,agi(after_hangup)

The appmain AGI uses Exec to run other programs, including meetme. If a
caller hangs up while the meetme program is running, it appears that
control is not returned to the appmain AGI and the after_hangup AGI is not
called.

What is the best way to reliably detect when a caller has hung up and
perform an action at that time?

Chris
-- 
Chris Nestrud
Email: [EMAIL PROTECTED]

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to