Modifier and Type | Method and Description |
---|---|
Channel |
CallStateAnswered.getAcceptingParty() |
Channel |
Call.getAcceptingParty() |
Channel |
CallImpl.getAcceptingParty() |
Channel |
PBX.getChannelByEndPoint(EndPoint endPoint)
Returns the channel currently attached to the given end point, if one
exists.
|
Channel |
Call.getLocalParty()
This method use the CallDirection to determine which leg of the call is
the local call and which is the called/calling party.
|
Channel |
CallImpl.getLocalParty()
This method use the CallDirection to determine which leg of the call is
the local call and which is the called/calling party.
|
Channel |
Call.getOperandChannel(Call.OperandChannel lhs)
retrieves the channel associated with the give Operand.
|
Channel |
CallImpl.getOperandChannel(Call.OperandChannel operand) |
Channel |
Call.getOriginatingParty() |
Channel |
CallImpl.getOriginatingParty()
Returns the originating channel for this call.
|
Channel |
Call.getRemoteParty()
This method use the CallDirection to determine which leg of the call is
the local call and which is the called/calling party.
|
Channel |
CallImpl.getRemoteParty() |
Channel |
Call.getTransferTargetParty() |
Channel |
CallImpl.getTransferTargetParty() |
Modifier and Type | Method and Description |
---|---|
List<Channel> |
Call.getChannels()
Returns a list of the Channels associated with this call.
|
List<Channel> |
CallImpl.getChannels()
Returns all of the Channels associated with this call.
|
Modifier and Type | Method and Description |
---|---|
void |
CallImpl.callDialedOut(Channel remoteChannel,
CallerID fromClid,
CallerID toClid)
Call this method to indicate that this is an outbound call originated by
this NJR instance.
|
void |
AgiChannelActivityAction.cancel(Channel channel) |
void |
ChannelHangupListener.channelHangup(Channel channel,
Integer cause,
String causeText) |
void |
CallImpl.channelHangup(Channel channel,
Integer cause,
String causeText) |
void |
NewChannelListener.channelUpdate(Channel channel)
Allows a listener to be informed as new channels come up during an
originate.
|
void |
PBX.conference(Channel channelOne,
Channel channelTwo,
Channel channelThree)
Sends a DTMF tone to given channel.
|
void |
PBX.conference(Channel channelOne,
Channel channelTwo,
Channel channelThree,
ActivityCallback<Activity> callback)
Sends a DTMF tone to the given channel.
|
boolean |
Call.contains(Channel channel) |
boolean |
CallImpl.contains(Channel parkChannel) |
void |
AgiChannelActivityAction.execute(AgiChannel channel,
Channel ichannel) |
void |
PBX.hangup(Channel channel)
Hangs up the given channel.
|
void |
PBX.hangup(Channel channel,
ActivityCallback<Activity> callback)
Hangs up the given channel.
|
HoldActivity |
PBX.hold(Channel channel)
Put the given channel on hold.
|
boolean |
Channel.isSame(Channel rhs)
Compares if two channels are the same logical channel on the pbx.
|
ParkActivity |
PBX.park(Call call,
Channel parkChannel)
Parks a call by moving the parkChannel to the parking lot and hanging up
the hangupChannel.
|
void |
PBX.park(Call call,
Channel parkChannel,
ActivityCallback<ParkActivity> callback)
Parks a call by moving the parkChannel to the parking lot and hanging up
the hangupChannel.
|
RedirectToActivity |
PBX.redirectToActivity(Channel channel,
ActivityCallback<RedirectToActivity> listener) |
boolean |
Channel.sameEndPoint(Channel rhs) |
void |
PBX.sendDTMF(Channel channel,
DTMFTone tone)
Sends a DTMF tone to given channel.
|
void |
PBX.sendDTMF(Channel channel,
DTMFTone tone,
ActivityCallback<Activity> callback)
Sends a DTMF tone to the given channel.
|
Call |
CallImpl.split(Channel channelToSplit) |
void |
PBX.transferToMusicOnHold(Channel channel) |
boolean |
PBX.waitForChannelToQuiescent(Channel channel,
int timeout) |
Modifier and Type | Method and Description |
---|---|
boolean |
PBX.waitForChannelsToQuiescent(List<Channel> channels,
long timeout) |
Constructor and Description |
---|
CallImpl(Channel originatingChannel,
CallDirection direction) |
CallImpl(Channel agent,
Channel callee) |
CallImpl(Channel originatingChannel,
Channel acceptingChannel,
CallDirection direction) |
CallStateAnswered(Channel acceptingParty) |
Modifier and Type | Method and Description |
---|---|
Channel |
DialActivity.getAcceptingChannel()
Returns the 'accepting' channel which is brought up as part of the dial
activity.
|
Channel |
HoldActivity.getChannel() |
Channel |
BlindTransferActivity.getChannelToTransfer() |
Channel |
DialToAgiActivity.getOriginatingChannel() |
Channel |
DialActivity.getOriginatingChannel()
Returns the 'originating' channel which is brought up as part of the dial
activity.
|
Channel |
BlindTransferActivity.getTransferTargetChannel() |
Modifier and Type | Method and Description |
---|---|
void |
AgiChannelActivityDial.cancel(Channel channel) |
void |
AgiChannelActivityVoicemail.cancel(Channel channel) |
void |
AgiChannelActivityBlindTransfer.cancel(Channel channel) |
void |
AgiChannelActivityQueue.cancel(Channel channel) |
void |
AgiChannelActivityPlayMessage.cancel(Channel channel) |
void |
AgiChannelActivityHangup.cancel(Channel channel) |
void |
AgiChannelActivityMeetme.cancel(Channel channel) |
void |
AgiChannelActivityBridge.cancel(Channel channel) |
void |
AgiChannelActivityHoldForBridge.cancel(Channel channel) |
void |
AgiChannelActivityHold.cancel(Channel channel) |
void |
AgiChannelActivityDial.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityVoicemail.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityBlindTransfer.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityQueue.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityPlayMessage.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityHangup.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityMeetme.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityBridge.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityHoldForBridge.execute(AgiChannel channel,
Channel ichannel) |
void |
AgiChannelActivityHold.execute(AgiChannel channel,
Channel ichannel) |
Constructor and Description |
---|
AgiChannelActivityBridge(Channel target) |
Modifier and Type | Method and Description |
---|---|
Channel |
HangupAction.getChannel() |
Modifier and Type | Method and Description |
---|---|
void |
OriginateAction.setChannel(Channel channel) |
void |
RedirectAction.setExtraChannel(Channel extraChannel) |
Constructor and Description |
---|
BridgeAction(Channel lhs,
Channel rhs) |
GetVarAction(Channel channel,
String variableName) |
HangupAction(Channel channel) |
MonitorAction(Channel channel,
String file,
String format,
boolean mix) |
PlayDtmfAction(Channel channel,
DTMFTone tone) |
RedirectAction(Channel channel,
String context,
EndPoint extension,
int priority) |
SetVarAction(Channel channel,
String variableName,
String value) |
StatusAction(Channel channel) |
Modifier and Type | Method and Description |
---|---|
Channel |
StatusEvent.getBridgedChannel() |
Channel |
OriginateResponseEvent.getChannel() |
Channel |
ChannelEventHelper.getChannel() |
Channel |
StatusEvent.getChannel() |
Channel |
RenameEvent.getChannel() |
Channel |
ChannelEvent.getChannel() |
Channel |
HangupEvent.getChannel() |
Channel |
DndStateEvent.getChannel() |
Channel |
VarSetEvent.getChannel() |
Channel |
NewExtenEvent.getChannel() |
Channel |
BridgeEvent.getChannel1() |
Channel |
BridgeEvent.getChannel2() |
Channel |
MasqueradeEvent.getClone() |
Channel |
DialEvent.getDestination() |
Channel |
NewStateEvent.getDestination() |
Channel |
ParkedCallEvent.getFromChannel()
The channel that parked the call.
|
Channel |
UnparkedCallEvent.getFromChannel() |
Channel |
MasqueradeEvent.getOriginal()
Returns the original channel
|
static Channel |
ChannelEventHelper.registerChannel(String channelName,
String uniqueId,
String callerIdNum,
String callerIdName) |
Modifier and Type | Method and Description |
---|---|
Channel |
UserEvent.getChannel() |
Constructor and Description |
---|
UserEvent(UserEvent source,
Channel channel) |
Modifier and Type | Method and Description |
---|---|
Channel |
DialActivityImpl.getAcceptingChannel() |
Channel |
HoldActivityImpl.getChannel() |
Channel |
BlindTransferActivityImpl.getChannelToTransfer() |
Channel |
DialToAgiActivityImpl.getOriginatingChannel() |
Channel |
DialActivityImpl.getOriginatingChannel() |
Channel |
BlindTransferActivityImpl.getTransferTargetChannel() |
Modifier and Type | Method and Description |
---|---|
void |
DialToAgiActivityImpl.channelUpdate(Channel channel) |
void |
DialActivityImpl.channelUpdate(Channel channel) |
boolean |
ActivityHelper.validateChannel(Channel channel) |
boolean |
DialToAgiActivityImpl.validateChannel(Channel channel) |
boolean |
DialActivityImpl.validateChannel(Channel channel) |
Constructor and Description |
---|
BlindTransferActivityImpl(Channel agentChannel,
EndPoint transferTarget,
CallerID toCallerID,
boolean autoAnswer,
int timeout,
ActivityCallback<BlindTransferActivity> iCallback) |
BridgeActivityImpl(Channel lhsChannel,
Channel rhsChannel,
ActivityCallback<BridgeActivity> callback) |
HoldActivityImpl(Channel channel,
ActivityCallback<HoldActivity> callback) |
ParkActivityImpl(Call call,
Channel parkChannel,
ActivityCallback<ParkActivity> listener) |
RedirectToActivityImpl(Channel channel1,
ActivityCallback<RedirectToActivity> listener)
Splits a call by moving each of its two channels into the Activity agi.
|
Modifier and Type | Method and Description |
---|---|
Channel[] |
MeetmeRoom.getChannels() |
Modifier and Type | Method and Description |
---|---|
boolean |
MeetmeRoom.addChannel(Channel channel) |
void |
MeetmeRoom.removeChannel(Channel channel) |
Modifier and Type | Class and Description |
---|---|
class |
ChannelImpl
TODO set the channel unique id when registering against an existing channel
which doesn't have its unique id set.
|
class |
ChannelProxy
The ChannelProxy exists to deal with the fact that Asterisk will often
replace a channel during a call.
|
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelProxy.getChannel()
returns the current channel
|
Channel |
DialLocalToAgiActivity.getChannel1() |
Channel |
DialLocalToAgiActivity.getChannel2() |
Channel |
AsteriskPBX.getChannelByEndPoint(EndPoint endPoint) |
Channel |
AsteriskPBX.internalRegisterChannel(String channelName,
String uniqueID)
This method is not part of the public API.
|
Channel |
AsteriskPBX.registerChannel(String channelName,
String uniqueIdParam) |
Channel |
AsteriskPBX.registerHangupChannel(String channel,
String uniqueId) |
Modifier and Type | Method and Description |
---|---|
BlindTransferActivity |
AsteriskPBX.blindTransfer(Channel agentChannel,
EndPoint transferTarget,
CallerID toCallerID,
boolean autoAnswer,
int timeout,
ActivityCallback<BlindTransferActivity> iCallback) |
BridgeActivity |
AsteriskPBX.bridge(Channel lhsChannel,
Channel rhsChannel)
Utility method to bridge two channels
|
void |
ChannelProxy.channelHangup(Channel channel,
Integer cause,
String causeText) |
void |
CallTracker.channelHangup(Channel channel,
Integer cause,
String causeText) |
void |
AsteriskPBX.channelHangup(Channel channel,
Integer cause,
String causeText) |
void |
AsteriskPBX.conference(Channel channelOne,
Channel channelTwo,
Channel channelThree) |
void |
AsteriskPBX.conference(Channel channelOne,
Channel channelTwo,
Channel channelThree,
ActivityCallback<Activity> callback) |
int |
CallTracker.findChannel(Channel newChannel) |
String |
AsteriskPBX.getVariable(Channel channel,
String name) |
void |
AsteriskPBX.hangup(Channel channel) |
void |
AsteriskPBX.hangup(Channel channel,
ActivityCallback<Activity> callback) |
HoldActivity |
AsteriskPBX.hold(Channel channel) |
boolean |
ChannelImpl.isSame(Channel _rhs)
*************************************************************************
************************** The remaining methods are bridging methods to
the new abstract PBX classes.
|
boolean |
ChannelProxy.isSame(Channel rhs) |
void |
ChannelImpl.masquerade(Channel channel)
designed for use by the ChannelProxy when a channel is being cloned as a
result of Asterisk undertaking an Masquerade.
|
void |
AsteriskPBX.moveChannelTo(Channel channel,
String context,
String exten,
int prio) |
boolean |
AsteriskPBX.moveChannelToAgi(Channel channel) |
ParkActivity |
AsteriskPBX.park(Call call,
Channel parkChannel) |
void |
AsteriskPBX.park(Call call,
Channel parkChannel,
ActivityCallback<ParkActivity> callback) |
RedirectToActivity |
AsteriskPBX.redirectToActivity(Channel channel,
ActivityCallback<RedirectToActivity> listener) |
Peer |
PeerMonitor.registerPeer(Channel newChannel) |
void |
CallTracker.remove(Channel channel)
Remove a channel from the call.
|
boolean |
ChannelImpl.sameEndPoint(Channel rhs) |
boolean |
ChannelProxy.sameEndPoint(Channel rhs) |
void |
AsteriskPBX.sendDTMF(Channel channel,
DTMFTone tone) |
void |
AsteriskPBX.sendDTMF(Channel channel,
DTMFTone tone,
ActivityCallback<Activity> callback) |
void |
AsteriskPBX.setVariable(Channel channel,
String name,
String value) |
void |
AsteriskPBX.transferToMusicOnHold(Channel channel) |
boolean |
AsteriskPBX.waitForChannelToQuiescent(Channel channel,
int timeout) |
Modifier and Type | Method and Description |
---|---|
boolean |
AsteriskPBX.waitForChannelsToQuiescent(List<Channel> channels,
long timeout)
Waits for a channel to become quiescent.
|
Modifier and Type | Method and Description |
---|---|
Channel |
OriginateResult.getChannel() |
Modifier and Type | Method and Description |
---|---|
void |
RedirectCall.redirect(Channel channel,
AgiChannelActivityAction channelActivityHold) |
boolean |
RedirectCall.redirect(Channel channel,
EndPoint targetEndPoint,
String context,
boolean autoAnswer) |
boolean |
RedirectToMeetMe.redirectToMeetme(Channel channel,
String room,
boolean markedUser,
boolean passDTMF) |
boolean |
RedirectCall.redirectToVoicemail(Channel channel,
EndPoint mailbox) |
void |
OriginateResult.setChannelData(Channel channel) |
Constructor and Description |
---|
OriginateBaseClass(NewChannelListener listener,
Channel monitor,
Channel monitor2) |
Copyright © 2004–2017. All rights reserved.