User status for CRM

omar38

Bronze Partner
Joined
Apr 18, 2024
Messages
3
Reaction score
0
We are trying to change the user status using an API. Let's say we want to change station 112 to AWAY status.

Our environment is cloud-hosted on V20.

It seems many APIs from V18 are not yet implemented in the newer version.

Our understanding is that for V20, we only have xAPI, which is for admin purposes, and CallControl API, which has some methods for controlling a call (makecall, etc.).

None of these APIs have the capability to change user status.

Also, we have found there are some out-of-the-box flows (CFD) which actually have the capability to do that. However, instead of using a call, we want to do it from an application.

Finally, looking at the examples for APIs, we found some C# code using the TCX library. It seems this library has the capability to do such a change. However, since our environment is using a hosted solution, we don't have access to that library.

Can you help us confirm these findings?

Can you confirm we could use the TCX library if we install 3CX on a local server (on-premise solution)?

Thank you
 
With our VoIPTools REST API, you can make this change programmatically. We do this using the original 3CX Call Control API. You may have discovered that this API does not support request from hosts other than localhost. To get around this limitation we created the VoIPTools Relay. This tool connects to the 3CX API and exposes the API via our REST API. Our API is fully supported and compatible with both 3CX V18 and V20 running on Windows or Linux.
 
Hi, Thank you for your response, just to make sure, your solution requieres an on-premise deployment (windows/linux) correct? , not feasible in hosted (cloud) environment. Regards.
 
Hi, Thank you for your response, just to make sure, your solution requieres an on-premise deployment (windows/linux) correct? , not feasible in hosted (cloud) environment. Regards.
Depends on the cloud (not voiptools specific).

If you have SSH access, you can likely use the Call Control, and if not (i.e. 3CX Hosted), you can't.
 
  • Like
Reactions: Evolute IT