Upgrade 3CX to v18 and get it hosted free!

Asterisk Manager API Action Events

Author image

Action: Events
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,verbose,command,agent,user’ to select which flags events should have to be sent.
  • In asterisk 1.6 you can also have ‘reporting’ as a flag.

(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

As opposed to EventMask OFF which returns a response immediately:

>ACTION: EVENTS
>EVENTMASK: OFF

Response: Events Off

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.