Action after hang up

nicolasGa

Titanium Partner
Basic Certified
Joined
Dec 29, 2023
Messages
22
Reaction score
4
Hi,

Is there a way of automatically do an action after an active call terminated (hang up from internal or external user).
In example, I would like to make the internal user call an internal extension after each terminated calls.

Thx,
 
Not possible.
 
You might be able to do something like this by creating a service using the Call Control API. This way you can monitor calls, and when it ends you can start a new call.
 
  • Like
Reactions: Evolute IT
You might be able to do something like this by creating a service using the Call Control API. This way you can monitor calls, and when it ends you can start a new call.
Yeah that what I thought.
I know how to transfer calls and do basic things with it, but I don't know if there is a way to subscribe to the ActiveConnection or something like that.

Thx,
 
Yes, you can listen to call notifications using this API. Check the samples in the documentation.
 
  • Like
Reactions: Evolute IT
I can confirm it is possible using to subscribe to call events using the 3CX Call Control API. We do it all the time.

Curiously, looking at the V20 sample code 3CX provides, it is not at all straightforward how to do it. I would suggest looking at the V18 samples to get a understanding of how to subscribe to native 3CX events. Keep in mind, however, that this code will need to run as a service directly on the 3CX server (Windows or Linux).

If you use our VoIPTools Relay, there is sample code provided with the Relay showing how to subscribe to our call events using Microsoft SignalR. If this sounds like more than you want to take on, we can help.
 

Forum statistics

Threads
111,974
Messages
590,083
Members
164,900
Latest member
Silent_Guru