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

| ZapShowChannelsEvent Class

A ZapShowChannelsEvent is triggered in response to a ZapShowChannelsAction and shows the state of a zap channel.
Inheritance Hierarchy
System
Object
System
EventArgs
AsterNET.Manager.Event
ManagerEvent
AsterNET.Manager.Event
ResponseEvent
AsterNET.Manager.Event
ZapShowChannelsEvent

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

    Public Class ZapShowChannelsEvent
    	Inherits ResponseEvent

    public ref class ZapShowChannelsEvent : public ResponseEvent

    type ZapShowChannelsEvent =
        class
            inherit ResponseEvent
        end

The ZapShowChannelsEvent type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| ZapShowChannelsEvent | Initializes a new instance of the ZapShowChannelsEvent 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
--- | --- | ---
| ActionId | Get/Set the action id of the ManagerAction that caused this event. (Inherited from ResponseEvent.)
| Alarm | Get/Set the alarm state of this zap channel. This may be one of Red Alarm Yellow Alarm Blue Alarm Recovering Loopback Not Open No Alarm
| Attributes | Store all unknown (without setter) keys from manager event. Use in default Parse method Parse(String, String) (Inherited from ManagerEvent.)
| Channel | Get/Set the name of the channel. (Inherited from ManagerEvent.)
| Context | Get/Set the context of this zap channel as defined in zapata.conf.
| 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.)
| InternalActionId | Get/Set the internal action id of the ManagerAction that caused this event. (Inherited from ResponseEvent.)
| 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.)
| 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.)
| Signalling | Get/Set the signalling of this zap channel. Possible values are: E & M Immediate E & M Wink E & M E1 Feature Group D (DTMF) Feature Group D (MF) Feature Group B (MF) E911 (MF) FXS Loopstart FXS Groundstart FXS Kewlstart FXO Loopstart FXO Groundstart FXO Kewlstart PRI Signalling R2 Signalling SF (Tone) Signalling Immediate SF (Tone) Signalling Wink SF (Tone) Signalling with Feature Group D (DTMF) SF (Tone) Signalling with Feature Group D (MF) SF (Tone) Signalling with Feature Group B (MF) GR-303 Signalling with FXOKS GR-303 Signalling with FXSKS Pseudo Signalling
| Source | The ManagerConnection the Event was sourced from. (Inherited from ManagerEvent.)
| 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
AsterNET.Manager.Action
ZapShowChannelsAction