Compare an SDP offer/answer pair (RFC 3264)
compare_sdp_offer_answer[cost: free (pure CPU, no network) | read-only]
Diff a SIP/SDP offer and answer and surface the issues that actually break calls in practice: codec intersection per m-line, direction compatibility (sendrecv ↔ recvonly), DTLS setup-role conflicts (active+active / passive+passive), rtcp-mux / BUNDLE asymmetry, missing DTLS fingerprints when DTLS-SRTP is negotiated, ICE asymmetry, and fax reinvite mismatches (e.g. offer m=image udptl t38 answered with audio-only, or T38FaxVersion / T38FaxMaxBuffer / T38FaxRateManagement drift).
Use when the user has both halves of a negotiation and is debugging 488 Not Acceptable Here, no-audio, one-way-audio, or a failed T.38 reinvite (488 / 415 / 606 on a m=image offer).
Pair with: parse_sdp to inspect either side in isolation; search_sip_docs(vendor=...) to ground vendor-specific fixes (FreeSWITCH mod_spandsp, Cisco CUBE fax protocol t38); lookup_response_code(488) for the static SIP-side context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer | Yes | SDP offer body. | |
| answer | Yes | SDP answer body. |