Toggle incoming rule by dial code (or admin action)

Status
Not open for further replies.

Genesio Lini

Customer
Joined
Mar 29, 2018
Messages
14
Reaction score
0
Hello everyone,
I am currently using an asterisk PBX setup that allow me to toggle a specific incoming rule (called "global do not disturb") when a dial code is entered.

This rule forwards all incoming calls to a recorded message and then ends the call.

We use this on particularly busy days when we don't want to be disturbed by external calls.

How can I accomplish this with 3CX?

Please note that the message is different from the standard "out of working hours" message, so I can use the "force out of office" dial code.

Even an admin action (in the Web UI) could be enough.
 
Thank you, the CFD solution is interesting.
I don't have a PRO license at the moment but it could be worth upgrading
 
To expand on Genesio's suggestion, you would need to create a CFD application that leverages the Call Control API to actually change the inbound rule. Alternatively, you could route all your calls through a CFD application that checks a flag (value in a database for example) to control where the CFD routes calls. Either approach would work, but the CFD does require a 3CX Pro license. The 3rd option would be to create a web or windows app that calls the Call Control API directly, and this application modifies the inbound rules. The advantage of the web/windows app is that it doesn't require a pro license, but does require you open a application and push a button rather than call an extension.
 
Very interesting, thank you for the information.
Is the Call Control API available in the debian edition aswell?
I could build a small server app (with C# / Mono) to leverage this API and control it with a remote application
 
Yes. Although it is more typical to do this in .Net Core rather than Mono.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,884
Messages
589,543
Members
164,743
Latest member
aa1