Browse Source

allow text/html in message content-type

* bria sends text/html
4.3 4.3.15
lazedo 6 years ago
committed by GitHub
parent
commit
c53a0bb908
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      kamailio/message-role.cfg

+ 2
- 1
kamailio/message-role.cfg View File

@ -12,7 +12,8 @@ route[HANDLE_MESSAGE]
sl_send_reply("403", "Forbidden");
exit;
} else {
if($hdr(Content-Type) == "text/plain") {
if($hdr(Content-Type) == "text/plain" ||
$hdr(Content-Type) == "text/html") {
route(MESSAGE_INBOUND);
} else {
xlog("L_WARN", "$ci|end|dropping MESSAGE $hdr(Content-Type)\n");


Loading…
Cancel
Save