Package | Description |
---|---|
org.asteriskjava.examples.activities | |
org.asteriskjava.manager |
Provides an implementaion of Asterisk's Manager API.
|
org.asteriskjava.manager.internal |
Provides private implementations for interfaces defined in the
org.asteriskjava.manager package.
|
org.asteriskjava.pbx.internal.core | |
org.asteriskjava.pbx.internal.managerAPI |
Modifier and Type | Method and Description |
---|---|
static void |
BlindTransfer.main(String[] args) |
Modifier and Type | Class and Description |
---|---|
class |
EventTimeoutException
An EventTimeoutException is thrown if a ManagerResponse or some
ResponseEvents are not completely received within the expected time period.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultManagerConnection.login() |
void |
ManagerConnection.login()
Logs in to the Asterisk server with the username and password specified
when this connection was created.
|
void |
DefaultManagerConnection.login(String events) |
void |
ManagerConnection.login(String events)
Logs in to the Asterisk server with the username and password specified
when this connection was created and a given event mask.
|
ManagerResponse |
DefaultManagerConnection.sendAction(ManagerAction action) |
ManagerResponse |
ManagerConnection.sendAction(ManagerAction action)
Sends a ManagerAction to the Asterisk server and waits for the
corresponding ManagerResponse.
|
ManagerResponse |
DefaultManagerConnection.sendAction(ManagerAction action,
long timeout) |
ManagerResponse |
ManagerConnection.sendAction(ManagerAction action,
long timeout)
Sends a ManagerAction to the Asterisk server and waits for the
corresponding
ManagerResponse . |
Modifier and Type | Method and Description |
---|---|
protected AsteriskVersion |
ManagerConnectionImpl.determineVersion() |
protected void |
ManagerConnectionImpl.doLogin(long timeout,
String eventMask)
Does the real login, following the steps outlined below.
|
void |
ManagerConnectionImpl.login() |
void |
ManagerConnectionImpl.login(String eventMask) |
ManagerResponse |
ManagerConnectionImpl.sendAction(ManagerAction action) |
ManagerResponse |
ManagerConnectionImpl.sendAction(ManagerAction action,
long timeout)
Implements synchronous sending of "simple" actions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AsteriskPBX.checkDialplanExists(AsteriskSettings profile) |
boolean |
AsteriskPBX.createAgiEntryPoint()
Creates the set of extensions required to test NJR during the
installation.
|
ManagerResponse |
AsteriskPBX.sendAction(ManagerAction theAction)
sends an action with a default timeout of 30 seconds.
|
ManagerResponse |
AsteriskPBX.sendAction(ManagerAction theAction,
int timeout) |
Modifier and Type | Method and Description |
---|---|
ManagerConnection |
Connector.connect(AsteriskSettings asteriskSettings)
Establishes a Asterisk ManagerConnection as well as performing the
'login' required by Asterisk.
|
Copyright © 2004–2017. All rights reserved.