Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: IVR do not always outputs
Clémence Lesné949e4ae5fb0f
diff --git a/main.py b/main.pyindex af4a05e..4b0aafa 100644--- a/main.py+++ b/main.py@@ -1494,6 +1494,7 @@ async def handle_recognize_ivr(try:client.start_recognizing_media(choices=choices,+ end_silence_timeout=10,input_type=RecognizeInputType.CHOICES,play_prompt=audio_from_text(text, MessageStyle.NONE, call),speech_language=call.lang.short_code,