IOSOR Learn

SIP REFER Attended Transfer Media Negotiation Audit

Validate media renegotiation during attended transfers to prevent one-way audio and codec mismatches across SIP peers.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Audit media renegotiation behavior when SIP REFER with Replaces triggers attended transfers, ensuring SDP offers and answers align across both call legs to prevent one-way audio or codec mismatch.

Capture REFER and Replaces Signaling Flow

Record full SIP dialogs including the initial INVITE, 18x provisional responses, 200 OK, REFER with Replaces header, and subsequent NOTIFY messages. Verify that the Refer-Target URI matches the Replaces Call-ID and to-tag/from-tag pairs exactly. Confirm that the transferee sends a new INVITE to the transfer target with Replaces header populated correctly.

Inspect SDP Offer and Answer Symmetry

Compare SDP bodies in the original call leg and the new INVITE after REFER. Ensure media lines (m=), connection data (c=), and attribute lines (a=) for codecs, ptime, and crypto parameters are symmetric or compatibly negotiated. Flag any asymmetry in codec order, payload type mapping, or missing rtcp-mux and rtcp-rsize attributes that could cause media path failure.

Validate Media Path Establishment Timing

Measure the interval between REFER acceptance (202 Accepted) and media flow on the new leg. Correlate RTP/RTCP packet captures with SIP signaling timestamps. Detect gaps where media flows on one leg but not the other, indicating failed renegotiation or middlebox interference. Verify that ICE connectivity checks complete before media release if ICE is negotiated.

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

Test Codec Renegotiation Scenarios

Force codec mismatch by restricting codec lists on one peer (e.g., G.711 only vs. Opus+G.722). Observe whether the transfer target re-offers compatible codecs in the new INVITE or rejects with 488 Not Acceptable Here. Confirm that transcoder insertion or codec fallback logic activates without manual intervention.

Correlate with Partner Route Interop Matrix

Cross-reference observed behaviors against the partner route interop matrix for REFER/Replaces support, SDP handling quirks, and media anchoring requirements. Document any peer-specific deviations such as delayed Replaces processing, missing a=sendrecv, or asymmetric ptime handling. Use findings to update route selection logic.

Start with IOSOR

Run the partner comparison for your channel at Compare SIP Routes to verify REFER/Replaces interop and SDP handling consistency across verified routes. Check the interop matrix for media anchoring, codec transcoding, and Replaces processing delays. Apply findings to route selection and escalation playbooks.

IOSOR takeaway

Record full SIP dialogs including the initial INVITE, 18x provisional responses, 200 OK, REFER with Replaces header, and subsequent NOTIFY messages. Use findings to update route selection logic (/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