Asterisk Manager API Action Events
Created by: adriaomendes,Last modification on Wed 17 of Aug, 2005 [01:32 UTC] by flobi
Action: Events
Synopsis: Contol Event Flow
Privilege:
Description: Enable/Disable sending of events to this manager client.
Variables:
EventMask:
(NOTE: this is the *CLI help output.)
Hint: Some Events are enabled or disabled in their corresponding .conf Files too. They might be disabled by default.
NOTE:
EventMask ON does not return any immediate response, in this example below, there was nothing returned until the device unregistered (Asterisk 1.0.9):
As opposed to EventMask OFF which returns a response immediately:
Synopsis: Contol Event Flow
Privilege:
Description: Enable/Disable sending of events to this manager client.
Variables:
EventMask:
- 'on' if all events should be sent,
- 'off' if no events should be sent,
- 'system,call,log' to select which flags events should have to be sent.
(NOTE: this is the *CLI help output.)
Hint: Some Events are enabled or disabled in their corresponding .conf Files too. They might be disabled by default.
NOTE:
EventMask ON does not return any immediate response, in this example below, there was nothing returned until the device unregistered (Asterisk 1.0.9):
>ACTION: EVENTS
>EVENTMASK: ON
Event: PeerStatus
Peer: SIP/ChannelName
PeerStatus: Unregistered
Cause: Expired
>EVENTMASK: ON
Event: PeerStatus
Peer: SIP/ChannelName
PeerStatus: Unregistered
Cause: Expired
As opposed to EventMask OFF which returns a response immediately:
>ACTION: EVENTS
>EVENTMASK: OFF
Response: Events Off
>EVENTMASK: OFF
Response: Events Off

Comments