aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 87f54a111..fd6e75636 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5584,7 +5584,7 @@ static int find_sdp(struct sip_request *req)
return 0;
/* if there is no boundary marker, it's invalid */
- if (!(search = strcasestr(content_type, ";boundary=")))
+ if (!(search = strcasestr(content_type, ";boundary=")) && (!(search = strcasestr(content_type, "; boundary="))))
return 0;
search += 10;