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