Well that's fine but then I don't have any channel variable info I might have from channel otherwise. I am catchning exception now but I am wondering if there is some more appropriate way for Asterisk to handle hangup (to stick around for some more time just in case someone wants to pull any channel info after hangup).
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stefan Reuter Sent: Saturday, April 01, 2006 2:04 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AGI hangup problem Branko Samardzic wrote: > I have problem with Asterisk. > [sendCommand]=EXEC "DIAL" "IAX2/somehost/somenumber|10" > [readReply]=200 result=-1 > [sendCommand]=GET VARIABLE "ANSWEREDTIME" > 1086422 [Thread-7] ERROR - establishConnection: exec encountered exception > net.sf.asterisk.fastagi.AGIHangupException: Channel was hung up. > This means that AGI is not capable of extracting data about call performed. > Is there any workaround? just catch the exception and go on... _______________________________________________ --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
