From d0eab21f599b5514463465bad48966f4b1e87ed1 Mon Sep 17 00:00:00 2001 From: lazedo Date: Thu, 28 Apr 2016 19:46:44 +0100 Subject: [PATCH] HELP-21051 reselect when associated media is unavailable (#77) if the associated media is unavailable, clear the association and reselect --- kamailio/dispatcher-role.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kamailio/dispatcher-role.cfg b/kamailio/dispatcher-role.cfg index 930dcc8..8ad1fe9 100644 --- a/kamailio/dispatcher-role.cfg +++ b/kamailio/dispatcher-role.cfg @@ -104,7 +104,8 @@ route[DISPATCHER_FIND_ROUTES] $var(prefered_route) = $sht(associations=>$var(contact_uri)); xlog("L_INFO", "$ci|log|found association for contact uri $var(contact_uri)"); if (!route(DISPATCHER_REORDER_ROUTES)) { - $sht(associations=>$var(association)) = $null; + $sht(associations=>$var(contact_uri)) = $null; + route(DISPATCHER_FIND_ROUTES); } } }