summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCiaby <ciaby@autistici.org>2014-03-07 15:50:51 +0100
committerCiaby <ciaby@rhizomatica.org>2014-11-14 19:24:54 -0600
commit4ea053240bd0b720351d1b118f233a33a73e64c4 (patch)
tree140eb804863d4c7ce292b88794b6df1efe5d0bac
parentd884ddcaafad17931c9dbb679408fe678bcb6b10 (diff)
DIRTY HACK: Force all SMSs to SMPP.
-rw-r--r--openbsc/src/libmsc/gsm_04_11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libmsc/gsm_04_11.c b/openbsc/src/libmsc/gsm_04_11.c
index b2100d8b5..46e352dad 100644
--- a/openbsc/src/libmsc/gsm_04_11.c
+++ b/openbsc/src/libmsc/gsm_04_11.c
@@ -393,7 +393,7 @@ static int gsm340_rx_tpdu(struct gsm_subscriber_connection *conn, struct msgb *m
/* determine gsms->receiver based on dialled number */
gsms->receiver = subscr_get_by_extension(conn->bts->network, gsms->dst.addr);
- if (!gsms->receiver) {
+// if (!gsms->receiver) {
#ifdef BUILD_SMPP
rc = smpp_try_deliver(gsms, conn);
if (rc == 1) {
@@ -408,7 +408,7 @@ static int gsm340_rx_tpdu(struct gsm_subscriber_connection *conn, struct msgb *m
osmo_counter_inc(conn->bts->network->stats.sms.no_receiver);
#endif
goto out;
- }
+// }
switch (sms_mti) {
case GSM340_SMS_SUBMIT_MS2SC: