The integration is very easy to set up:
In order to activate the integration, you need to:
1. Enable integration in System Settings->Integration
2. Fill in domain and api">api Key in System settings->Integration->phonet
3. In your personal account phonet Settings->Integration->Crm system->Other system select https protocol and add 3 webhooks "Dial", "Answered the call" and "End the call" with the address
https://box address/phonet/ push/
In order for all incoming calls from a client who is in the box to be redirected to his manager, it is necessary in the "Client information" line in
Settings->Integration->Crm systems->Other system in settings (phonet personal account) insert the link
https://box address/phonet/get/userinfo/ . When a client calls, phonet will send us a request and if there is a client with such a phone in the box, the client has a manager and he has an internal number - the call will be redirected to him.