I
I
ink2013-05-09 16:27:38
PHP
ink, 2013-05-09 16:27:38

Web Server and IP-PBX Integration

There is a server somewhere on the Internet. The server is running nginx and php
There is an ip telephone exchange. With asterix.
It is necessary to integrate the server with the station, download logs, send requests, etc.

The question is where to start? what is the principle of integration in this case? how to connect to the station via php?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
smartlight, 2013-05-09
@smartlight

AGI?

G
g613, 2013-05-10
@g613

AMI

L
la0, 2013-05-11
@la0

Channel statuses www.voip-info.org/wiki/view/Aynchronous+Javascript+Asterisk+Manager+ (AJAM)
History - can be directly from CDR (usually CSV and DBMS like MySQL, SQlite ...)

I
ink, 2013-05-12
@ink

This is all good ... but I need to understand the basic principle
AIG stands on PBX, you need to connect to it. The question is how? How can a remote server connect to telephony?
We are not talking about highload - you just need to download data once an hour / day.
Thank you in advance for your help

O
Ovoshlook, 2014-07-21
@Ovoshlook

the asterisk is able to connect to the database, where all the logs are poured.
Statuses and states can be collected via AMI. This is a special interface, you can read about it on the Internet. The literature is full. On your web server, you need to write a simple client (or take a ready-made one) - which will connect to the AMI interface and read incoming events from there. also with the help of AMI you can send your actions to the astetrisk and it will perform them. Also, if you have asterisk version 12 and higher, you can use ARI. It will be even more correct.
Threat All everything is on the Internet. Asterisk manager interface in Google search will answer many questions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question