Browse Source

Fixed endless loop when used endpoint with RFC 5438 support

KAZOO-5650
Sergey Safarov 9 years ago
parent
commit
41dfe29f3e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      kamailio/default.cfg

+ 3
- 0
kamailio/default.cfg View File

@ -474,6 +474,9 @@ route[HANDLE_MESSAGE]
if( $hdr(Content-Type) == "application/im-iscomposing+xml" ) {
xlog("L_WARN", "$ci|end|dropping MESSAGE application/im-iscomposing+xml\n");
sl_send_reply("200", "OK");
} else if( $hdr(Content-Type) == "message/imdn+xml" ) {
xlog("L_WARN", "$ci|end|dropping MESSAGE message/imdn+xml\n");
sl_send_reply("202", "Accepted");
} else {
route(DISPATCHER_FIND_ROUTES);
route(EXTERNAL_TO_INTERNAL_RELAY);


Loading…
Cancel
Save