org.asteriskjava.live
Class SecureAsteriskServer
java.lang.Object
org.asteriskjava.live.DefaultAsteriskServer
org.asteriskjava.live.SecureAsteriskServer
- All Implemented Interfaces:
- AsteriskServer
public class SecureAsteriskServer
- extends DefaultAsteriskServer
Secure implementation of the AsteriskServer interface.
Uses SSL for the connection to Asterisk.
- Version:
- $Id: SecureAsteriskServer.java 592 2007-01-21 16:44:00Z srt $
- Author:
- srt
- See Also:
AsteriskServer
|
Constructor Summary |
SecureAsteriskServer(java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password)
Creates a new instance and a new SSL secured ManagerConnection with the given
connection data. |
| Methods inherited from class org.asteriskjava.live.DefaultAsteriskServer |
addAsteriskServerListener, executeCliCommand, getChannelById, getChannelByName, getChannels, getGlobalVariable, getManagerConnection, getMeetMeRoom, getMeetMeRooms, getQueues, getVersion, getVersion, getVoicemailboxes, initialize, originateToApplication, originateToApplication, originateToApplicationAsync, originateToApplicationAsync, originateToExtension, originateToExtension, originateToExtensionAsync, originateToExtensionAsync, removeAsteriskServerListener, setGlobalVariable, setManagerConnection, setSkipQueues, shutdown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureAsteriskServer
public SecureAsteriskServer(java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password)
- Creates a new instance and a new SSL secured
ManagerConnection with the given
connection data.
- Parameters:
hostname - the hostname of the Asterisk server to connect to.port - the port where Asterisk listens for incoming Manager API
connections, usually 5038.username - the username to use for loginpassword - the password to use for login
createManagerConnection
protected DefaultManagerConnection createManagerConnection(java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password)
- Overrides:
createManagerConnection in class DefaultAsteriskServer
Copyright © 2004-2007 Stefan Reuter. All Rights Reserved.