|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.manager.action.AbstractManagerAction
org.asteriskjava.manager.action.AgentCallbackLoginAction
QueueAddAction
instead.
public class AgentCallbackLoginAction
The AgentCallbackLoginAction sets an agent as logged in with callback.
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 Summary | |
---|---|
AgentCallbackLoginAction()
Deprecated. Creates a new empty AgentCallbackLoginAction. |
|
AgentCallbackLoginAction(java.lang.String agent,
java.lang.String exten)
Deprecated. Creates a new AgentCallbackLoginAction, that logs in the given agent at the given callback extension. |
|
AgentCallbackLoginAction(java.lang.String agent,
java.lang.String exten,
java.lang.String context)
Deprecated. Creates a new AgentCallbackLoginAction, that logs in the given agent at the given callback extension in the given context. |
|
AgentCallbackLoginAction(java.lang.String agent,
java.lang.String exten,
java.lang.String context,
java.lang.Boolean ackCall,
java.lang.Long wrapupTime)
Deprecated. Creates a new AgentCallbackLoginAction, that logs in the given agent at the given callback extension in the given context. |
Method Summary | |
---|---|
java.lang.Boolean |
getAckCall()
Deprecated. Returns if an acknowledgement is needed when agent is called back. |
java.lang.String |
getAction()
Deprecated. Returns the name of this action, i.e. |
java.lang.String |
getAgent()
Deprecated. Returns the name of the agent to log in, for example "1002". |
java.lang.String |
getContext()
Deprecated. Returns the context of the extension to use for callback. |
java.lang.String |
getExten()
Deprecated. Returns the extension to use for callback. |
java.lang.Long |
getWrapupTime()
Deprecated. Returns the minimum amount of time after disconnecting before the caller can receive a new call. |
void |
setAckCall(java.lang.Boolean ackCall)
Deprecated. Sets if an acknowledgement is needed when agent is called back. |
void |
setAgent(java.lang.String agent)
Deprecated. Sets the name of the agent to log in, for example "1002". |
void |
setContext(java.lang.String context)
Deprecated. Sets the context of the extension to use for callback. |
void |
setExten(java.lang.String exten)
Deprecated. Sets the extension to use for callback. |
void |
setWrapupTime(java.lang.Long wrapupTime)
Deprecated. Sets the minimum amount of time after disconnecting before the caller can receive a new call. |
Methods inherited from class org.asteriskjava.manager.action.AbstractManagerAction |
---|
getActionId, setActionId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AgentCallbackLoginAction()
public AgentCallbackLoginAction(java.lang.String agent, java.lang.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(java.lang.String agent, java.lang.String exten, java.lang.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(java.lang.String agent, java.lang.String exten, java.lang.String context, java.lang.Boolean ackCall, java.lang.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.Method Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getAgent()
public void setAgent(java.lang.String agent)
This is property is mandatory.
agent
- the name of the agent to log inpublic java.lang.String getExten()
public void setExten(java.lang.String exten)
This is property is mandatory.
exten
- the extension to use for callback.public java.lang.String getContext()
public void setContext(java.lang.String context)
context
- the context of the extension to use for callback.public java.lang.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(java.lang.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 java.lang.Long getWrapupTime()
public void setWrapupTime(java.lang.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.
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |