AsterNet Class Library (Sandcastle documentation)

| QueueMemberPauseEvent Class

Raised when a member is paused/unpaused in the queue.
Available since : Asterisk 12.
Inheritance Hierarchy
System
Object
System
EventArgs
AsterNET.Manager.Event
ManagerEvent
AsterNET.Manager.Event
AbstractQueueMemberEvent
AsterNET.Manager.Event
QueueMemberPauseEvent

Namespace: AsterNET.Manager.Event
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
C++
F#
Copy

    public class QueueMemberPauseEvent : AbstractQueueMemberEvent

    Public Class QueueMemberPauseEvent
    	Inherits AbstractQueueMemberEvent

    public ref class QueueMemberPauseEvent : public AbstractQueueMemberEvent

    type QueueMemberPauseEvent =
        class
            inherit AbstractQueueMemberEvent
        end

The QueueMemberPauseEvent type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| QueueMemberPauseEvent | Creates a new QueueMemberPauseEvent

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| Parse | Unknown properties parser (Inherited from ManagerEvent.)
| ParseSpecial | Unknown properties parser. (Inherited from ManagerEvent.)
| ToString | Convert all properties to string (Inherited from ManagerEvent.)

Top
Properties

| Name | Description
--- | --- | ---
| Attributes | Store all unknown (without setter) keys from manager event. Use in default Parse method Parse(String, String) (Inherited from ManagerEvent.)
| CallsTaken | The number of calls this queue member has serviced. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)
| Channel | Get/Set the name of the channel. (Inherited from ManagerEvent.)
| DateReceived | 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.)
| InCall | Evaluates if member is in call, after LastCall time is updated. Available since : Asterisk 13. (Inherited from AbstractQueueMemberEvent.)
| Interface | The queue member's channel technology or location. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)
| LastCall | The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)
| Location | 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.)
| MemberName | The name of the queue member. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)
| Membership | "dynamic" if the added member is a dynamic queue member, "realtime" if the added member is a realtime queue member, "static" if the added member is a static queue member. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)
| Paused | When queue member is paused (not accepting calls). Evaluates if this member has been paused, if not. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)
| PausedReason | If set when paused, the reason the queue member was paused. Available since : Asterisk 13. (Inherited from AbstractQueueMemberEvent.)
| Penalty | The penalty associated with the queue member. When calls are distributed members with higher penalties are considered last. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)
| Privilege | 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.)
| Queue | The name of the queue. (Inherited from AbstractQueueMemberEvent.)
| Reason | The reason a member was paused.
| Ringinuse | Evaluates if Ringinuse, if not. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)
| Server | 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.)
| Source | The ManagerConnection the Event was sourced from. (Inherited from ManagerEvent.)
| StateInterface | Channel technology or location from which to read device state changes. Available since : Asterisk 12. (Inherited from AbstractQueueMemberEvent.)

Status

The numeric device state status of the queue member.

Valid status codes are:

0. AST_DEVICE_UNKNOWN
1. AST_DEVICE_NOT_INUSE
2. AST_DEVICE_INUSE
3. AST_DEVICE_BUSY
4. AST_DEVICE_INVALID
5. AST_DEVICE_UNAVAILABLE
6. AST_DEVICE_RINGING
7. AST_DEVICE_RINGINUSE
8. AST_DEVICE_ONHOLD

Available since : Asterisk 12.
(Inherited from AbstractQueueMemberEvent.)

| Timestamp | 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.)
| UniqueId | Get/Set the unique id of the channel. (Inherited from ManagerEvent.)

Top
See Also

#### Reference

AsterNET.Manager.Event Namespace