#include <bayonne.h>
Public Methods | |
Module* | getNext (void) |
virtual char* | getName (void) = 0 |
Get the "name" identifer of this module. More... | |
virtual char* | Dispatch (Trunk *trunk) |
Execute the script request. More... | |
virtual unsigned | Sleep (Trunk *trunk) |
This is used to determine if a timeout/sleep should occur or if script advance is immediate. More... | |
virtual void | Detach (Trunk *trunk) |
Notify for detach. More... | |
virtual void | Attach (Trunk *trunk) |
Notify for attach. More... | |
Protected Methods | |
Module () | |
Module* | getFirst (void) |
virtual modtype_t | getType (void) = 0 |
Get the "type" identifer of this module. More... | |
void | addSession (void) |
Add as a session handling module. | |
void | addCommand (void) |
Add fifo command handling module. | |
void | addPrompts (void) |
Add module as url processing. | |
void | addRequest (void) |
Add request handler back-end. | |
virtual bool | Command (char **argv, ostream *out) |
fifo command extension. | |
virtual void | Reload (void) |
reload provisioning interface for fifos. | |
virtual char* | getPrompt (const char *original) |
Parse a url/prompt file into a fixed file path. | |
virtual void | Expires (Request *request) |
Notify an expired request. | |
virtual void | Running (Request *request) |
Notify a running request. | |
virtual void | Cancelled (Request *request) |
Notify a cancelled request. | |
Friends | |
class | Fifo |
class | AudioService |
class | TrunkGroup |
void | cancel (TrunkGroup *grp, const char *tag) |
Module* | getModule (modtype_t mod, const char *name = NULL) |
void | detachModules (Trunk *trunk) |
void | attachModules (Trunk *trunk) |
These are done as loadable modules and may be replaced with application specific interfaces.
|
|
|
Notify for attach. This can be used to set constants in the trunks symbol space for this module's use at call setup.
|
|
Notify a cancelled request.
|
|
fifo command extension.
|
|
Notify for detach. As each call is detached, this will get called.
|
|
Execute the script request. Usually this involves creating a detached service thread.
|
|
Notify an expired request.
|
|
reload provisioning interface for fifos.
|
|
Notify a running request.
|
|
This is used to determine if a timeout/sleep should occur or if script advance is immediate.
|
|
Add fifo command handling module.
|
|
Add module as url processing.
|
|
Add request handler back-end.
|
|
Add as a session handling module.
|
|
|
|
Get the "name" identifer of this module.
|
|
|
|
Parse a url/prompt file into a fixed file path.
|
|
Get the "type" identifer of this module.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|