<p>Hi there.</p>

<p>When I try to add the following line to my config script:</p>

<pre><code>if (is_method("INFO") && has_body("application/media_control+xml"))
</code></pre>

<p>Kamailio fails to start with these errors:</p>

<blockquote>
<p>0(12) ERROR:  [parser/parse_content.c:370]: decode_mime_type(): ERROR:decode_mime_type: parse error near in [application/media_control+xml] char[95][_] offset=17<br>
 0(12) ERROR: textops [textops.c:2426]: fixup_body_type(): unsupported mime <br>
 0(12) ERROR:  [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:549<br>
 0(12) ERROR:  [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:556<br>
 0(12) ERROR:  [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:568<br>
 ERROR: error -6 while trying to fix configuration</p>
</blockquote>

<p>This is with the official Debian packages of Kamailio 4.3.5.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/547">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZV8RIfQ7ZH9MxMSjsys4tZKM_DB3ks5puUSYgaJpZM4Hy4A1.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/547"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>