Skip to content

Commit

Permalink
fix: IVR do not always outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Feb 9, 2024
1 parent 131e60c commit 949e4ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 949e4ae

Please sign in to comment.