public interface CallManager
The CallManager is started asynchronously via the start()
method when JVoiceXML starts. The CallManager starts as a server,
waiting for incoming connections, e.g. from a PBX. Once a call arrives
it creates a Session using the JVoiceXml
reference that is delivered via the setJVoiceXml(JVoiceXml) method.
| Modifier and Type | Method and Description |
|---|---|
void |
setJVoiceXml(JVoiceXml jvxml)
Sets a reference to JVoiceXml.
|
void |
start()
Starts the call manager asynchronously.
|
void |
stop()
Stops the call manager and all terminals.
|
void setJVoiceXml(JVoiceXml jvxml)
jvxml - reference to JVoiceXml.void start()
throws NoresourceError,
java.io.IOException
This means that all terminals are initialized and started. Upon a successful run, all terminal are waiting for incoming connections.
NoresourceError - Error starting the call manager.java.io.IOException - unable to start a terminalvoid stop()