Voice Calls – Failure Handling and Fallback Mechanisms

Overview

This article explains the failure handling and resiliency mechanisms available for voice calls on the Kore.ai platform. These capabilities help ensure reliable voice experiences by providing multiple layers of fallback and recovery during call establishment, ongoing conversations, and error scenarios.

The platform supports a three-tier resilience framework that enables organizations to:

  • Detect failures early
  • Prevent silent or stalled calls
  • Recover gracefully from runtime errors
  • Transfer calls to backup systems or agents
  • Maintain business continuity during platform or vendor outages

1. Three-Tier Resilience Framework

The Kore.ai voice platform provides resiliency at three levels:

Resilience Layer Purpose
App-Level Resilience Controls how calls are answered and prevents calls from connecting before the bot is ready
Flow-Level Resilience Monitors runtime bot responsiveness and triggers fallback actions
Node-Level Resilience Handles specific runtime failures such as ASR, TTS, automation, or dialog errors

2. App-Level Failure Handling

Answer Call on Bot Response

Purpose

The Answer Call on Bot Response setting controls when the platform answers an incoming SIP call.

When enabled, the call is answered only after the bot prepares its first response. This helps prevent callers from hearing silence or delays immediately after connecting.

Configuration Locations

XO11

Path:
App Settings → Advanced Settings → System Settings

XO10

Path:
Configuration → Settings → Advanced Settings

Setting Default Value
Answer Call on Bot Response Disabled (false)

Behavior

Setting Value Behavior
Enabled (true) Call is answered only after the first bot response is ready
Disabled (false) Call is answered immediately after connection

Benefits

  • Prevents dead air during response preparation
  • Enables SIP-based failure detection
  • Improves integration with upstream telephony systems
  • Ensures callers hear only ready responses

Considerations

Enabling this feature can increase the likelihood of call drops if the initial response takes too long to generate. This may occur when:

  • Multiple automation nodes are executed
  • External APIs or service nodes are slow
  • Complex scripts delay the first response

If the first response exceeds SIP timeout thresholds, the call may not be answered.

Recommended Use Cases

Use this setting when:

  • SIP-aware upstream systems require response codes
  • Early failure detection is important
  • High-quality first interactions are required
  • External systems handle fallback routing

3. Experience Flow Failure Handling

Bot No Input Handling

Purpose

The Bot No Input configuration handles situations where the bot becomes unresponsive after the call has already started successfully.

This mechanism monitors the bot during runtime and triggers fallback actions if no response is generated within the configured timeout period.

Configuration Locations

XO11

Path:
Contact Center AI → Start Flows → Create or Edit Start Flow → Bot No Input

XO10

Path:
Configurations → Experience Flows → Edit → Bot No Input

Available Actions

Action Description
End Call Terminates the call automatically
SIP URI Target Transfer Transfers the call to a backup SIP destination
Retry with Message Plays a retry prompt before additional attempts

Trigger Conditions

The Bot No Input fallback is triggered when:

  • The first bot response was already delivered successfully
  • The bot fails to respond within the configured timeout interval

Configuration Parameters

Parameter Description
Timeout Interval Duration to wait for a bot response
Action Type End call or transfer
SIP URI Target Backup transfer destination

Recommended Use Cases

Use Bot No Input handling when:

  • Runtime resiliency is required
  • Calls must transfer to backup systems
  • User experience continuity is important
  • Long-running conversations need monitoring

4. Automation Node Error Handling

OnError Path Configuration

Purpose

The OnError path enables explicit handling of failures that occur during flow execution.

This mechanism supports custom workflows for automation, speech processing, and dialog failures.

Supported Error Types

Error Type Description
Dialog Flow Errors Task or workflow execution failures
ASR Errors Speech recognition failures
TTS Errors Text-to-speech synthesis failures
Bot Processing Errors Internal bot execution failures

Configuration Locations

XO11

Path:
Contact Center AI → Start Flows → Automation Node → Error Handling

XO10

Path:
SmartAssist → Configuration → Experience Flows → Run Automation Node → Error Handling

Error Handling Capabilities

  • Custom recovery workflows
  • Dynamic fallback routing
  • Error-specific messaging
  • Graceful call continuation
  • Alternate agent transfers

Best Practice

Always configure an OnError path for all automation nodes to ensure comprehensive error handling coverage.

5. SIP Failure Handling

