QueueAddAction
instead.@Deprecated public class AgentCallbackLoginAction extends AbstractManagerAction
You can pass an extentsion (and optionally a context) to specify the destination of the callback.
In contrast to the AgentCallbackLogin application that you can use within Asterisk's dialplan, you don't need to know the agent's password when logging in an agent.
Available since Asterisk 1.2, deprecated in Asterisk 1.4 and removed in Asterisk 1.6.
Constructor and Description |
---|
AgentCallbackLoginAction()
Deprecated.
Creates a new empty AgentCallbackLoginAction.
|
AgentCallbackLoginAction(String agent,
String exten)
Deprecated.
Creates a new AgentCallbackLoginAction, that logs in the given agent at
the given callback extension.
|
AgentCallbackLoginAction(String agent,
String exten,
String context)
Deprecated.
Creates a new AgentCallbackLoginAction, that logs in the given agent at
the given callback extension in the given context.
|
AgentCallbackLoginAction(String agent,
String exten,
String context,
Boolean ackCall,
Long wrapupTime)
Deprecated.
Creates a new AgentCallbackLoginAction, that logs in the given agent at
the given callback extension in the given context.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAckCall()
Deprecated.
Returns if an acknowledgement is needed when agent is called back.
|
String |
getAction()
Deprecated.
Returns the name of this action, i.e.
|
String |
getAgent()
Deprecated.
Returns the name of the agent to log in, for example "1002".
|
String |
getContext()
Deprecated.
Returns the context of the extension to use for callback.
|
String |
getExten()
Deprecated.
Returns the extension to use for callback.
|
Long |
getWrapupTime()
Deprecated.
Returns the minimum amount of time after disconnecting before the caller
can receive a new call.
|
void |
setAckCall(Boolean ackCall)
Deprecated.
Sets if an acknowledgement is needed when agent is called back.
|
void |
setAgent(String agent)
Deprecated.
Sets the name of the agent to log in, for example "1002".
|
void |
setContext(String context)
Deprecated.
Sets the context of the extension to use for callback.
|
void |
setExten(String exten)
Deprecated.
Sets the extension to use for callback.
|
void |
setWrapupTime(Long wrapupTime)
Deprecated.
Sets the minimum amount of time after disconnecting before the caller can
receive a new call.
|
getActionId, setActionId, toString
public AgentCallbackLoginAction()
public AgentCallbackLoginAction(String agent, String exten)
agent
- the name of the agent to log inexten
- the extension that is called to connect a queue member with
this agentpublic AgentCallbackLoginAction(String agent, String exten, String context)
agent
- the name of the agent to log inexten
- the extension that is called to connect a queue member with
this agentcontext
- the context of the extension to use for callbackpublic AgentCallbackLoginAction(String agent, String exten, String context, Boolean ackCall, Long wrapupTime)
agent
- the name of the agent to log inexten
- the extension that is called to connect a queue member with
this agentcontext
- the context of the extension to use for callbackackCall
- Boolean.TRUE
to require an acknowledgement by
'#' when agent is called back, Boolean.FALSE
otherwise.
null
if default should be used.wrapupTime
- the minimum amount of time (in seconds) after disconnecting before
the caller can receive a new call.
null
if default should be used.public String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public String getAgent()
public void setAgent(String agent)
This is property is mandatory.
agent
- the name of the agent to log inpublic String getExten()
public void setExten(String exten)
This is property is mandatory.
exten
- the extension to use for callback.public String getContext()
public void setContext(String context)
context
- the context of the extension to use for callback.public Boolean getAckCall()
Boolean.TRUE
if acknowledgement by '#' is required when agent is
called back, Boolean.FALSE
otherwise. null
if
default should be used.public void setAckCall(Boolean ackCall)
This property is optional, it allows you to override the defaults defined in Asterisk's configuration.
ackCall
- Boolean.TRUE
to require an acknowledgement by
'#' when agent is called back, Boolean.FALSE
otherwise.
null
if default should be used.public Long getWrapupTime()
public void setWrapupTime(Long wrapupTime)
This property is optional, it allows you to override the defaults defined in Asterisk's configuration.
wrapupTime
- the minimum amount of time (in seconds) after disconnecting before
the caller can receive a new call.
null
if default should be used.Copyright © 2004–2016. All rights reserved.