Browse Source

Merge pull request #16 from sergey-safarov/fixed-rfc5438

Fixed endless loop when used endpoint with RFC 5438 support
KAZOO-5650
lazedo 8 years ago
committed by GitHub
parent
commit
fdd1c9b2a3
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" ) { if( $hdr(Content-Type) == "application/im-iscomposing+xml" ) {
xlog("L_WARN", "$ci|end|dropping MESSAGE application/im-iscomposing+xml\n"); xlog("L_WARN", "$ci|end|dropping MESSAGE application/im-iscomposing+xml\n");
sl_send_reply("200", "OK"); 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 { } else {
route(DISPATCHER_FIND_ROUTES); route(DISPATCHER_FIND_ROUTES);
route(EXTERNAL_TO_INTERNAL_RELAY); route(EXTERNAL_TO_INTERNAL_RELAY);


Loading…
Cancel
Save