During Call Establishment

If Kore.ai encounters issues while establishing the SIP connection, the platform returns the appropriate SIP error code to the calling system.

The customer telephony infrastructure should be configured to handle these SIP responses appropriately.

During Agent Transfers

When Kore.ai sends a SIP INVITE or SIP REFER request to transfer a call:

  • The destination system may return SIP failure codes

  • Kore.ai can trigger configured Error Paths

  • The flow may:

    • Play a message
    • Retry
    • Redirect to another queue
    • Transfer to another destination

6. Platform Failure Scenarios

Before Call Establishment

If the Kore.ai platform is unavailable before the call is answered:

  • The Answer Call on Bot Response setting prevents the call from being answered
  • The customer SBC or telephony system can reroute the call elsewhere

This provides clean upstream failure handling.

During an Active Call

If the platform becomes unavailable during an ongoing call:

The Bot No Input configuration can trigger fallback actions such as:

  • Ending the call
  • Transferring to another SIP target
  • Playing retry prompts
  • Redirecting to backup systems

7. ASR and TTS Resiliency

The platform supports multi-vendor speech resiliency for both ASR and TTS services.

Supported Resiliency Features

Feature Description
Primary and Secondary Vendors Separate fallback providers for ASR and TTS
Regional Failover Failover across regions within the same provider
Automatic Fallback Switches providers during failures
Agent Transfer Escalation Transfers calls if all providers fail

Benefits

  • High availability
  • Improved uptime
  • Business continuity during vendor outages
  • Reduced speech service disruption

8. Voice Gateway Resiliency

Kore.ai provides dual Session Border Controllers (SBCs) for infrastructure resiliency.

Recommended Configuration

Customers should configure:

  • Primary SBC
  • Secondary fallback SBC

If the primary SBC fails, calls should automatically reroute to the backup SBC.

Failure Signaling

Failures are communicated using standard SIP 4xx response codes.

9. System-Level Error Handling

Routing Errors

Routing failures may occur when:

  • A DID number is not mapped to a Start Flow
  • The configured flow cannot be triggered

Recommended Fallback Actions

Action Description
End Call Terminates the interaction
SIP REFER Transfer Transfers to another destination
Agent Transfer Recommended default recovery option

10. Implementation Guidelines

When to Use Each Mechanism

Mechanism Recommended Usage
App-Level Settings SIP-aware integrations and early failure handling
Bot No Input Runtime responsiveness monitoring
OnError Paths Explicit handling of node-level failures

Configuration Priority

Priority Recommendation
High Configure OnError handling everywhere
Medium Configure Bot No Input fallbacks
Conditional Enable Answer Call on Bot Response based on SIP requirements

11. Example Deployment Scenarios

Scenario 1: SIP-Integrated Environment

Component Configuration
Answer Call on Bot Response Enabled
Bot No Input Transfer to SIP URI
OnError Custom recovery workflow

Result

  • Calls connect only when the bot is ready
  • SIP codes support upstream routing logic
  • Runtime failures transfer to backup systems

Scenario 2: Direct Call Environment

Component Configuration
Answer Call on Bot Response Disabled
Bot No Input End Call
OnError Standard messaging

Result

  • Faster call connection
  • Simpler user experience
  • Basic runtime recovery

Scenario 3: High-Availability Deployment

Component Configuration
Answer Call on Bot Response Enabled
Bot No Input Transfer to backup infrastructure
OnError Comprehensive recovery workflows

Result

  • Maximum resiliency
  • Multi-layer fallback coverage
  • Continuous customer experience protection

12. Best Practices

  • Always configure OnError paths for automation nodes
  • Define clear timeout values for Bot No Input detection
  • Use SIP-aware handling when integrating with enterprise telephony systems
  • Configure backup SBCs and speech providers
  • Test all fallback scenarios regularly
  • Implement backup transfer targets for critical customer journeys
  • Monitor ASR/TTS provider health and failover Behavior

Summary

Kore.ai provides a comprehensive, multi-layered voice resiliency framework that helps organizations maintain reliable customer experiences during system failures, speech provider outages, and runtime processing issues.

By combining:

  • App-level call control
  • Flow-level responsiveness monitoring
  • Node-level error handling
  • SIP-aware fallback mechanisms
  • Multi-vendor speech resiliency

organizations can build highly available and fault-tolerant voice automation solutions.