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 |
AsteriskServer.addAsteriskServerListener(AsteriskServerListener listener)
Adds a listener to this AsteriskServer.
If this server is not yet connected it will be implicitly connected. |
void |
DefaultAsteriskServer.addAsteriskServerListener(AsteriskServerListener listener) |
void |
AsteriskChannel.changeMonitoring(String filename)
Changes the filename of a previously started monitoring.
|
List<String> |
AsteriskServer.executeCliCommand(String command)
Executes a command line interface (CLI) command.
|
List<String> |
DefaultAsteriskServer.executeCliCommand(String command) |
Collection<AsteriskAgent> |
AsteriskServer.getAgents()
Return the agents, registered at Asterisk server.
|
Collection<AsteriskAgent> |
DefaultAsteriskServer.getAgents() |
AsteriskChannel |
AsteriskServer.getChannelById(String id)
Returns a channel by its unique id.
|
AsteriskChannel |
DefaultAsteriskServer.getChannelById(String id) |
AsteriskChannel |
AsteriskServer.getChannelByName(String name)
Returns a channel by its name.
|
AsteriskChannel |
DefaultAsteriskServer.getChannelByName(String name) |
Collection<AsteriskChannel> |
AsteriskServer.getChannels()
Returns the active channels of the Asterisk server.
|
Collection<AsteriskChannel> |
DefaultAsteriskServer.getChannels() |
ConfigFile |
AsteriskServer.getConfig(String filename)
Reads the given Asterisk configuration file.
|
ConfigFile |
DefaultAsteriskServer.getConfig(String filename) |
String |
AsteriskServer.getGlobalVariable(String variable)
Returns the value of the given global variable.
|
String |
DefaultAsteriskServer.getGlobalVariable(String variable) |
MeetMeRoom |
AsteriskServer.getMeetMeRoom(String roomNumber)
Returns the MeetMe room with the given number, if the room does not yet
exist a new
MeetMeRoom object is created. |
MeetMeRoom |
DefaultAsteriskServer.getMeetMeRoom(String name) |
Collection<MeetMeRoom> |
AsteriskServer.getMeetMeRooms()
Returns the acitve MeetMe rooms on the Asterisk server.
|
Collection<MeetMeRoom> |
DefaultAsteriskServer.getMeetMeRooms() |
Collection<AsteriskQueue> |
AsteriskServer.getQueues()
Returns the queues served by the Asterisk server.
|
Collection<AsteriskQueue> |
DefaultAsteriskServer.getQueues() |
String |
AsteriskChannel.getVariable(String variable)
Returns the value of the given channel variable.
|
String |
AsteriskServer.getVersion()
Returns the exact version string of this Asterisk server.
|
String |
DefaultAsteriskServer.getVersion() |
int[] |
AsteriskServer.getVersion(String file)
<<<<<<< HEAD Returns the CVS revision of a given source file of this
Asterisk server.
|
int[] |
DefaultAsteriskServer.getVersion(String file) |
Collection<Voicemailbox> |
AsteriskServer.getVoicemailboxes()
Returns a collection of all voicemailboxes configured for this Asterisk
server with the number of new and old messages they contain.
|
Collection<Voicemailbox> |
DefaultAsteriskServer.getVoicemailboxes() |
void |
AsteriskChannel.hangup()
Hangs up this channel.
|
void |
AsteriskChannel.hangup(HangupCause cause)
Hangs up this channel using a given cause code.
|
void |
AsteriskServer.initialize()
Opens the connection to this server.
|
void |
DefaultAsteriskServer.initialize() |
boolean |
AsteriskServer.isModuleLoaded(String module)
Checks whether a module is currently loaded.
|
boolean |
DefaultAsteriskServer.isModuleLoaded(String module) |
void |
MeetMeUser.kick()
Removes this user from the MeetMe room.
|
void |
AsteriskServer.loadModule(String module)
Loads a module or subsystem
|
void |
DefaultAsteriskServer.loadModule(String module) |
void |
MeetMeRoom.lock()
Locks this room so no addtional users can join.
|
void |
MeetMeUser.mute()
Stops sending voice from this user to the MeetMe room.
|
AsteriskChannel |
AsteriskServer.originate(OriginateAction originateAction)
Generates an outgoing channel.
|
AsteriskChannel |
DefaultAsteriskServer.originate(OriginateAction originateAction) |
void |
AsteriskServer.originateAsync(OriginateAction originateAction,
OriginateCallback cb)
Asynchronously generates an outgoing channel.
|
void |
DefaultAsteriskServer.originateAsync(OriginateAction originateAction,
OriginateCallback cb) |
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) |
void |
AsteriskServer.originateToApplicationAsync(String channel,
String application,
String data,
long timeout,
CallerId callerId,
Map<String,String> variables,
OriginateCallback callback)
Asynchronously generates an outgoing channel to an application and sets
an optional map of channel variables.
|
void |
DefaultAsteriskServer.originateToApplicationAsync(String channel,
String application,
String data,
long timeout,
CallerId callerId,
Map<String,String> variables,
OriginateCallback cb) |
void |
AsteriskServer.originateToApplicationAsync(String channel,
String application,
String data,
long timeout,
OriginateCallback callback)
Asynchronously generates an outgoing channel to an application.
|
void |
DefaultAsteriskServer.originateToApplicationAsync(String channel,
String application,
String data,
long timeout,
OriginateCallback cb) |
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 |
AsteriskServer.originateToExtensionAsync(String channel,
String context,
String exten,
int priority,
long timeout,
CallerId callerId,
Map<String,String> variables,
OriginateCallback callback)
Asynchronously generates an outgoing channel to a dialplan entry
(extension, context, priority) and sets an optional map of channel
variables.
|
void |
DefaultAsteriskServer.originateToExtensionAsync(String channel,
String context,
String exten,
int priority,
long timeout,
CallerId callerId,
Map<String,String> variables,
OriginateCallback cb) |
void |
AsteriskServer.originateToExtensionAsync(String channel,
String context,
String exten,
int priority,
long timeout,
OriginateCallback callback)
Asynchronously generates an outgoing channel to a dialplan entry
(extension, context, priority).
|
void |
DefaultAsteriskServer.originateToExtensionAsync(String channel,
String context,
String exten,
int priority,
long timeout,
OriginateCallback cb) |
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 |
AsteriskServer.reloadAllModules()
Reloads all currently loaded modules.
|
void |
DefaultAsteriskServer.reloadAllModules() |
void |
AsteriskServer.reloadModule(String module)
Reloads a module or subsystem.
|
void |
DefaultAsteriskServer.reloadModule(String module) |
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 |
AsteriskServer.setGlobalVariable(String variable,
String value)
Sets the value of the given global variable.
|
void |
DefaultAsteriskServer.setGlobalVariable(String variable,
String value) |
void |
AsteriskQueueMember.setPaused(boolean paused)
Pauses or unpauses this member on this queue.
|
void |
AsteriskQueueMember.setPausedAll(boolean paused)
Pauses or unpauses this member on all queues.
|
void |
AsteriskQueueMember.setPenalty(int penalty)
Assignes a new penalty to this queue member.
|
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 |
AsteriskServer.unloadModule(String module)
Unloads a module or subsystem.
|
void |
DefaultAsteriskServer.unloadModule(String module) |
void |
MeetMeRoom.unlock()
Unlocks this room so additional users can join again.
|
void |
MeetMeUser.unmute()
(Re)starts sending voice from this user to the MeetMe room.
|
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 |
---|---|
void |
AsteriskServerImpl.addAsteriskServerListener(AsteriskServerListener listener) |
void |
AsteriskServerImpl.dbDel(String family,
String key) |
DbGetResponseEvent |
AsteriskServerImpl.dbGet(String family,
String key) |
void |
AsteriskServerImpl.dbPut(String family,
String key,
String value) |
List<String> |
AsteriskServerImpl.executeCliCommand(String command) |
Collection<AsteriskAgent> |
AsteriskServerImpl.getAgents() |
AsteriskChannel |
AsteriskServerImpl.getChannelById(String id) |
AsteriskChannel |
AsteriskServerImpl.getChannelByName(String name) |
AsteriskChannel |
AsteriskServerImpl.getChannelByNameAndActive(String name) |
Collection<AsteriskChannel> |
AsteriskServerImpl.getChannels() |
ConfigFile |
AsteriskServerImpl.getConfig(String filename) |
String |
AsteriskServerImpl.getGlobalVariable(String variable) |
MeetMeRoom |
AsteriskServerImpl.getMeetMeRoom(String name) |
Collection<MeetMeRoom> |
AsteriskServerImpl.getMeetMeRooms() |
List<PeerEntryEvent> |
AsteriskServerImpl.getPeerEntries() |
Collection<AsteriskQueue> |
AsteriskServerImpl.getQueues() |
String |
AsteriskServerImpl.getVersion() |
int[] |
AsteriskServerImpl.getVersion(String file) |
Collection<Voicemailbox> |
AsteriskServerImpl.getVoicemailboxes() |
void |
AsteriskServerImpl.initialize() |
boolean |
AsteriskServerImpl.isModuleLoaded(String module) |
void |
AsteriskServerImpl.loadModule(String module) |
AsteriskChannel |
AsteriskServerImpl.originate(OriginateAction originateAction) |
void |
AsteriskServerImpl.originateAsync(OriginateAction originateAction,
OriginateCallback cb) |
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) |
void |
AsteriskServerImpl.originateToApplicationAsync(String channel,
String application,
String data,
long timeout,
CallerId callerId,
Map<String,String> variables,
OriginateCallback cb) |
void |
AsteriskServerImpl.originateToApplicationAsync(String channel,
String application,
String data,
long timeout,
OriginateCallback cb) |
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) |
void |
AsteriskServerImpl.originateToExtensionAsync(String channel,
String context,
String exten,
int priority,
long timeout,
CallerId callerId,
Map<String,String> variables,
OriginateCallback cb) |
void |
AsteriskServerImpl.originateToExtensionAsync(String channel,
String context,
String exten,
int priority,
long timeout,
OriginateCallback cb) |
void |
AsteriskServerImpl.reloadAllModules() |
void |
AsteriskServerImpl.reloadModule(String module) |
protected void |
AsteriskServerImpl.sendModuleLoadAction(String module,
String loadType) |
void |
AsteriskServerImpl.setGlobalVariable(String variable,
String value) |
void |
AsteriskServerImpl.unloadModule(String module) |
Copyright © 2004–2022. All rights reserved.