--- a/branches/1.9/modules/mediaproxy/mediaproxy.c
+++ b/branches/1.9/modules/mediaproxy/mediaproxy.c
@@ -1,4 +1,4 @@
-/* $Id: mediaproxy.c 10386 2014-03-12 17:06:19Z opensipsrelease $
+/* $Id: mediaproxy.c 10387 2014-03-12 17:06:29Z opensipsrelease $
  *
  * Copyright (C) 2004-2008 Dan Pascu
  *
@@ -690,8 +690,8 @@
 static int
 get_sdp_message(struct sip_msg *msg, str *sdp)
 {
-    if ( get_body(msg, sdp)!=0 || sdp->len==0)
-        return -1;
+    if (get_body(msg, sdp)!=0 || sdp->len==0)
+        return -2;
 
     if (!check_content_type(msg))
         return -1;