Need Help Enabling Direct Control / Audio Streaming in 3CX v20 for Python Voice Bot

saifix

SMB User
Joined
Dec 9, 2025
Messages
2
Reaction score
0
Hi all,

I’m building a Python-based voice bot using the 3CX Call Control API.
I need to programmatically answer calls and stream audio, but in v20 I cannot find any way to enable direct control or audio streaming for an extension.

The API responses never include direct_control (or the old directcallctrl), and the /answer and /stream endpoints return errors like 422 and 424 (“streaming not available”). I also don’t see any configuration option in the management console to enable this.

Questions:
  1. How do we enable direct call control or audio streaming for an extension in v20?
  2. Has this functionality been removed or changed?
  3. Is there an updated method for building programmatic softphone/voice bot integrations?
Any clarification would really help.
Thanks!
 
You cannot stream the audio of another extension/call. Only the audio from the RoutePoint connected to your app. It's not meant to do what you want, at all.
 
  • Like
Reactions: N_G
Hi, thanks for your reply.
Just for clarification — my goal is to let my Python application control calls on my extension and speak to the caller using an AI model. Is this possible in 3CX? If yes, could you please guide me on how to achieve it?

Thank you so much in advance. This would be a great help to me.
Regards,
 
Hi, thanks for your reply.
Just for clarification — my goal is to let my Python application control calls on my extension and speak to the caller using an AI model. Is this possible in 3CX? If yes, could you please guide me on how to achieve it?

Thank you so much in advance. This would be a great help to me.
Regards,
No this is not possible. You would need a SIP client in Python, not the Call Control.
 

Members Online Now

Forum statistics

Threads
111,831
Messages
589,277
Members
164,660
Latest member
RJenkinsROCK