aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/smpp_openbsc.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-21 12:21:35 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:11 +0100
commitbcb98b17546dff6dbf747ca9d78358b5c355dff2 (patch)
tree9674cde40f73bbc52a4c0deb3f8ed591a62495dc /openbsc/src/libmsc/smpp_openbsc.c
parent2a7426d7cb34c1e7663526293a794df42a1faba7 (diff)
libmsc/smpp: disable lchan access for now
To make the IuCS build work, disable the BSC-land access from MSC's SMPP code. Some way shall be found to make the Osmocom vendor-specific SMPP TLVs work over the A-interface (after the MSCSPLIT), but we're concentrating on IuCS for now.
Diffstat (limited to 'openbsc/src/libmsc/smpp_openbsc.c')
-rw-r--r--openbsc/src/libmsc/smpp_openbsc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/smpp_openbsc.c b/openbsc/src/libmsc/smpp_openbsc.c
index 0269f4b3b..3ac4ed988 100644
--- a/openbsc/src/libmsc/smpp_openbsc.c
+++ b/openbsc/src/libmsc/smpp_openbsc.c
@@ -533,8 +533,10 @@ static int deliver_to_esme(struct osmo_esme *esme, struct gsm_sms *sms,
memcpy(deliver.short_message, sms->user_data, deliver.sm_length);
}
+#if BEFORE_MSCSPLIT
if (esme->acl && esme->acl->osmocom_ext && conn->lchan)
append_osmo_tlvs(&deliver.tlv, conn->lchan);
+#endif
return smpp_tx_deliver(esme, &deliver);
}