Click or drag to resize
QueueMemberAddedEvent Class
A QueueMemberAddedEvent is triggered when a queue member is added to a queue.
It is implemented in apps/app_queue.c.

Available since : Asterisk 1.2.

Inheritance Hierarchy

Namespace: AsterNET.Manager.Event
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class QueueMemberAddedEvent : AbstractQueueMemberEvent

The QueueMemberAddedEvent type exposes the following members.

Constructors
  NameDescription
Public methodQueueMemberAddedEvent
Creates a new QueueMemberAddedEvent
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 methodParse
Unknown properties parser
(Inherited from ManagerEvent.)
Public methodParseSpecial
Unknown properties parser.
(Inherited from ManagerEvent.)
Public methodToString
Convert all properties to string
(Inherited from ManagerEvent.)
Top
Properties
  NameDescription
Public propertyAttributes
Store all unknown (without setter) keys from manager event.
Use in default Parse method Parse(String, String)
(Inherited from ManagerEvent.)
Public propertyCallsTaken
Get/Set the number of calls answered by the member.
Public propertyChannel
Get/Set the name of the channel.
(Inherited from ManagerEvent.)
Public propertyDateReceived
Get/Set the point in time this event was received from the Asterisk server.
Pseudo events that are not directly received from the asterisk server (for example ConnectEvent and DisconnectEvent) may return null.
(Inherited from ManagerEvent.)
Public propertyInCall
Evaluates if member is in call, after LastCall time is updated.
Available since : Asterisk 13.
(Inherited from AbstractQueueMemberEvent.)
Public propertyInterface
The queue member's channel technology or location.
Available since : Asterisk 12.
(Inherited from AbstractQueueMemberEvent.)
Public propertyLastCall
Get/Set the time (in seconds since 01/01/1970) the last successful call answered by the added member was hungup.
Public propertyLocation
Returns the name of the member's interface.
E.g. the channel name or agent group.
Removed since : Asterisk 12.
Replaced by : Interface since Asterisk 12.
(Inherited from AbstractQueueMemberEvent.)
Public propertyMemberName
Returns the name of the member's interface.
E.g. the channel name or agent group.
Public propertyMembership
Get/Set if the added member is a dynamic or static queue member. "dynamic" if the added member is a dynamic queue member, "static" if the added member is a static queue member.
Public propertyPaused
Get/Set value if this queue member is paused (not accepting calls).
true if this member has been paused or false if not.
Public propertyPausedReason
If set when paused, the reason the queue member was paused.
Available since : Asterisk 13.
(Inherited from AbstractQueueMemberEvent.)
Public propertyPenalty
Get/Set the penalty for the added member. When calls are distributed members with higher penalties are considered last.
Public propertyPrivilege
Get/Set the AMI authorization class of this event.
This is one or more of system, call, log, verbose, command, agent or user. Multiple privileges are separated by comma.
Note: This property is not available from Asterisk 1.0 servers.
(Inherited from ManagerEvent.)
Public propertyQueue
The name of the queue.
(Inherited from AbstractQueueMemberEvent.)
Public propertyRinginuse
Evaluates if Ringinuse, if not.
Available since : Asterisk 12.
(Inherited from AbstractQueueMemberEvent.)
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 ManagerEvent.)
Public propertySource
The ManagerConnection the Event was sourced from.
(Inherited from ManagerEvent.)
Public propertyStateInterface
Channel technology or location from which to read device state changes.
Available since : Asterisk 12.
(Inherited from AbstractQueueMemberEvent.)
Public propertyStatus
Get/Set the status of this queue member.
Valid status codes are:
  1. AST_DEVICE_UNKNOWN
  2. AST_DEVICE_NOT_INUSE
  3. AST_DEVICE_INUSE
  4. AST_DEVICE_BUSY
  5. AST_DEVICE_INVALID
  6. AST_DEVICE_UNAVAILABLE
  7. AST_DEVICE_RINGING
  8. AST_DEVICE_RINGINUSE
  9. AST_DEVICE_ONHOLD
Public propertyTimestamp
Returns the timestamp for this event.
The timestamp property is available in Asterisk since 1.4 if enabled in manager.conf by setting timestampevents = yes. In contains the time the event was generated in seconds since the epoch.
(Inherited from ManagerEvent.)
Public propertyUniqueId
Get/Set the unique id of the channel.
(Inherited from ManagerEvent.)
Top
See Also