public class SecureAsteriskServer extends DefaultAsteriskServer
Uses SSL for the connection to Asterisk.
AsteriskServer| Constructor and Description |
|---|
SecureAsteriskServer(String hostname,
int port,
String username,
String password)
Creates a new instance and a new SSL secured
ManagerConnection with the given
connection data. |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultManagerConnection |
createManagerConnection(String hostname,
int port,
String username,
String password) |
addAsteriskServerListener, addChainListener, executeCliCommand, forceQueuesMonitor, getAgents, getChannelById, getChannelByName, getChannels, getConfig, getGlobalVariable, getManagerConnection, getMeetMeRoom, getMeetMeRooms, getQueueByName, getQueues, getQueuesUpdatedAfter, getVersion, getVersion, getVoicemailboxes, initialize, isAsteriskServerListening, isModuleLoaded, isQueuesMonitorForced, loadModule, originate, originateAsync, originateToApplication, originateToApplication, originateToApplicationAsync, originateToApplicationAsync, originateToExtension, originateToExtension, originateToExtensionAsync, originateToExtensionAsync, reloadAllModules, reloadModule, removeAsteriskServerListener, removeChainListener, setGlobalVariable, setManagerConnection, setSkipQueues, shutdown, unloadModulepublic SecureAsteriskServer(String hostname, int port, String username, String password)
ManagerConnection with the given
connection data.hostname - the hostname of the Asterisk server to connect to.port - the port where Asterisk listens for incoming SSL secured Manager API connections, usually 5039.username - the username to use for loginpassword - the password to use for loginprotected DefaultManagerConnection createManagerConnection(String hostname, int port, String username, String password)
createManagerConnection in class DefaultAsteriskServerCopyright © 2004–2020. All rights reserved.