Click or drag to resize
AgentCallbackLoginAction Class
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
Inheritance Hierarchy
SystemObject
  AsterNET.Manager.ActionManagerAction
    AsterNET.Manager.ActionAgentCallbackLoginAction

Namespace: AsterNET.Manager.Action
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class AgentCallbackLoginAction : ManagerAction

The AgentCallbackLoginAction type exposes the following members.

Constructors
  NameDescription
Public methodAgentCallbackLoginAction
Creates a new empty AgentCallbackLoginAction.
Public methodAgentCallbackLoginAction(String, String)
Creates a new AgentCallbackLoginAction, that logs in the given agent at the given callback extension.
Public methodAgentCallbackLoginAction(String, String, String)
Creates a new AgentCallbackLoginAction, that logs in the given agent at the given callback extension in the given context.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from ManagerAction.)
Top
Properties
  NameDescription
Public propertyAckCall
Get/Set if an acknowledgement is needed when agent is called back.
true if acknowledgement by '#' is required when agent is called back, false otherwise. This property is optional, it allows you to override the defaults defined in Asterisk's configuration.
Public propertyAction
Get the name of this action, i.e. "AgentCallbackLogin".
(Overrides ManagerActionAction.)
Public propertyActionId (Inherited from ManagerAction.)
Public propertyAgent
Get/Set the name of the agent to log in, for example "1002".
This is property is mandatory.
Public propertyContext
Get/Set the context of the extension to use for callback.
Public propertyExten
Get/Set the extension to use for callback.
This is property is mandatory.
Public propertyProxyKey
You can use this as a simple authentication mechanism.
Rather than have to login with a username & password, you can specify a ProxyKey that must be passed from a client before requests are processed.
This is helpful in situations where you would like to authenticate and execute an action in a single step.
(Inherited from ManagerAction.)
Public propertyServer
Specify a server to which to send your commands (x.x.x.x or hostname).
This should match the server name specified in your config file's "host" entry. If you do not specify a server, the proxy will pick the first one it finds -- fine in single-server configurations.
(Inherited from ManagerAction.)
Public propertyWrapupTime
Returns the minimum amount of time (in milliseconds) after disconnecting before the caller can receive a new call.
This property is optional, it allows you to override the defaults defined in Asterisk's configuration.
Top
See Also