Incoming calls via the API

We use cloud PBX. This enables us to get the data in php. What can you get all the telephony events with cloud telephony.
Question:
Which file is responsible for the pop-up window when you call (Incoming Call Pop Up with caller Information)?
Call History in which the tables are stored and which has a binding?

In order that would have to write data through a script

Russian

Мы используем облачный АТС. Это дает нам возможность получить данные в ПХП. Что можно получить все события телефонии с облачного телефония.
Вопрос:
Какой файл отвечает за всплывающее окно при звонке (Входящий вызов Pop Up с информацией об абоненте)?
Истории звонкой в каких таблицах хранятся и какие привязки есть?

Для того что бы самому записывать данные через свой скрипт