public class DialToAgi extends EventListenerBaseClass
EventListenerBaseClass.AutoClose| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
OriginateResult[] |
dial(NewChannelListener listener,
EndPoint localHandset,
AgiChannelActivityAction action,
CallerID callerID,
Integer timeout,
boolean hideCallerId,
Map<String,String> channelVarsToSet)
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 DialToAgi(String descriptiveName)
public OriginateResult[] dial(NewChannelListener listener, EndPoint localHandset, AgiChannelActivityAction action, CallerID callerID, Integer timeout, boolean hideCallerId, Map<String,String> channelVarsToSet) throws PBXException, InterruptedException
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.PBXExceptionInterruptedExceptionpublic HashSet<Class<? extends ManagerEvent>> requiredEvents()
FilteredManagerListenerpublic void onManagerEvent(ManagerEvent event)
FilteredManagerListenerpublic ListenerPriority getPriority()
FilteredManagerListenerpublic void abort()
Copyright © 2004–2021. All rights reserved.