[PATCH 0/5] SMPP and other SMS fixes

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/.

Alexander Chemeris alexander.chemeris at gmail.com
Tue Oct 8 01:17:28 UTC 2013


This patchset solves the issue with the wrong sender address for inbound SMPP
SMS messages. It then further cleans up DB structure to remove 'receiver_id'
field from the sms table.

The only issue with this code is that it somehow breaks channel_test test,
because it depended on some fragile linker behavior. The last patch in the
series fixes compilation of the test, but the test asserts. I hope the test
author will find a more proper way to implement it, but at this moment I
propose to disable it.

Alexander Chemeris (4):
  bsc: Allow subscr_put() to be called with subscr->net=NULL.
  sms: Add a function to update DB scheme v3 to v4.
  msc: Do not store received id in the SMS database.
  This is a hack to fix channel_test.c compilation.

Holger Hans Peter Freyther (1):
  sms: Kill the sms->sender and use addr/ton/npi throughout the code

 openbsc/include/openbsc/gsm_data.h       |    1 -
 openbsc/src/libbsc/gsm_subscriber_base.c |    2 +-
 openbsc/src/libmsc/db.c                  |  257 ++++++++++++++++++++++++------
 openbsc/src/libmsc/gsm_04_11.c           |    9 +-
 openbsc/src/libmsc/smpp_openbsc.c        |    5 +-
 openbsc/tests/channel/Makefile.am        |    4 +-
 openbsc/tests/channel/channel_test.c     |   12 --
 7 files changed, 215 insertions(+), 75 deletions(-)

-- 
1.7.9.5





More information about the OpenBSC mailing list