[sr-dev] [kamailio] Error with has_body("application/media_control+xml") (#547)

Fabio Margarido notifications at github.com
Thu Mar 17 13:10:00 CET 2016


Hi there.

When I try to add the following line to my config script:

```
if (is_method("INFO") && has_body("application/media_control+xml"))
```

Kamailio fails to start with these errors:

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

This is with the official Debian packages of Kamailio 4.3.5.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/547
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160317/dd6056ee/attachment.html>


More information about the sr-dev mailing list