public class Dial extends EventListenerBaseClass
EventListenerBaseClass.AutoClose| Modifier and Type | Method and Description |
|---|---|
OriginateResult[] |
dial(NewChannelListener listener,
EndPoint localHandset,
EndPoint targetEndPoint,
String dialContext,
CallerID callerID,
boolean hideCallerId,
Map<String,String> channelVarsToSet,
String dialOptions)
Dials the targetEndPoint connecting the call to the localHandset.
|
ListenerPriority |
getPriority()
Set the listeners priority.
|
void |
onManagerEvent(ManagerEvent event)
Called for each manager event that the connection receives for which the
filterEvent returned true.
|
HashSet<Class<? extends ManagerEvent>> |
requiredEvents()
Called whenever the listener is first added and any time any listener is
removed to refresh the list of required events.
|
close, getName, startListenergetDumpRateLimit, withLockpublic Dial(String descriptiveName)
public OriginateResult[] dial(NewChannelListener listener, EndPoint localHandset, EndPoint targetEndPoint, String dialContext, CallerID callerID, boolean hideCallerId, Map<String,String> channelVarsToSet, String dialOptions) throws PBXException
localHandset - the users handset we are going to dial from (e.g.
receptionist phone).targetEndPoint - - the remote handset we are going to connect the
localHandset to.dialContext - - context we are going to dial from.hideCallerId - channelVarsToSet - callerId - - the callerID to display on the targetEndPoint.PBXExceptionpublic HashSet<Class<? extends ManagerEvent>> requiredEvents()
FilteredManagerListenerpublic void onManagerEvent(ManagerEvent event)
FilteredManagerListenerpublic ListenerPriority getPriority()
FilteredManagerListenerCopyright © 2004–2021. All rights reserved.