From 8e6a4814133691319d3ab5ef10b277871d50487c Mon Sep 17 00:00:00 2001 From: karl anderson Date: Mon, 16 Apr 2012 12:07:56 -0700 Subject: [PATCH] WHISTLE-1125: if at the end of our failover routine we are still getting a 404 overwrite it with 486 --- opensips/opensips.tmp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/opensips/opensips.tmp b/opensips/opensips.tmp index d464dbf..ff44947 100644 --- a/opensips/opensips.tmp +++ b/opensips/opensips.tmp @@ -964,6 +964,16 @@ failure_route[internal_fault] exit(); } + else if (t_check_status("404")) + { + xlog("L_ERR", "$ci|log|no other media servers avaliable, sending 486"); + + cache_remove("local", "$ci-failure"); + + send_reply("486", "Not found"); + + exit(); + } else { cache_remove("local", "$ci-failure");