From 768bd5d1d1b557384d6f1caceb3194c0ea660d1d Mon Sep 17 00:00:00 2001 From: K Anderson Date: Fri, 2 Dec 2011 14:20:47 -0800 Subject: [PATCH] clear the user cache too --- opensips/opensips.tmp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opensips/opensips.tmp b/opensips/opensips.tmp index d4e88cb..072571d 100644 --- a/opensips/opensips.tmp +++ b/opensips/opensips.tmp @@ -617,6 +617,11 @@ route # ...clear the cache cache_remove("local", "$ci"); + + if ($ct.fields(uri)) + { + cache_remove("local", "$(ct.fields(uri){uri.user})"); + } } # the server we are locked to is in the active server list from then # dispatcher so re-arrange the list to try it first