Add LAC swapping for osmo-msc

Make LAC config availble to the shell.
Run a script on MSC restart to change the lac and write a state flag to disk.

Due to the fact that osmo-msc may restart due to crash or power outage
hence loosing all VLR state, force all UE to send a LUR by changing the LAC
on all BTS via CTRL commands to osmo-bsc.
This commit is contained in:
Keith Whyte 2021-06-09 01:29:01 +02:00
parent c5809a00ca
commit e5971a2375
3 changed files with 24 additions and 0 deletions

View file

@ -1,3 +1,4 @@
[Service]
ExecStart=
ExecStart=/usr/bin/osmo-msc -c /etc/osmocom/osmo-msc.cfg -l /var/lib/osmocom/sms.db
ExecStartPost=/home/rhizomatica/bin/swap_lac.sh