Browse Source

early return for in-dialog transactions

master
lazedo 6 years ago
parent
commit
55920103ec
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      kamailio/default.cfg

+ 5
- 0
kamailio/default.cfg View File

@ -732,6 +732,11 @@ failure_route[INTERNAL_FAULT]
exit; exit;
} }
if (!is_method("INVITE") || has_totag()) {
xlog("L_INFO", "$ci|failure|internal reply $T_reply_code $T_reply_reason\n");
return;
}
# Handle redirects # Handle redirects
if (t_check_status("302")) { if (t_check_status("302")) {
$var(redirect) = @from.uri.user + "@" + @from.uri.host + "->" $var(redirect) = @from.uri.user + "@" + @from.uri.host + "->"


Loading…
Cancel
Save