Tools

    SDP offer/answer checker

    Paste the offer and the answer, as SDP or whole SIP messages. Nothing is uploaded.

    • Runs in your browser
    • No sign-up

    Input

    Examples

    Result

    Valid answer. Streams: audio PCMU/8000, both ways.

    m-line 1 · audio

    acceptedmedia both ways
    OfferAnswer
    port4917049172
    transportRTP/AVPRTP/AVP
    addresshost.atlanta.example.comhost.biloxi.example.com
    directionsendrecv (default)sendrecv (default)
    CodecOffer PTAnswer PT
    PCMU/800000
    PCMA/800088
    iLBC/8000offered—
    offerer sends
    PCMU/8000
    answerer sends
    PCMU/8000

    m-line 2 · video

    rejected by the answer (port 0)
    OfferAnswer
    port513720
    transportRTP/AVPRTP/AVP
    addresshost.atlanta.example.comhost.biloxi.example.com
    directionsendrecv (default)sendrecv (default)
    The answerer declined this stream (port 0).

    Calls connecting with no audio, or failing with 488? IDNTEQ can help. SIP and WebRTC consulting

    About this tool what it checks, specs, FAQ

    The checker pairs each m-line of the answer with the same m-line of the offer (RFC 3264 §6) and shows, per stream: accepted or rejected (port 0), the codecs in common with their payload type on each side, the codecs left out, the direction on each side and which way media flows, and the connection addresses.

    What it flags

    • No codec in common, or a different transport (RTP/AVP against RTP/SAVP): 488 Not Acceptable Here.
    • A different number of m-lines, a different media type, a stream rejected in the offer but accepted.
    • A direction the offer does not allow, such as sendrecv against sendonly.
    • Private or CGNAT addresses without ICE, 0.0.0.0, IPv4 against IPv6: one-way or no audio.
    • telephone-event offered but not answered, renumbered payload types, missing SRTP keys or DTLS fingerprint.

    Specifications

    • RFC 3264 (offer/answer), RFC 4566 (SDP), RFC 3551 (static payload types).
    • RFC 4317 (offer/answer examples; three of them are the examples above).
    • 488 Not Acceptable Here in the SIP response codes.

    FAQ

    Can I paste a whole call flow?

    Yes. Paste it in the offer box and leave the answer box empty: the first message with SDP is the offer and the next one in the same call is the answer, so both early offer (INVITE, 200) and late offer (200, ACK) work.

    Is a different payload type number in the answer wrong?

    No. Codecs match on name, clock rate and channels, and each side sends with the number the other side listed. RFC 3264 says the answer SHOULD keep the offer's numbers; endpoints that ignore the remapping are a common cause of failed DTMF.

    Why one-way audio when the answer is valid?

    Usually an address: a private or CGNAT address in c= without ICE, or 0.0.0.0 (the old hold). The checker flags both, and shows which way media flows for each m-line.