aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-04-17 19:35:26 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-04-22 09:09:34 +0200
commitf3f051c010cd78c68af23b1e1cd342d14834c509 (patch)
treeb7d9e5a77b06a2f66de955b752b01a98e29f12ad /openbsc/include
parentfef4059ac3050f05307447c439565e655f56dbe8 (diff)
sms: Kill the sms->sender and use addr/ton/npi throughout the codezecke/features/sms-smpp
This is an incompatible database schema change. Store the type of the address in the database for both the sender and the receiver. Currently it is possible to use SMPP to store a SMS and the NPI and TON will be lost on the delivery of the SMS. The schema is changed to make the delivery always use the right NPI/TON. This patch is not ready for the master branch as there is no upgrade path for the HLR yet.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 12b908b04..fb79a6e86 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -295,7 +295,6 @@ struct gsm_sms_addr {
struct gsm_sms {
unsigned long long id;
- struct gsm_subscriber *sender;
struct gsm_subscriber *receiver;
struct gsm_sms_addr src, dst;
enum gsm_sms_source_id source;