I am experimenting with sending the “events” action using the AMI. But I am confused by the responses received from Asterisk. You can see a sample AMI transmit and receive text below (along with my timestamps).
The problem is that the AMI seems to respond with “Events: Off” even if there are already events being monitored. Look at timestamp 2025-04-25 22:36:55.704 UTC below. It is responding that events are currently off, yet at that point the AMI has already acknowledged that ConfbridgeList events are turned on.
Why is the AMI responding with “Events: Off”? The documentaiton doesn’t explain what the Events response key/value pair mean.
=====[ 2025-04-25 22:36:55.698 UTC ]
ActionID: test-{a1cf8a76-822f-48a4-81ee-94435d8eb009}
Action: events
Eventmask: ConfbridgeList
=====[ 2025-04-25 22:36:55.700 UTC ]
ActionID: test-{5c67f678-75c6-4325-b4bf-dc7a20acf20d}
Action: events
Eventmask: ConfbridgeList,ConfbridgeListComplete
=====[ 2025-04-25 22:36:55.703 UTC ]
Response: Success
ActionID: test-{a1cf8a76-822f-48a4-81ee-94435d8eb009}
Events: Off
=====[ 2025-04-25 22:36:55.704 UTC ]
Response: Success
ActionID: test-{5c67f678-75c6-4325-b4bf-dc7a20acf20d}
Events: Off
=====[ 2025-04-25 22:36:55.801 UTC ]
ActionID: test-{b6990966-4f74-49a5-b091-b1246e7ff880}
Action: events
Eventmask: ConfbridgeList,ConfbridgeListComplete
=====[ 2025-04-25 22:36:55.807 UTC ]
Response: Success
ActionID: test-{b6990966-4f74-49a5-b091-b1246e7ff880}
Events: Off