summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/gsm_04_11.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-13 15:29:27 +0100
committerHarald Welte <laforge@gnumonks.org>2013-03-13 15:30:48 +0100
commit3f786003464fe0ff32eea263cb8b8cb4c3e981ea (patch)
tree9ae46ad1b990bbadb0c036450316fcd9dce5a12a /openbsc/src/libmsc/gsm_04_11.c
parent76afa16d049a6c83555c6e99f0cec20b00d9536c (diff)
SMPP: Implement SMPP Osmocom Estensions on MO-SMS0.13.0
An ESME can now be configured in the VTY to enable osmocom-extensions, which will add vendor-specific SMPP TLVs for RxLev/RxQual/ARFCN/IMEI and transmit power to the SMPP DELIVER-SM message type.
Diffstat (limited to 'openbsc/src/libmsc/gsm_04_11.c')
-rw-r--r--openbsc/src/libmsc/gsm_04_11.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/libmsc/gsm_04_11.c b/openbsc/src/libmsc/gsm_04_11.c
index 9e00bdac7..2fc250bc8 100644
--- a/openbsc/src/libmsc/gsm_04_11.c
+++ b/openbsc/src/libmsc/gsm_04_11.c
@@ -57,7 +57,8 @@
#ifdef BUILD_SMPP
#include "smpp_smsc.h"
-extern int smpp_try_deliver(struct gsm_sms *sms);
+extern int smpp_try_deliver(struct gsm_sms *sms,
+ struct gsm_subscriber_connection *conn);
#endif
void *tall_gsms_ctx;
@@ -395,7 +396,7 @@ static int gsm340_rx_tpdu(struct gsm_subscriber_connection *conn, struct msgb *m
gsms->receiver = subscr_get_by_extension(conn->bts->network, gsms->dst.addr);
if (!gsms->receiver) {
#ifdef BUILD_SMPP
- rc = smpp_try_deliver(gsms);
+ rc = smpp_try_deliver(gsms, conn);
if (rc == 1) {
rc = 1; /* cause 1: unknown subscriber */
osmo_counter_inc(conn->bts->network->stats.sms.no_receiver);