A
A
artem1633972017-02-18 07:58:26
Yii
artem163397, 2017-02-18 07:58:26

Connecting megaphone telephony in Yii2?

Hello! It is necessary to connect telephony, namely, when the call occurs, the client profile is opened. I don’t understand how to do it on the CRM side, it turns out you need to listen to a post request from a megaphone. Here is the documentation https://firma.megapbx.ru/SkinFiles/firma.megapbx.r...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-02-19
@webinar

post from a third-party api makes an entry in the database, the manager client periodically sends ajax and checks for the presence of such an entry, if any, opens a window. This is an easy option. I think you can look towards Web Workers ( https://habrahabr.ru/post/132785/) and sockets ( https://github.com/joni-jones/yii2-wschat)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question