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: [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
0(12) ERROR: [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:549
0(12) ERROR: [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:556
0(12) ERROR: [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