public class BlindTransferActivityImpl extends ActivityHelper<BlindTransferActivity> implements BlindTransferActivity
BlindTransferActivity.CompletionCause| Constructor and Description |
|---|
BlindTransferActivityImpl(Call call,
Call.OperandChannel channelToTransfer,
EndPoint transferTarget,
CallerID toCallerID,
boolean autoAnswer,
long timeout,
ActivityCallback<BlindTransferActivity> listener)
Blind transfers a live channel to a given endpoint which may need to be
dialed.
|
BlindTransferActivityImpl(Channel agentChannel,
EndPoint transferTarget,
CallerID toCallerID,
boolean autoAnswer,
int timeout,
ActivityCallback<BlindTransferActivity> iCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
cancels the BlindTransfer.
|
boolean |
doActivity() |
Channel |
getChannelToTransfer() |
BlindTransferActivity.CompletionCause |
getCompletionCause() |
Call |
getNewCall()
The call created as a result of the blind transfer being answered.
|
ListenerPriority |
getPriority() |
EndPoint |
getTransferTarget() |
CallerID |
getTransferTargetCallerID() |
Channel |
getTransferTargetChannel() |
void |
onManagerEvent(ManagerEvent event) |
HashSet<Class<? extends ManagerEvent>> |
requiredEvents() |
getLastException, isSuccess, progess, run, setLastException, startActivity, validateChannelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLastException, isSuccesspublic BlindTransferActivityImpl(Call call, Call.OperandChannel channelToTransfer, EndPoint transferTarget, CallerID toCallerID, boolean autoAnswer, long timeout, ActivityCallback<BlindTransferActivity> listener)
channelToTransfer - The channel which is being transferedtransferTarget - The target to transfer (connect) the channel to.toCallerID - The caller id to display on the target endpoint.timeout - The time to wait (in seconds) for the activity to
complete.listener - public BlindTransferActivityImpl(Channel agentChannel, EndPoint transferTarget, CallerID toCallerID, boolean autoAnswer, int timeout, ActivityCallback<BlindTransferActivity> iCallback) throws PBXException
PBXExceptionpublic boolean doActivity()
throws PBXException
doActivity in class ActivityHelper<BlindTransferActivity>PBXExceptionpublic HashSet<Class<? extends ManagerEvent>> requiredEvents()
public void onManagerEvent(ManagerEvent event)
public ListenerPriority getPriority()
getPriority in class ActivityHelper<BlindTransferActivity>public BlindTransferActivity.CompletionCause getCompletionCause()
getCompletionCause in interface BlindTransferActivitypublic void cancel()
cancel in interface BlindTransferActivitypublic Channel getChannelToTransfer()
getChannelToTransfer in interface BlindTransferActivitypublic CallerID getTransferTargetCallerID()
getTransferTargetCallerID in interface BlindTransferActivitypublic EndPoint getTransferTarget()
getTransferTarget in interface BlindTransferActivitypublic Channel getTransferTargetChannel()
getTransferTargetChannel in interface BlindTransferActivitypublic Call getNewCall() throws PBXException
BlindTransferActivitygetNewCall in interface BlindTransferActivityPBXExceptionCopyright © 2004–2020. All rights reserved.