Modify Extension & Group Settings via CLI?

Status
Not open for further replies.

FN-GM

Premier Customer
Joined
Dec 14, 2020
Messages
38
Reaction score
8
Hello,

I am looking to automate some of our user configuration settings. I am wondering if it is possible to modify extension and/or group settings via command line please?

I don't think this is possible but I just want to confirm.

Thanks
 
No.

but you can export users and even set up a template user and copy that extension when setting up a new one.
 
  • Like
Reactions: FN-GM
but you can export users and even set up a template user and copy that extension when setting up a new one.

This won't work for us as we use Office 365 sync.

It does seem a shame that 3CX lacks the ability to automate tasks.
 
You should be aware that 3CX recently announced a new REST API and Gateway Service that may help with this. It is scheduled to be released with 3CX V18 (although I did see a post that these features may not be released until Update 1 or 2).

Alternatively, you can do this through the 3CX Call Control API. While the documentation for this API has been withdrawn (presumably in preparation for the new APIs), it is possible to make the kind of changes you are needing today.

The challenge with the Call Control API is (1) you need to know how to use the API, and (2) it only responds to requests from "localhost", so your application either must reside directly on the 3CX server (not supported) or you need to build a relay/proxy to expose the API to remote applications.

We built our own REST API several years ago which functions as a relay so external applications can talk to the 3CX Call Control API via a well-know interface (REST).
 
Status
Not open for further replies.