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:
88653f6
)
LP1579144: On Login, Send Location to ILS
author
Mike Rylander
<mrylander@gmail.com>
Wed, 10 Aug 2016 12:47:08 +0000
(08:47 -0400)
committer
Mike Rylander
<mrylander@gmail.com>
Wed, 10 Aug 2016 12:47:08 +0000
(08:47 -0400)
In addition to supporting client-side location code for login, allow
a fallback value to be set in the configuration file, per account.
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
47df859
..
0f51459
100644
(file)
--- a/
Sip/MsgType.pm
+++ b/
Sip/MsgType.pm
@@
-856,6
+856,7
@@
sub handle_login {
syslog("LOG_WARNING", "MsgType::handle_login: Invalid password for login '$uid'");
$status = 0;
} else {
+ $sc_loc ||= $server->{config}->{accounts}->{$uid}->{location_code};
_load_ils_handler($server, $uid, $sc_loc);
}