Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 49023) +++ channels/chan_sip.c (working copy) @@ -4722,6 +4722,11 @@ /* 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