IOSOR Learn

Auditing SIP REFER Attended Transfer Cost & Quality

Validate attended transfer billing accuracy and media path quality across carriers before routing production traffic; confirm REFER support, cost attribution, and failover behavior.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Ops teams must verify that SIP REFER attended transfers bill correctly and maintain media quality across every carrier path before live traffic. This audit isolates cost attribution per leg, confirms REFER negotiation success rates, and exposes failover gaps that silent drops hide.

REFER Negotiation Success Rate

Measure the percentage of attended transfers where the REFER request receives a 202 Accepted and the subsequent NOTIFY completes with 200 OK. Track failures by carrier, codec mismatch, and header malformation. Correlate with DLR receipts to prove each leg terminated cleanly. Set alert threshold at 99.5% success; investigate any carrier below 98%. Verify webhook HMAC signatures on every NOTIFY callback before accepting delivery status.

Media Path Integrity Post-Transfer

Capture RTP statistics before and after REFER execution: jitter, packet loss, MOS, and codec renegotiation events. Flag paths where media bypasses the expected SBC or hairpins through an intermediate carrier. Use webhook latency logs to timestamp media re-establishment. Alert when jitter exceeds 30ms, packet loss above 1%, or MOS below 4.0. Confirm webhook delivery within 2 seconds of media re-establishment; retry failed webhooks with exponential backoff up to 5 attempts.

During pre-flight verification, validate that automatic failover thresholds trigger deterministic rerouting without duplicating outbound segments or exhausting retry backoff budgets under peak regional load.

Cost Attribution Per Transfer Leg

Map billing records to each SIP dialog leg — originator, transferee, and target. Verify that MRC and per-minute rates apply only to active media time, not signaling overhead. Cross-reference CDR timestamps with NOTIFY completion to eliminate double-billing on failed transfers. Reject CDRs where signaling-only duration exceeds 5% of total leg time. Verify DLR checksums match CDR records before invoice generation.

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

Failover Behavior Under REFER Rejection

Simulate 488 Not Acceptable Here, 603 Decline, and timeout responses from the transfer target. Confirm the originator receives a clear error, the original call remains stable, and no orphaned media streams persist. Document carrier-specific retry logic and escalation paths. Enforce maximum 3 retries per rejection code with 2-second minimum backoff. Verify webhook failure callbacks fire within 500ms of final rejection.

Audit Evidence Package for Compliance

Assemble PCAP traces, CDR exports, webhook payloads, and DLR receipts into a single audit bundle per corridor. Tag each bundle with corridor ID, carrier pair, and test timestamp. Store for 90 days to support dispute resolution and regulatory review. Validate bundle integrity via SHA-256 hash before archival; quarantine bundles missing DLR/webhook correlation.

Start with IOSOR

Compare verified partner routes for your corridor at voice route comparison to confirm REFER support, cost attribution, and failover behavior before routing production traffic.

IOSOR takeaway

Measure the percentage of attended transfers where the REFER request receives a 202 Accepted and the subsequent NOTIFY completes with 200 OK. Store for 90 days to support dispute resolution and regulatory review (/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