Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question