Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

dev: Display debug log when audio is stopped

Clémence Lesnédf6590baf2c9
diff --git a/app/main.py b/app/main.py
index 0ffdaf4..18d7e94 100644
--- a/app/main.py
+++ b/app/main.py
@@ -625,6 +625,7 @@ async def communicationservices_wss_post(
)
# Stop audio
elif audio_data is False:
+ logger.debug("Stop audio event received, stopping audio")
await websocket.send_json(
{
"kind": "StopAudio",