Asterisk-Java

Package org.asteriskjava.fastagi

Provides an implementaion of Asterisk's FastAGI.

See:
          Description

Interface Summary
AgiChannel Provides the functionality to send AgiCommands to Asterisk while handling an AgiRequest.
AgiRequest Provides client request information to an AgiScript.
AgiScript AgiScripts are used by the AsteriskServer to handle AgiRequests received from the Asterisk server.
AgiServer Listens for incoming AGI connections, reads the inital data and builds an AgiRequest that is then handed over to the appropriate AgiScript for processing.
MappingStrategy A MappingStrategy determines which AgiScript is called to service a given AgiRequest.
 

Class Summary
AbstractMappingStrategy Abstract base class for common mapping strategies.
AgiOperations AgiOperations provides some convinience methods that wrap the various AgiCommands.
AgiServerThread Runs an AgiServer in a separate Thread.
BaseAgiScript The BaseAgiScript provides some convinience methods to make it easier to write custom AgiScripts.
ClassNameMappingStrategy A MappingStrategy that determines the AGIScript based on the fully qualified class name given in the AGI URL.
CompositeMappingStrategy A mapping strategy that tries a sequence of other mapping strategies to find an AgiScript matching the request.
DefaultAgiServer Default implementation of the AgiServer interface.
ResourceBundleMappingStrategy A MappingStrategy that is configured via a resource bundle.
SimpleMappingStrategy A MappingStrategy that is configured via a fixed set of properties.
 

Exception Summary
AgiException Base class for all AGI specific exceptions.
AgiHangupException The AgiHangupException is thrown if the channel is hung up while processing the AgiRequest.
AgiNetworkException The AgiNetworkException usally wraps an IOException denoting a network problem while talking to the Asterisk server.
InvalidCommandSyntaxException An InvalidCommandSyntaxException is thrown when the reader receives a reply with status code 520.
InvalidOrUnknownCommandException An InvalidOrUnknownCommandException is thrown when the reader receives a reply with status code 510.
 

Package org.asteriskjava.fastagi Description

Provides an implementaion of Asterisk's FastAGI.


Asterisk-Java

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