AsterNet Class Library (Sandcastle documentation)
AsterNet Class Library (Sandcastle documentation)
AsterNET.Manager.Event
QueueParamsEvent Class
QueueParamsEvent Constructor
QueueParamsEvent Methods
QueueParamsEvent Properties

| QueueParamsEvent Class

A QueueParamsEvent is triggered in response to a QueueStatusAction and contains the parameters of a queue.
It is implemented in apps/app_queue.c
Inheritance Hierarchy
System
Object
System
EventArgs
AsterNET.Manager.Event
ManagerEvent
AsterNET.Manager.Event
ResponseEvent
AsterNET.Manager.Event
QueueParamsEvent

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 QueueParamsEvent : ResponseEvent

    Public Class QueueParamsEvent
    	Inherits ResponseEvent

    public ref class QueueParamsEvent : public ResponseEvent

    type QueueParamsEvent =
        class
            inherit ResponseEvent
        end

The QueueParamsEvent type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| QueueParamsEvent | Initializes a new instance of the QueueParamsEvent class

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
--- | --- | ---
| Abandoned | Returns the number of abandoned calls.
| ActionId | Get/Set the action id of the ManagerAction that caused this event. (Inherited from ResponseEvent.)
| Attributes | Store all unknown (without setter) keys from manager event. Use in default Parse method Parse(String, String) (Inherited from ManagerEvent.)
| Calls | Returns the number of calls currently waiting in the queue.
| Channel | Get/Set the name of the channel. (Inherited from ManagerEvent.)
| Completed | Returns the number of completed calls.
| 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.)
| Holdtime | Returns the current average holdtime for this queue (in seconds).
| InternalActionId | Get/Set the internal action id of the ManagerAction that caused this event. (Inherited from ResponseEvent.)
| Max | Returns the maximum number of people waiting in the queue or 0 for unlimited. This corresponds to the maxlen setting in queues.conf.
| 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 | Get/Set the name of the queue.
| 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.)
| ServiceLevel | Returns the service level (in seconds) as defined by the servicelevel setting in queues.conf.
| ServiceLevelPerf | Returns the ratio of calls answered within the specified service level per total completed calls (in percent).
| Source | The ManagerConnection the Event was sourced from. (Inherited from ManagerEvent.)
| Strategy | Get/Set queue strategy.
| 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.)
| Weight | Returns the weight of this queue. A queues can be assigned a 'weight' to ensure calls waiting in a higher priority queue will deliver its calls first. Only delays the lower weight queue's call if the member is also in the higher weight queue.

Top
See Also

#### Reference

AsterNET.Manager.Event Namespace
AsterNET.Manager.Action
QueueStatusAction