projects
/
working
/
SIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d2d25d
)
LP1579144: Make client_location_code a hard switch, and default to original behavior
author
Mike Rylander
<mrylander@gmail.com>
Tue, 13 Sep 2016 21:02:44 +0000
(17:02 -0400)
committer
Mike Rylander
<mrylander@gmail.com>
Tue, 13 Sep 2016 21:02:44 +0000
(17:02 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Sip/MsgType.pm
patch
|
blob
|
history
diff --git
a/Sip/MsgType.pm
b/Sip/MsgType.pm
index
29751f8
..
aa894d2
100644
(file)
--- 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);
}