Package | Description |
---|---|
org.asteriskjava.live |
Provides a higher level API on top of Asterisk's Manager API.
|
org.asteriskjava.live.internal |
Provides private implementations and helper classes for interfaces
defined in the org.asteriskjava.live package.
|
Modifier and Type | Method and Description |
---|---|
void |
AsteriskChannel.changeMonitoring(String filename)
Changes the filename of a previously started monitoring.
|
String |
AsteriskChannel.getVariable(String variable)
Returns the value of the given channel variable.
|
void |
AsteriskChannel.hangup()
Hangs up this channel.
|
void |
AsteriskChannel.hangup(HangupCause cause)
Hangs up this channel using a given cause code.
|
AsteriskChannel |
AsteriskServer.originate(OriginateAction originateAction)
Generates an outgoing channel.
|
AsteriskChannel |
DefaultAsteriskServer.originate(OriginateAction originateAction) |
AsteriskChannel |
AsteriskServer.originateToApplication(String channel,
String application,
String data,
long timeout)
Generates an outgoing channel to an application.
|
AsteriskChannel |
DefaultAsteriskServer.originateToApplication(String channel,
String application,
String data,
long timeout) |
AsteriskChannel |
AsteriskServer.originateToApplication(String channel,
String application,
String data,
long timeout,
CallerId callerId,
Map<String,String> variables)
Generates an outgoing channel to an application and sets an optional map
of channel variables.
|
AsteriskChannel |
DefaultAsteriskServer.originateToApplication(String channel,
String application,
String data,
long timeout,
CallerId callerId,
Map<String,String> variables) |
AsteriskChannel |
AsteriskServer.originateToExtension(String channel,
String context,
String exten,
int priority,
long timeout)
Generates an outgoing channel to a dialplan entry (extension, context,
priority).
|
AsteriskChannel |
DefaultAsteriskServer.originateToExtension(String channel,
String context,
String exten,
int priority,
long timeout) |
AsteriskChannel |
AsteriskServer.originateToExtension(String channel,
String context,
String exten,
int priority,
long timeout,
CallerId callerId,
Map<String,String> variables)
Generates an outgoing channel to a dialplan entry (extension, context,
priority) and sets an optional map of channel variables.
|
AsteriskChannel |
DefaultAsteriskServer.originateToExtension(String channel,
String context,
String exten,
int priority,
long timeout,
CallerId callerId,
Map<String,String> variables) |
void |
AsteriskChannel.pauseMixMonitor(MixMonitorDirection direction)
Temporarily stops monitoring this channel if this is monitored with MixMonitor.
|
void |
AsteriskChannel.pauseMonitoring()
Temporarily stops monitoring this channel.
|
void |
AsteriskChannel.playDtmf(String digit)
Plays the given DTMF digit on this channel.
|
void |
AsteriskChannel.redirect(String context,
String exten,
int priority)
Redirects this channel to a new extension.
|
void |
AsteriskChannel.redirectBothLegs(String context,
String exten,
int priority)
Redirects this channel and the channel this channel is linked to to a new
extension.
|
void |
AsteriskChannel.setAbsoluteTimeout(int seconds)
Sets the absolute maximum amount of time permitted for a call on a given
channel, it hangs up the channel after this time.
|
void |
AsteriskChannel.setVariable(String variable,
String value)
Sets the value of the given channel variable.
|
void |
AsteriskChannel.startMonitoring(String filename)
Starts monitoring (recording) this channel.
|
void |
AsteriskChannel.startMonitoring(String filename,
String format)
Starts monitoring (recording) this channel using the given audio format.
|
void |
AsteriskChannel.startMonitoring(String filename,
String format,
boolean mix)
Starts monitoring (recording) this channel using the given audio format
and optionally mixing input and output data after recording is finished.
|
void |
AsteriskChannel.stopMonitoring()
Stops monitoring this channel.
|
void |
AsteriskChannel.unPauseMixMonitor(MixMonitorDirection direction)
Re-enables monitoring this channel after calling
AsteriskChannel.pauseMixMonitor(org.asteriskjava.util.MixMonitorDirection) ()}
if this is monitored with MixMonitor |
void |
AsteriskChannel.unpauseMonitoring()
Re-enables monitoring this channel after calling
AsteriskChannel.pauseMonitoring() . |
Modifier and Type | Method and Description |
---|---|
AsteriskChannel |
AsteriskServerImpl.originate(OriginateAction originateAction) |
AsteriskChannel |
AsteriskServerImpl.originateToApplication(String channel,
String application,
String data,
long timeout) |
AsteriskChannel |
AsteriskServerImpl.originateToApplication(String channel,
String application,
String data,
long timeout,
CallerId callerId,
Map<String,String> variables) |
AsteriskChannel |
AsteriskServerImpl.originateToExtension(String channel,
String context,
String exten,
int priority,
long timeout) |
AsteriskChannel |
AsteriskServerImpl.originateToExtension(String channel,
String context,
String exten,
int priority,
long timeout,
CallerId callerId,
Map<String,String> variables) |
Copyright © 2004–2017. All rights reserved.