Receive Asterisk events inside a web application

I am developing a contact center with Laravel base, I am using Asterisk 13 to manage the call system.

Each operator is assigned an extension to use SIP software (Zoiper) to answer customer calls.

I need a convenient API to interact with the asterisk server, for example when an agent receives a client call and the caller ID is inserted into the text field.

I've experimented with PHPARI but lacks proper documentation.

+3


source to share


2 answers


I have worked with PAMI and it met my needs.
The documentation is not very large and some events are not handled in this library, so you might have to make some changes, but the general structure is good.



If nothing meets your expectations, you might want to create your own parser after the AMI has returned a well-formed string, and usage can parse that string for your needs.

+1


source


ARI is a very new intuition.



If you need more documentation, try using the AMI event model.

+1


source







All Articles