Call Script to Stop Recording on Conditions

Joseph Rate

SMB User
Joined
Jan 30, 2025
Messages
6
Reaction score
1
Hello,

We are using 3CX v20 Entreprise (I had to create a trial account here to access the forum as I only have a local user account with admin rights). We are implementing a call flow, for which we need to record the call depending on the destination. In the current state of operation, 3CX only offers the option to record everything, or leave the internal calls out. There is the possibility to give the caller the option to opt-in or -out of recording, but it unfortunately is against what our management requests: the caller will be informed that their call will be recorded, and if they refuse they will have to ask to the agent stop it, and it would not solve the fact that they don't want all inbound calls recorded, only those reaching specific destinations through the call flow.

That leaves us with the possibility of implementing a call script. I checked the API and found that there is a method called StopRecording, but everything I tried so far did not work. Can someone please tell me if it is at all possible, and if so point me to the right direction (a short working demo would help immensely).

Many thanks in advance.
 
Last edited:
Anybody? Help would be greatly appreciated!
 
You can use the 3CX web client to start and stop recordings. They can be used in conjunction with the IP Phones to control them.
 
  • Like
Reactions: Evolute IT
Hello Nicholas,

Thank you for the reply. I know about the ability to start/stop recording from the Web client, but we want them to be stopped automatically according to the path the called had followed in the callflow. If we do that manually it will be sometime forgotten, as human intervention is well known to be error prone.

Is there any way to implement that using the "Execute C# Code" module in the Call Flow Designer, or any other method at all?

Many thanks.
 
Hello Nicholas,

Thank you for the reply. I know about the ability to start/stop recording from the Web client, but we want them to be stopped automatically according to the path the called had followed in the callflow. If we do that manually it will be sometime forgotten, as human intervention is well known to be error prone.

Is there any way to implement that using the "Execute C# Code" module in the Call Flow Designer, or any other method at all?

Many thanks.
CFD cannot monitor other calls. All calls will have to go through it and you'll have to figure out yourself how to check the route the call took.

And even then, I'm unsure you can actually change the recording option, as the recording is made on the extension-level, not system-level, so during the CFD handling of a call, it does not record.
 
  • Like
Reactions: GregG_3CX
We can do it. We have our own REST API for starting and stopping recordings, and we can monitor all the calls in real-time using the Call Control API and a custom monitoring service. If you would like to discuss, please DM me directly.
 
  • Like
Reactions: Evolute IT

Members Online Now

Forum statistics

Threads
111,832
Messages
589,282
Members
164,662
Latest member
DejanMDS