From 38369b401b3b2bde269c98cb1c9f5369816d5041 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Tue, 13 Sep 2016 17:02:44 -0400 Subject: [PATCH] LP1579144: Make client_location_code a hard switch, and default to original behavior Signed-off-by: Mike Rylander --- Sip/MsgType.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sip/MsgType.pm b/Sip/MsgType.pm index 29751f8..aa894d2 100644 --- a/Sip/MsgType.pm +++ b/Sip/MsgType.pm @@ -866,7 +866,8 @@ sub handle_login { )) { $sc_loc ||= $server->{config}->{accounts}->{$uid}->{location_code}; } else { - $sc_loc = $server->{config}->{accounts}->{$uid}->{location_code} || $sc_loc; + # Only use config file value + $sc_loc = $server->{config}->{accounts}->{$uid}->{location_code}; } _load_ils_handler($server, $uid, $sc_loc); } -- 2.43.2