Asterisk Events


is there any way to get all call events in asterisk for example,

Call Initiated & Call Connected
Playback started , Playback end
Call Hangup etc
I want to capture events using python script.

Thanks in advance


I think asterisk ARI is what you need.

You can see document for details.

AMI is generally used for this, the Asterisk Manager Interface. There’s a full list of events[1] and it’s been around for ages, so information in many places about it including libraries for use. It may not include events for EVERYTHING you want, of course, so consult the list I provided.

[1] AMI Events - Asterisk Documentation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.