Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
ux: Interrupt IVR just after clicked on a letter
Clémence Lesné863c13bf4436
diff --git a/main.py b/main.pyindex 13976a2..5d0ff7e 100644--- a/main.py+++ b/main.py@@ -1503,6 +1503,7 @@ async def handle_recognize_ivr(choices=choices,end_silence_timeout=10,input_type=RecognizeInputType.CHOICES,+ interrupt_prompt=True,play_prompt=audio_from_text(text, MessageStyle.NONE, call),speech_language=call.lang.short_code,target_participant=PhoneNumberIdentifier(call.phone_number),