Overview
Automatic Speech Recognition (ASR) and Text-to-Speech (TTS) are core components of the Voice Gateway experience. ASR converts caller speech into text, while TTS converts AI responses into spoken audio.
When ASR or TTS issues occur, customers may experience:
- No audio playback
- Delayed or incomplete responses
- Incorrect speech recognition
- Silent calls
- Audio interruptions
- Call failures during interactions
This article provides common troubleshooting steps, root causes, and best practices for resolving ASR and TTS issues in Voice Gateway deployments.
Based on: Kore.ai Voice Gateway Documentation
Understanding the Voice Processing Flow
Voice Gateway processes calls using the following sequence:
Caller Speech → ASR → AI Agent → TTS → Audio Playback
A problem in any stage can affect the overall customer experience.
Common ASR and TTS Issues
| Issue | Symptoms |
|---|---|
| No TTS Audio | Call connects but no voice response plays |
| ASR Not Detecting Speech | Caller speech is ignored or repeated prompts occur |
| Delayed Responses | Long pauses before AI responses |
| Incorrect Transcriptions | ASR misunderstands caller input |
| TTS Playback Stops | Audio cuts off during responses |
| Fallback ASR/TTS Not Triggering | Failover does not occur during provider outages |
| Voice Selection Errors | “TTS ERROR” appears during calls |
Troubleshooting TTS Issues
Issue: No Audio Playback or “TTS ERROR”
Symptoms
- Call connects successfully
- AI Agent responds internally
- No audio is played
- “TTS ERROR” appears in logs or during execution
Root Cause
The selected voice configuration may not be properly registered in the system. This can occur even after saving voice settings.
Resolution
- Navigate to:Voice Gateway → Voice Preferences
- Re-select the configured TTS voice.
- Make a minor change to the flow configuration, such as:
- Add or remove a character in the flow description
- Save the flow again
- Republish the configuration.
This forces the platform to recognize and refresh the TTS configuration.
Troubleshooting ASR Recognition Failures
Issue: Caller Speech Is Not Recognized
Symptoms
- Repeated timeout prompts
- Silence detected despite active speech
- Incorrect or empty transcriptions
Possible Causes
- Incorrect ASR provider configuration
- Unsupported dialect or language
- Expired provider credentials
- Poor audio quality
- Network jitter or packet loss
Resolution Steps
Verify ASR Configuration
Navigate to:
Voice Gateway → Voice Preferences
Validate:
- Selected ASR provider
- Language
- Dialect
- Provider label configuration
- Credential status
Supported providers include:
- Microsoft Azure Speech Services
- Deepgram
- Amazon Transcribe
- Deepgram Flux
Validate Speech Credentials
Ensure:
- Credentials are active
- API keys are valid
- Provider subscriptions are not expired
- Speech service labels are correctly mapped
If credentials fail validation, ASR/TTS conversations may fail entirely.
Test with Different Audio Conditions
Background noise, overlapping speakers, accents, and packet loss can significantly reduce ASR accuracy in production environments. Community discussions also highlight latency and audio quality as leading causes of speech recognition failures in live deployments.
Recommended actions:
- Use high-quality audio codecs
- Minimize background noise
- Test across accents and dialects
- Validate call quality under real network conditions
Troubleshooting Delayed Responses
Issue: Long Silence Before Responses
Symptoms
- Dead air after caller input
- Delayed AI responses
- Callers interrupting the bot repeatedly
Root Cause
Latency may occur across the ASR → AI → TTS processing pipeline. Delays in transcription, orchestration, or synthesis can increase response times.
Resolution
Enable “Answer Call on Bot Response”
Navigate to:
App Settings → Advanced Settings → System Settings
Enable:
Answer Call on Bot Response
This helps prevent callers from hearing silent dead air before the AI response is ready.
Optimize Provider Selection
For better latency:
- Use speech providers deployed closer to customer regions
- Configure regional failover
- Use the same vendor across regions for primary and fallback services
Troubleshooting Fallback ASR/TTS Failures
Issue: Fallback Provider Does Not Activate
Symptoms
- Calls fail instead of switching providers
- No automatic failover during outages
Root Cause
Fallback configurations may be incomplete or incorrectly configured.
Resolution
Verify Primary and Fallback Configurations
Navigate to:
Voice Preferences → Show Advanced Settings
Confirm:
- Primary and fallback labels are different
- Both configurations exist in Voice Gateway Speech Services
- Credential validation succeeds
- Labels are correctly spelled
Recommended Configuration Example
| Setting | Example |
|---|---|
| Primary ASR | Azure-US |
| Fallback ASR | Azure-EU |
| Primary TTS | Azure-US |
| Fallback TTS | Azure-EU |
Using the same provider in different regions is recommended for resiliency and performance consistency.
Troubleshooting Voice Playback Interruptions
Issue: Audio Stops Mid-Conversation
Possible Causes
- Network instability
- SIP session interruptions
- TTS streaming delays
- Concurrent audio handling problems
Resolution
- Validate SIP trunk stability
- Check packet loss and jitter
- Monitor TTS provider latency
- Test calls under production-scale concurrency
Real-world voice deployments often experience failures caused by infrastructure conditions rather than model quality alone.
Best Practices for Stable ASR/TTS Performance
Use Regional Redundancy
Deploy speech providers in multiple regions to reduce outage risks.
Configure Fallback Providers
Always configure:
- Primary ASR/TTS
- Fallback ASR/TTS
- SIP transfer fallback options
Test with Real Customer Speech
Validate with:
- Different accents
- Fast speech
- Background noise
- Long conversations
- Interruptions
Production speech Behavior is often significantly different from controlled test environments.
Monitor Latency End-to-End
Track:
- ASR processing time
- AI response generation
- TTS synthesis duration
- SIP transfer delays
Even small delays can negatively impact conversational quality.
Recommended Validation Checklist
Before moving to production, validate:
| Validation Area | Status |
|---|---|
| ASR provider configured | ☐ |
| TTS voice selected correctly | ☐ |
| Credentials verified | ☐ |
| Fallback providers configured | ☐ |
| SIP routing tested | ☐ |
| Latency benchmarked | ☐ |
| Multi-region testing completed | ☐ |
| Audio quality validated | ☐ |
| Timeout prompts tested | ☐ |
| Error handling flows validated | ☐ |