Click or drag to resize
AsterNET.Manager.Event Namespace
AsterNet Manager Event
Classes
  ClassDescription
Public classAbstractAgentEvent
Abstract base class for several agent related events.
Public classAbstractAgentVariables
Public classAbstractChannelEvent
Abstract base class providing common properties for HangupEvent, NewChannelEvent and NewStateEvent.
Public classAbstractConfbridgeEvent
Public classAbstractMeetmeEvent
Abstract base class providing common properties for meet me (asterisk's conference system) events.
Public classAbstractParkedCallEvent
Abstract base class for several call parking related events.
Public classAbstractQueueMemberEvent
Abstract base class for several queue member related events.
Public classAgentCallbackLoginEvent
An AgentCallbackLoginEvent is triggered when an agent is successfully logged in using AgentCallbackLogin.
It is implemented in channels/chan_agent.c
Public classAgentCallbackLogoffEvent
An AgentCallbackLogoffEvent is triggered when an agent that previously logged in using AgentCallbackLogin is logged of.
It is implemented in channels/chan_agent.c
Public classAgentCalledEvent
An AgentCalledEvent is triggered when an agent is rung.
To enable AgentCalledEvents you have to set eventwhencalled = yes in queues.conf.
This event is implemented in apps/app_queue.c
Public classAgentCompleteEvent
An AgentCompleteEvent is triggered when at the end of a call if the caller was connected to an agent.
Public classAgentConnectEvent
An AgentConnectEvent is triggered when a caller is connected to an agent.
Public classAgentDumpEvent
An AgentDumpEvent is triggered when an agent dumps the caller while listening to the queue announcement.
Public classAgentLoginEvent
An AgentLoginEvent is triggered when an agent is successfully logged in using AgentLogin.
It is implemented in channels/chan_agent.c
Public classAgentLogoffEvent
An AgentCallbackLogoffEvent is triggered when an agent that previously logged in using AgentLogin is logged of. It is implemented in channels/chan_agent.c
Public classAgentsCompleteEvent
An AgentsCompleteEvent is triggered after the state of all agents has been reported in response to an AgentsAction.
Available since Asterisk 1.2
Public classAgentsEvent
An AgentsEvent is triggered for each agent in response to an AgentsAction.
Available since Asterisk 1.2
Public classAGIExecEvent
AgiExecEvents are triggered when an AGI command is executed.
For each command two events are triggered: one before excution ("Start") and one after execution ("End").
Public classAlarmClearEvent
An AlarmEvent is triggered when a Zap channel leaves alarm state.
It is implemented in channels/chan_zap.c
Public classAlarmEvent
An AlarmEvent is triggered when a Zap channel enters or changes alarm state.
It is implemented in channels/chan_zap.c
Public classAsyncAGIEvent
Public classAttendedTransferEvent
Public classBlindTransferEvent
Public classBridgeActivityEvent
Public classBridgeCreateEvent
Public classBridgeDestroyEvent
Public classBridgeEnterEvent
Public classBridgeEvent
A BridgeEvent is triggered when a link between two voice channels is established ("Link") or discontinued ("Unlink"). As of Asterisk 1.6 the Bridge event is reported directly by Asterisk. Asterisk versions up to 1.4 report individual events: LinkEvent and UnlinkEvent. For maximum compatibily do not use the Link and Unlink events in your code. Just use the Bridge event and check for isLink() and isUnlink().
Public classBridgeLeaveEvent
Public classBridgeStateEvent
Public classCdrEvent
A CdrEvent is triggered when a call detail record is generated, usually at the end of a call.
To enable CdrEvents you have to add enabled = yes to the general section in cdr_manager.conf.
This event is implemented in cdr/cdr_manager.c
Public classChannelReloadEvent
Public classChannelUpdateEvent
Public classConfbridgeEndEvent
Public classConfbridgeJoinEvent
Public classConfbridgeLeaveEvent
Public classConfbridgeListCompleteEvent
Public classConfbridgeListEvent
Public classConfbridgeListRoomsCompleteEvent
Public classConfbridgeListRoomsEvent
Public classConfbridgeStartEvent
Public classConfbridgeTalkingEvent
Public classConnectEvent
A ConnectEvent is triggered after successful login to the asterisk server.
It is a pseudo event not directly related to an asterisk generated event.
Public classConnectionStateEvent
Abstract base class for several agent related events.
Public classDBGetResponseEvent
A DBGetResponseEvent is sent in response to a DBGetAction and contains the entry that was queried.
Available since Asterisk 1.2
Public classDialBeginEvent
A dial begin event is triggered whenever when a dial action has started.
Public classDialEndEvent
A dial begin event is triggered whenever when a dial action has completed.
Public classDialEvent
A dial event is triggered whenever a phone attempts to dial someone.
This event is implemented in apps/app_dial.c.
Available since Asterisk 1.2.
Public classDisconnectEvent
A DisconnectEvent is triggered when the connection to the asterisk server is lost.
It is a pseudo event not directly related to an asterisk generated event.
Public classDNDStateEvent
A DNDStateEvent is triggered by the Zap channel driver when a channel enters or leaves DND (do not disturb) state.
It is implemented in channels/chan_zap.c.
Available since Asterisk 1.2
Public classDTMFEvent
Public classExtensionStatusEvent
An ExtensionStatusEvent is triggered when the state of an extension changes.
It is implemented in manager.c
Public classFailedACLEvent
Public classFaxReceivedEvent
A FaxReceivedEvent is triggered by spandsp after a new fax has been received.
It is only available if you installed the spandsp patches to Asterisk.
See http://soft-switch.org/installing-spandsp.html for details.
Implemented in apps/app_rxfax.c.
Public classHangupEvent
A HangupEvent is triggered when a channel is hung up.
It is implemented in channel.c
Public classHoldedCallEvent
A HoldedCallEvent is triggered when a channel is put on hold.
It is implemented in res/res_features.c
Public classHoldEvent
A HoldEvent is triggered by the SIP channel driver when a channel is put on hold.
It is implemented in channels/chan_sip.c.
Available since Asterisk 1.2
Public classJabberEvent
Public classJitterBufStatsEvent
Public classJoinEvent
A JoinEvent is triggered when a channel joines a queue.
It is implemented in apps/app_queue.c
Public classLeaveEvent
A LeaveEvent is triggered when a channel leaves a queue.
It is implemented in apps/app_queue.c
Public classLinkEvent
A LinkEvent is triggered when two voice channels are linked together and voice data exchange commences.
Several Link events may be seen for a single call. This can occur when Asterisk fails to setup a native bridge for the call. This is when Asterisk must sit between two telephones and perform CODEC conversion on their behalf.
Public classLogChannelEvent
A LogChannelEvent is triggered when logging is turned on or off.
It is implemented in logger.c
Public classManagerEvent
Abstract base class for all Events that can be received from the Asterisk server.
Events contain data pertaining to an event generated from within the Asterisk core or an extension module.
There is one conrete subclass of ManagerEvent per each supported Asterisk Event. Channel / Privilege / UniqueId are not common to all events and should be moved to derived event classes.
Public classMeetmeEndEvent
Public classMeetmeJoinEvent
A MeetMeJoinEvent is triggered if a channel joins a meet me conference.
It is implemented in apps/app_meetme.c
Public classMeetmeLeaveEvent
A MeetMeLeaveEvent is triggered if a channel leaves a meet me conference.
It is implemented in apps/app_meetme.c
Public classMeetmeMuteEvent
Public classMeetmeStopTalkingEvent
A MeetMeStopTalkingEvent is triggered when a user ends talking in a meet me conference.
It is implemented in apps/app_meetme.c
Public classMeetmeTalkingEvent
A MeetMeTalkingEvent is triggered when a user starts talking in a meet me conference.
Public classMeetmeTalkRequestEvent
Public classMessageWaitingEvent
A MessageWaitingEvent is triggered when someone leaves voicemail.
It is implemented in apps/app_voicemail.c
Public classMobileStatusEvent
Public classModuleLoadReportEvent
Public classMonitorStartEvent
Public classMonitorStopEvent
Public classNewAccountCodeEvent
Public classNewCallerIdEvent
A NewCallerIdEvent is triggered when the caller id of a channel changes.
It is implemented in channel.c
Public classNewChannelEvent
A NewChannelEvent is triggered when a new channel is created.
It is implemented in channel.c
Public classNewExtenEvent
A NewExtenEvent is triggered when a channel is connected to a new extension.
It is implemented in pbx.c
Public classNewStateEvent
A NewStateEvent is triggered when the state of a channel has changed.
It is implemented in channel.c
Public classOriginateResponseEvent
Public classParkedCallEvent
A ParkedCallEvent is triggered when a channel is parked (in this case no action id is set) and in response to a ParkedCallsAction.
It is implemented in res/res_features.c
Public classParkedCallGiveUpEvent
A ParkedCallGiveUpEvent is triggered when a channel that has been parked is hung up.
It is implemented in res/res_features.c
Available since Asterisk 1.2
Public classParkedCallsCompleteEvent
A ParkedCallsCompleteEvent is triggered after all parked calls have been reported in response to a ParkedCallsAction.
Public classParkedCallTimeOutEvent
A ParkedCallTimeOutEvent is triggered when call parking times out for a given channel.
It is implemented in res/res_features.c
Available since Asterisk 1.2
Public classPeerEntryEvent
A PeerEntryEvent is triggered in response to a SIPPeersAction or SIPShowPeerAction and contains information about a peer.
It is implemented in channels/chan_sip.c
Public classPeerlistCompleteEvent
A PeerlistCompleteEvent is triggered after the details of all peers has been reported in response to an SIPPeersAction or SIPShowPeerAction.
Available since Asterisk 1.2
Public classPeerStatusEvent
A PeerStatusEvent is triggered when a SIP or IAX client attempts to registrer at this asterisk server.
This event is implemented in channels/chan_iax2.c and channels/chan_sip.c
Public classPRIEvent
Public classQueueCallerAbandonEvent
Public classQueueCallerJoinEvent
A QueueCallerJoinEvent is triggered when a channel joins a queue.
Public classQueueCallerLeaveEvent
A QueueCallerLeaveEvent is triggered when a channel leaves a queue.
Public classQueueEntryEvent
A QueueEntryEvent is triggered in response to a QueueStatusAction and contains information about an entry in a queue.
It is implemented in apps/app_queue.c
Public classQueueEvent
Abstract base class providing common properties for JoinEvent and LeaveEvent.
Public classQueueMemberAddedEvent
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.

Public classQueueMemberEvent
A QueueMemberEvent is triggered in response to a QueueStatusAction and contains information about a member of a queue.
It is implemented in apps/app_queue.c
Public classQueueMemberPausedEvent
A QueueMemberPausedEvent is triggered when a queue member is paused or unpaused.
It is implemented in apps/app_queue.c.

Available since : Asterisk 1.2.
Replaced by : QueueMemberPauseEvent since Asterisk 12.
Removed since : Asterisk 13.

Public classQueueMemberPauseEvent
Raised when a member is paused/unpaused in the queue.
Available since : Asterisk 12.
Public classQueueMemberPenaltyEvent
A QueueMemberPenaltyEvent is triggered when a queue member is assigned a new penalty.
Public classQueueMemberRemovedEvent
A QueueMemberRemovedEvent is triggered when a queue member is removed from a queue.
It is implemented in apps/app_queue.c.

Available since : Asterisk 1.2.

Public classQueueMemberRinginuseEvent
Raised when a member's ringinuse setting is changed
Public classQueueMemberStatusEvent
Raised when a Queue member's status has changed
Public classQueueParamsEvent
A QueueParamsEvent is triggered in response to a QueueStatusAction and contains the parameters of a queue.
It is implemented in apps/app_queue.c
Public classQueueStatusCompleteEvent
A QueueStatusCompleteEvent is triggered after the state of all queues has been reported in response to a QueueStatusAction.
Since Asterisk 1.2
Public classRegistryEvent
A RegistryEvent is triggered when this asterisk server attempts to register as a client at another SIP or IAX server.
This event is implemented in channels/chan_iax2.c and channels/chan_sip.c
Public classReloadEvent
A ReloadEvent is triggerd when the reload console command is executed or the asterisk server is started.
It is implemented in manager.c
Public classRenameEvent
A RenameEvent is triggered when the name of a channel is changed.
It is implemented in channel.c
Public classResponseEvent
Abstract base class for events triggered in response to a ManagerAction.
All ResponseEvents contain an additional action id property that links the event to the action that caused it.
Public classRTCPReceivedEvent
Public classRTCPSentEvent
Public classRTPReceiverStatEvent
Public classRTPSenderStatEvent
Public classShowDialPlanCompleteEvent
Public classShutdownEvent
A ShutdownEvent is triggered when the asterisk server is shut down or restarted.
It is implemented in asterisk.c
Public classStatusCompleteEvent
A StatusCompleteEvent is triggered after the state of all channels has been reported in response to a StatusAction.
Public classStatusEvent
A StatusEvent is triggered for each active channel in response to a StatusAction.
Public classTransferEvent
Public classUnholdEvent
An UnholdEvent is triggered by the SIP channel driver when a channel is no longer put on hold.
It is implemented in channels/chan_sip.c.
Available since Asterisk 1.2
Public classUnknownEvent
A UnknownEvent is triggered on unknown event from manager/proxy.
Public classUnlinkEvent
An UnlinkEvent is triggered when a link between two voice channels is discontinued, for example, just before call completion.
Public classUnparkedCallEvent
A UnparkedCallEvent is triggered when a channel that has been parked is resumed.
It is implemented in res/res_features.c
Available since Asterisk 1.2
Public classUserEvent
Abstract base class for user events.
You can send arbitrary user events via the UserEvent application provided with asterisk. A user event by default has the attributes channel and uniqueId but you can add custom attributes by specifying an event body.
To add your own user events you must subclass this class and name it corresponding to your event.
If you plan to send an event by UserEvent(VIPCall) you will create a new class called VIPCallEvent that extends UserEvent. The name of this class is important: Just use the name of the event you will send (VIPCall in this example) and append "Event".
To pass additional data create appropriate attributes with getter and setter methods in your new class.
Example:
            public class VIPCallEvent : UserEvent
            {
            	 private string firstName;
            	 // Constructor
            	 public VIPCallEvent()
            	 {
            	 }
            	 // Property
            	 public string FirstName
            	 {
            		 get { return this.firstName; }
            		 set { this.firstName = value; }
            	 }
             }
            
To send this event use UserEvent(VIPCall|firstName: Jon) in your dialplan.
The UserEvent is implemented in apps/app_userevent.c.
Note that you must register your UserEvent with the ManagerConnection you are using in order to be recognized.
Public classVarSetEvent
Public classZapShowChannelsCompleteEvent
A ZapShowChannelsCompleteEvent is triggered after the state of all zap channels has been reported in response to a ZapShowChannelsAction.
Public classZapShowChannelsEvent
A ZapShowChannelsEvent is triggered in response to a ZapShowChannelsAction and shows the state of a zap channel.
Enumerations