--- channels/chan_sip.c (revision 416067) +++ channels/chan_sip.c (working copy) @@ -11116,7 +11116,7 @@ static int process_sdp_a_audio(const cha if (debug) ast_verbose("Discarded description format %s for ID %d\n", mimeSubtype, codec); } - } else if (sscanf(a, "fmtp: %30u %255s", &codec, fmtp_string) == 2) { + } else if (sscanf(a, "fmtp: %30u %255[^\t\n]", &codec, fmtp_string) == 2) { struct ast_format *format; if ((format = ast_rtp_codecs_get_payload_format(newaudiortp, codec))) { @@ -11196,7 +11196,7 @@ static int process_sdp_a_video(const cha if (debug) ast_verbose("Discarded description format %s for ID %d\n", mimeSubtype, codec); } - } else if (sscanf(a, "fmtp: %30u %255s", &codec, fmtp_string) == 2) { + } else if (sscanf(a, "fmtp: %30u %255[^\t\n]", &codec, fmtp_string) == 2) { struct ast_format *format; if ((format = ast_rtp_codecs_get_payload_format(newvideortp, codec))) {