<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -495,16 +495,21 @@ route[4]
       setflag(7);
     }
 
-    if(
-        ( ${MP_ALWAYS} ||
-          isbflagset(8) || isflagset(8) ||                # Update the existing mediaproxy session
-          isflagset(6) || isbflagset(6) || isflagset(7)   # None exist, but one is needed
-        )
-        &amp;&amp; search(&quot;^Content-Length:&quot;)
-        &amp;&amp; !search(&quot;^Content-Length:[ ]*0&quot;)
+    if( ${MP_ALWAYS} ||
+        isbflagset(8) || isflagset(8) ||                # Update the existing mediaproxy session
+        isflagset(6) || isbflagset(6) || isflagset(7)   # None exist, but one is needed
       )
     {
-      route(14);
+      if( search(&quot;^Content-Length:&quot;)
+          &amp;&amp; !search(&quot;^Content-Length:[ ]*0&quot;)
+        )
+      {
+        route(14);
+      }
+      else
+      {
+        xlog(&quot;L_DBG&quot;,&quot;DEBUG -- route(4) -- Media Proxy required but no SDP found&quot;);
+      }
     }
     else
     {</diff>
      <filename>CCNQ/Proxy/templates/opensips.cfg-1.4</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a82ce9fa2bb092d191bc843b70a5b2ea7c216a8d</id>
    </parent>
  </parents>
  <author>
    <name>Stephane Alnet</name>
    <email>stephane@shimaore.net</email>
  </author>
  <url>http://github.com/stephanealnet/ccnq1.5/commit/286cd2552352f09b6be3bd851650d94039585211</url>
  <id>286cd2552352f09b6be3bd851650d94039585211</id>
  <committed-date>2009-08-10T13:43:42-07:00</committed-date>
  <authored-date>2009-08-10T13:43:42-07:00</authored-date>
  <message>Better troubleshooting in route[4]</message>
  <tree>7833d6c3fb85fae96125411777d7ebd56f402daf</tree>
  <committer>
    <name>Stephane Alnet</name>
    <email>stephane@shimaore.net</email>
  </committer>
</commit>
