Hi @Kino Matuguina,
It seems like you're using Azure Communication Services (ACS) Call Automation to interact with Talkdesk’s IVR system. Your ACS bot listens for speech and sends DTMF tones in response. Everything works until the final step: Talkdesk provides a voice response and then immediately ends the call.
The error typically means the ACS platform has lost track of the call because it was terminated before the speech recognition process could complete. Since ACS needs the call to remain active while it processes audio data, the instant disconnection causes it to drop the speech recognition task and return that error.
To ensure you capture the final speech from Talkdesk before the call ends, we recommend the following approach:
Make sure you're listening for the RecognizeCompleted
event and handling it as soon as it's raised. This helps in processing the recognition before the call gets disconnected. If the call ends before this event is fired, you won’t get any result.
If you have control over Talkdesk’s IVR or can work with their team, request a short delay (e.g., 1–2 seconds) after speaking the final phrase before the call is dropped. This gives ACS enough time to capture and process the final audio input.
If you’re open to another strategy, you can enable call recording and post-process the final recording to analyze speech. This is especially useful for IVR testing when exact timing is unpredictable.
Gather user input
Handle events with Event Processor
Call Recording overview
I hope you find this information useful. Let me know if you have any further questions.