Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
feat: Send ack sound for everything sent by the user
Clémence Lesné3a96f9ee2f70
diff --git a/main.py b/main.pyindex cd65e2c..2f4d7ee 100644--- a/main.py+++ b/main.py@@ -328,6 +328,12 @@ async def call_event_post(request: Request, call_id: UUID) -> None:result_information = event.data["resultInformation"]error_code = result_information["subCode"]+ await handle_media(+ call=call,+ client=client,+ file="acknowledge.wav",+ )+if error_code == 8510 and call.recognition_retry < 10:await handle_recognize(call=call,