Skip to main content

Introduction

Every Bolna Voice AI call records metadata about how and why it was terminated. This data is essential for debugging, analytics, and improving call completion rates. Each call termination includes three fields:

Why Hangup Codes Matter

Debug Call Issues

Identify whether disconnections are user-initiated, carrier-caused, or system errors

Monitor Reliability

Track telecom partner performance across providers like Twilio and Plivo

Improve Workflows

Optimize call handling based on termination patterns and regional issues

Regional Insights

Pinpoint geographic routing problems (US, India, Southeast Asia, MENA, etc.)

Hangup Status and Provider Codes

Code 4000 appears across multiple categories (API, Caller, Callee). The correct interpretation depends on call direction (inbound vs outbound) and context.

Hangup Reasons

Bolna provides specific hangup reasons based on your agent configuration:
Configure inactivity timeout and hangup prompts in your Agent Setup to control these behaviors.

Notes on Code Interpretation

Multiple provider codes may map to a single hangup_by status depending on network or device behavior. Always check the hangup_reason field for additional context.
Codes like 4000 appear in multiple categories. Interpretation depends on call direction (inbound vs outbound) and the hangup_by field.
Frequent 3010 or 3050 codes in a specific region may indicate local routing or carrier coverage problems. Contact support if you notice persistent regional patterns.

Call Status List

Track the full lifecycle of your calls

Call Latency Metrics

Analyze performance across the voice pipeline

Get Execution API

Retrieve full execution details programmatically