Asterisk-Java

org.asteriskjava.fastagi
Class AgiHangupException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.asteriskjava.fastagi.AgiException
              extended by org.asteriskjava.fastagi.AgiHangupException
All Implemented Interfaces:
java.io.Serializable

public class AgiHangupException
extends AgiException

The AgiHangupException is thrown if the channel is hung up while processing the AgiRequest.

Up to Asterisk 1.4 hanging up the channel also closes the TCP connection, since Asterisk 1.6 the connection is kept alive but commands that require an active channel return status code AgiReply.SC_DEAD_CHANNEL. Both events are translated to an AgiHangupException.

Version:
$Id: AgiHangupException.java 1261 2009-03-14 03:17:17Z srt $
Author:
srt
See Also:
Serialized Form

Constructor Summary
AgiHangupException()
          Creates a new AgiHangupException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgiHangupException

public AgiHangupException()
Creates a new AgiHangupException.


Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.