3CX Windows v20 and API

Status
Not open for further replies.

Alain.R.

Silver Partner
Advanced Certified
Joined
Apr 29, 2024
Messages
11
Reaction score
1
I have a 3CX v20 on Debian.
I would like to create an console application, running on a separated Windows machine, to use API of the 3CX server.
I have downloaded the "Call Control API" from here : https://www.3cx.com/blog/releases/v20-call-control-api/.
I tried to compile the OMSamplesCore sample in Visual Studio 2022 on my windows machine, but I need the assembly 3cxpscomcpp2.dll. I try to use this dll from my 3CX v20 Debian box, but it is not compatible. How can I get this dll compatible for Windows console application if I do not have a 3CX server on Windows ?
Thanks for you support.
Alain Rime
 
Please note that the Call Control API only works locally, so you will need to build your program to run from your 3CX server hosted on Linux. If you need something on your separate Windows server, then you will need to split your solution in 2 programs that connect between them to do what you need.
 
  • Like
Reactions: Evolute IT
I concur with @edossantos_sipcaller. The 3CX Call Control API is designed to only allow connections from "localhost". If you want to expose the 3CX API methods and/or events, you will need to create a "relay" that acts as a intermediary between your remote applications and the 3CX server. That's why our 3CX Relay application exists.
 
Status
Not open for further replies.