[Asterisk-Users] AGI hangup problem

Stefan Reuter srt at reucon.net
Sat Apr 1 12:04:09 MST 2006


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...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060401/1f153214/signature.pgp


More information about the asterisk-users mailing list