IOSOR Learn

Reconciling PSTN Disconnect Cause Codes Across Voice Routes

When PSTN routes disagree on BYE and SIP error cause codes, normalize the disconnect-reason map per carrier before volume scales and skews ASR.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

When two voice routes return different disconnect reasons for the same leg, reconcile them by normalizing each carrier's cause-code map against a single canonical table before you scale volume. That prevents false abuse flags, mis-billed short calls, and skewed ASR.

Why route-level cause codes drift apart

A PSTN leg can end three ways: a clean BYE, a SIP error response, or a timer expiry on a no-answer path. Each partner may map the same physical event to a different code — one returns 487 for an early hangup, another sends 603, a third emits a carrier-specific Q.850 value inside the Reason header.

Build the canonical disconnect table

Define one internal enumeration with stable buckets: normal_clearing, user_busy, no_answer, rejected, unavailable, cancel, media_failure, and unknown. Map each route's BYE cause, SIP final response, and Reason header value into these buckets with an explicit priority order — SIP final response wins over Reason header, which wins over inferred timeout. Record the raw code alongside the bucket so disputes remain auditable.

Validate with call detail receipts

After mapping, verify against real call detail receipts and webhook latency: pull a sample per route, join the SIP final response to the stored receipt, and confirm the bucket matches. Check that your webhook pipeline records the disconnect event within your latency budget; a delayed event can land after the call record closes and get bucketed as unknown.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

Separate false flags from real failures

Short-call billing and abuse detection share the same cause data, so reconcile before you act. A 603 decline should not be counted as media failure, and a 487 cancel should not inflate ASR as a failed connection. Review anomalies per route: if one carrier shows a spike of a single cause, confirm whether the map is wrong or the route degenerated.

Mapping references and retry policy

Use the mapping and retry knowledge base to keep adapter rules aligned: Mapping SIP Error Codes to Automate Voice Alert Retry Engines, SIP 487 Request Terminated Retry Policy Audit, and SIP 603 Decline Retry Policy & Route Selection.

Start with IOSOR

Run the reconciliation as a partner-comparison task: list the channels and corridors you terminate on, pull a sample of raw BYE and SIP codes per route, and fill in each adapter row with bucket, raw code, version stamp, and receipt check.

IOSOR takeaway

A PSTN leg can end three ways: a clean BYE, a SIP error response, or a timer expiry on a no-answer path. Review anomalies per route: if one carrier shows a spike of a single cause, confirm whether the map is wrong or the route degenerated (/tools/brief · DLR / webhook).

Was this guide helpful?

Related guides

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers