aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2017-08-07 14:01:33 +0100
committerPablo Neira Ayuso <pablo@gnumonks.org>2017-08-09 14:19:43 +0200
commit7cfd1a3beebba66d8385037a39cf7154fd5e6eb3 (patch)
tree7190ee10edb6ac808959236b919d9b3bf8b2aec7 /openbsc/tests
parent98849f7ddcbe8b094af5ee5efc30bd841ac12e04 (diff)
libmsc: update database to accomodate SMS status-report fields
SMPP DELIVER_SM messages with esm_class = Delivery Receipt need to send this message reference (that the mobile phone allocates) to the ESME. Thus, the ESME propagates it via SUBMIT_SM with esm_class = Delivery Acknoledgment so that the SMSC sends the GSM 03.40 status-report to the origin including this. Given this field is useful for status-reports, we need to store it in the HLR database. Moreover, we need a new field that specifies if the entry represents a SMS status-report, to do the right handling from the gsm411_send_sms() - such new handling comes in a follow up patch entitled "libmsc: handle delivery ack via SMPP SUBMIT SM / send GSM 03.40 status report". This patch includes the migration routines to the new database schema revision 5, it's quite a bit of dbi boilerplate code - copied-pasted and adapted. Change-Id: I7276d356d805a83ebeec72b02c8563b7135ea0b6
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/db/db_test.err1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/tests/db/db_test.err b/openbsc/tests/db/db_test.err
index fa9a54c09..27e570372 100644
--- a/openbsc/tests/db/db_test.err
+++ b/openbsc/tests/db/db_test.err
@@ -1,2 +1,3 @@
Going to migrate from revision 3
+Going to migrate from revision 4
 \ No newline at end of file