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.
NamedAgiScript Interface for an AgiScript that provides a name for logging and management.
 

Class Summary
AbstractAgiServer Abstract base class for FastAGI and AsyncAGI servers.
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.
AsyncAgiServer AGI server for AGI over the Manager API (AsyncAGI).
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 for FastAGI.
ResourceBundleMappingStrategy A MappingStrategy that is configured via a resource bundle.
ScriptEngineMappingStrategy A MappingStrategy that uses ScriptEngine to run AgiScripts.
SimpleMappingStrategy A MappingStrategy that is configured via a fixed set of properties.
SpeechRecognitionResult Contains the results of a speech recognition command.
SpeechRecognitionResult.SpeechResult Container class for recognized speech.
StaticMappingStrategy Mapping strategy that maps all requests to the same script instance.
 

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.
AgiSpeechException The AgiSpeechException is thrown if a speech command can not be executed successfully.
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-2009 Stefan Reuter. All Rights Reserved.