Optionally store IMEI in subscriber table
Add VTY config option "store-imei". When it is set, store the IMEI
sent from the VLR with CHECK-IMEI in the database.
Related: OS#2541
Change-Id: I09274ecbed64224f7ae305e09ede773931da2a57
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
index 63d3da0..6e72ed0 100644
--- a/tests/test_nodes.vty
+++ b/tests/test_nodes.vty
@@ -79,6 +79,8 @@
ussd default-route external EUSE
no ussd default-route
ncss-guard-timeout <0-255>
+ store-imei
+ no store-imei
OsmoHLR(config-hlr)# gsup
OsmoHLR(config-hlr-gsup)# list
@@ -98,6 +100,7 @@
OsmoHLR(config)# exit
OsmoHLR# configure terminal
OsmoHLR(config)# hlr
+OsmoHLR(config-hlr)# store-imei
OsmoHLR(config-hlr)# gsup
OsmoHLR(config-hlr-gsup)# end
OsmoHLR# disable
@@ -116,6 +119,7 @@
logging level ss info
...
hlr
+ store-imei
gsup
bind ip 127.0.0.1
ussd route prefix *#100# internal own-msisdn