Filename for HLR sqlite3 Database in 3G network?

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Sat May 13 21:28:52 UTC 2017


On Sat, May 13, 2017 at 08:48:10PM +0200, Andreas Mueller wrote:
>         Hello,
> 
> sorry - I saw, that sms table is in sms.db, so the line in run.sh to clean the table should maybe be 
> sqlite3 sms.db "delete from sms"

Ah, thanks for reporting this.

The hlr.sqlite3 is the legacy database from OsmoNITB. In OsmoMSC, this db no
longer holds subscriber data, but until we fix the implementation, SMS are
still stored in it. Thus it was renamed to sms.db.

That said, the run script comes from my personal test setup, where I don't want
SMS from a previous test run to re-appear in the next one. So I deleted all SMS
from the (then) hlr.sqlite3. That would need to happen in sms.db now, but in
that run.sh we shouldn't actually remove SMS, who knows what important messages
might be in there :)

I commented out the SMS deletion, fixed the db filename and uploaded to
redmine.

Thanks!

~N

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170513/44ae4e70/attachment.bin>


More information about the OpenBSC mailing list