public class DialToAgiActivityImpl extends ActivityHelper<DialToAgiActivity> implements DialToAgiActivity, NewChannelListener
| Constructor and Description |
|---|
DialToAgiActivityImpl(EndPoint originating,
CallerID toCallerID,
Integer timeout,
boolean hideToCallerID,
ActivityCallback<DialToAgiActivity> listener,
Map<String,String> channelVarsToSet,
AgiChannelActivityAction action) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
boolean |
cancelledByOperator() |
void |
channelUpdate(Channel channel)
Allows a listener to be informed as new channels come up during an
originate.
|
void |
dial() |
boolean |
doActivity() |
Channel |
getOriginatingChannel() |
EndPoint |
getOriginatingEndPoint() |
ListenerPriority |
getPriority() |
void |
markCancelled()
Called if the user cancels the call after starting it.
|
void |
onManagerEvent(ManagerEvent event) |
HashSet<Class<? extends ManagerEvent>> |
requiredEvents() |
boolean |
validateChannel(Channel channel) |
getLastException, isSuccess, progess, run, setLastException, startActivitygetDumpRateLimit, withLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLastException, isSuccesspublic DialToAgiActivityImpl(EndPoint originating, CallerID toCallerID, Integer timeout, boolean hideToCallerID, ActivityCallback<DialToAgiActivity> listener, Map<String,String> channelVarsToSet, AgiChannelActivityAction action)
public void dial()
dial in interface DialToAgiActivitypublic boolean doActivity()
throws PBXException
doActivity in class ActivityHelper<DialToAgiActivity>PBXExceptionpublic void markCancelled()
markCancelled in interface DialToAgiActivitypublic Channel getOriginatingChannel()
getOriginatingChannel in interface DialToAgiActivitypublic EndPoint getOriginatingEndPoint()
getOriginatingEndPoint in interface DialToAgiActivitypublic void channelUpdate(Channel channel)
NewChannelListenerchannelUpdate in interface NewChannelListenerpublic boolean validateChannel(Channel channel)
validateChannel in class ActivityHelper<DialToAgiActivity>public boolean cancelledByOperator()
cancelledByOperator in interface DialToAgiActivitypublic HashSet<Class<? extends ManagerEvent>> requiredEvents()
public ListenerPriority getPriority()
getPriority in class ActivityHelper<DialToAgiActivity>public void onManagerEvent(ManagerEvent event)
public void abort()
abort in interface DialToAgiActivityCopyright © 2004–2022. All rights reserved.