how to save events ami asterisk in DB

558 views Asked by At

I used Asterisk PBX (Yeastar) s100 series . I need to save events with AMI in DB . It does not matter what the database is. Is there a solution under php?

How do I do that?

1

There are 1 answers

0
arheops On

Phpami package + mysql-json should be enought for this task.

https://marcelog.github.io/articles/pami_introduction_tutorial_how_to_install.html

You also have CEL events, which is much simpler to get in db. https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=5242932