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.
Lead Telecom & Routing Architect · Lausanne, CH
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.
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.
- SIP REFER Transfer Billing Audit.
- SIP REFER Transfer Cost Attribution.
- SIP Re-INVITE Media Renegotiation Audit.
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
- Voice Silence Suppression: Trunk Billing and Route Comparison Gate
Verify whether SIP silence suppression skews billed minutes, ASR, and connect-time before locking a voice trunk route. Compare partner routes via /tools/brief.
- Voice Trunk Registration Failover and Drain Audit for Route Selection
Audit SIP trunk registration failover and graceful drain against contracted route priority before committing PAYG voice capacity. Verify readiness via partner comparison.
- Voice Answer Seizure Ratio and Trunk Sizing: Operational Comparison
Verify ASR and trunk concurrency against real carrier behavior before committing PAYG voice capacity or failover routes. Compare measured seizure ratio and cost-band evidence.












