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.
Lead Telecom & Routing Architect · Lausanne, CH
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.
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
- Number Masking Route Failover and DLQ Replay Readiness Audit
Audit masked-number route failover for session-state preservation and DLQ replay safety: no duplicate or misrouted calls and SMS, with partner route comparison before cutover.
- Auditing DID Reassignment Consistency Across Failover Routes
Verify masked numbers reassigned during carrier failover keep session binding, DLR correlation, and inbound callback continuity, then compare failover-capable partners.
- Inbound Callback Routing Verification for Masked Number Sessions
Verify masked inbound callbacks return to the right caller and agent without identity leaks or dropped sessions, then compare partner routes with auditable DLR and webhook proof.












