IOSOR Learn

SIP Re-INVITE Hold/Resume Media Renegotiation Audit

Verify media path stability during hold/resume cycles to prevent audio gaps; compare carrier SIP stack behavior and failover handling via Decision Brief.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Operations teams audit SIP Re-INVITE sequences during hold/resume to confirm media renegotiation completes without audio gaps or codec mismatches. The Decision Brief surfaces carrier-specific stack behavior and failover paths so teams can validate media continuity across corridors.

SIP Re-INVITE Sequence Capture

Collect full SIP dialog traces for hold (a=sendonly/inactive) and resume (a=sendrecv) transitions. Verify SDP offer/answer symmetry, media IP/port stability, and absence of duplicate m-lines. Flag any Re-INVITE without 200 OK within 2 s or missing ACK as renegotiation failure. Verify DLR receipts for each Re-INVITE and confirm webhook delivery within 500 ms; reject traces where webhook signature verification fails or DLR status is undelivered after 3 retries.

Media Path Continuity Metrics

Measure RTP timestamp continuity and SSRC persistence across hold/resume boundaries. Calculate audio gap duration from last pre-hold packet to first post-resume packet; target < 150 ms. Correlate with DLR receipts and webhook latency to isolate carrier-induced delays versus platform processing. Edge cases: SSRC change after resume triggers media restart; RTP timestamp discontinuity > 20 ms indicates clock drift; webhook latency > 1 s invalidates correlation.

Codec & Crypto Renegotiation Validation

Confirm negotiated codec (opus/PCMU/PCMA) and crypto suite (DTLS-SRTP/SDES) remain identical post-resume. Reject sessions where Re-INVITE introduces new codec without explicit user consent or where crypto re-key fails. Log each mismatch for carrier scorecard input. Verify DLR confirms crypto re-key completion; edge cases include partial SDP answer missing crypto attributes and codec fallback to telephone-event only.

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

Carrier Failover Behavior Under Hold

Simulate primary carrier failure mid-hold by dropping SIP dialog; verify backup carrier establishes new dialog with compatible SDP within 3 s. Ensure hold state (a=inactive) is preserved across failover so resume does not trigger unintended media restart. Document failover latency per corridor. Verify DLR/webhook confirms failover completion; edge cases include backup carrier rejecting inactive SDP and hold state reset to sendrecv after failover.

Hold Timer & Session Expiry Guardrails

Enforce max hold duration (default 15 min) via Session-Expires and Min-SE headers. Validate that Re-INVITE refreshes extend session without media renegotiation. Alert on sessions exceeding threshold without resume or BYE; feed into partner route comparison for corridor-specific tuning. Verify DLR receipt for each Session-Refresh; edge cases include Min-SE below 90 s causing premature expiry and missing BYE leaving zombie sessions.

Start with IOSOR

Open the Decision Brief to evaluate carrier SIP stack behavior, failover handling, and media renegotiation reliability for your channel and corridor. Cross-reference with SIP Re-INVITE Media Path Verification, Session Handover SIP Re-INVITE Validation, and RTP Media Quality Monitoring for end-to-end audit coverage.

IOSOR takeaway

Collect full SIP dialog traces for hold (a=sendonly/inactive) and resume (a=sendrecv) transitions. Alert on sessions exceeding threshold without resume or BYE; feed into partner route comparison for corridor-specific tuning (/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