Browse Source

KAZOO-532: remap 6XX to 4XX so we can send errors that are normally retried

3.12
karl anderson 13 years ago
parent
commit
2b727208d7
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      opensips/opensips.tmp

+ 6
- 0
opensips/opensips.tmp View File

@ -944,6 +944,12 @@ failure_route[internal_fault]
exit(); exit();
} }
else if (t_check_status("6[0-9][0-9]"))
{
send_reply("4$(T_reply_code{s.substr,1,0})", "$(<reply>rr)");
exit();
}
else if (t_check_status("(4[0-9][0-9])|(5[0-9][0-9])")) else if (t_check_status("(4[0-9][0-9])|(5[0-9][0-9])"))
{ {
xlog("L_INFO", "$ci|start|received failure reply $T_reply_code $rr"); xlog("L_INFO", "$ci|start|received failure reply $T_reply_code $rr");


Loading…
Cancel
Save