From 8404478ec651a57eab8c39274925d64b79a6dda6 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Wed, 10 Aug 2016 08:47:08 -0400 Subject: [PATCH] LP1579144: On Login, Send Location to ILS 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 --- Sip/MsgType.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Sip/MsgType.pm b/Sip/MsgType.pm index 47df859..0f51459 100644 --- 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); } -- 2.11.0