Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 44743) +++ channels/chan_sip.c (working copy) @@ -3474,6 +3474,10 @@ /* make a duplicate of the string, with two extra characters at the beginning */ boundary = ast_strdupa(search - 2); + if (strcasestr(boundary, "\"")) { + strncpy(boundary, boundary+1, strlen(boundary)); + boundary[strlen(boundary)-1] = '\0'; + } boundary[0] = boundary[1] = '-'; /* search for the boundary marker, but stop when there are not enough @@ -3483,6 +3487,7 @@ if (!strncasecmp(req->line[x], boundary, strlen(boundary)) && !strcasecmp(req->line[x + 1], "Content-Type: application/sdp")) { req->sdp_start = x + 2; + x += 2; /* search for the end of the body part */ for ( ; x < req->lines; x++) { if (!strncasecmp(req->line[x], boundary, strlen(boundary)))