summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kluchnikov <kluchnikovi@gmail.com>2014-04-15 17:33:29 +0400
committerIvan Kluchnikov <kluchnikovi@gmail.com>2014-05-06 18:53:59 +0400
commitcbd7bc306e646c0e342bdc0902a5907853205d14 (patch)
treecbe9724c4a8603ac5ca3b289dfb3606a35382078
parente860c135b22996660c9f087a1059378e174df9fe (diff)
smpp: Force all SMSs to SMPP
-rw-r--r--openbsc/src/libmsc/gsm_04_11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/libmsc/gsm_04_11.c b/openbsc/src/libmsc/gsm_04_11.c
index 306dbefc2..a8b18b99a 100644
--- a/openbsc/src/libmsc/gsm_04_11.c
+++ b/openbsc/src/libmsc/gsm_04_11.c
@@ -427,8 +427,8 @@ static int gsm340_rx_tpdu(struct gsm_subscriber_connection *conn, struct msgb *m
/* FIXME: This looks very wrong */
send_signal(0, NULL, gsms, 0);
- rc = sms_queue_try_deliver(conn, msg, gsms, sms_mti);
- if (rc == GSM411_RP_CAUSE_MO_NUM_UNASSIGNED) {
+// rc = sms_queue_try_deliver(conn, msg, gsms, sms_mti);
+// if (rc == GSM411_RP_CAUSE_MO_NUM_UNASSIGNED) {
#ifdef BUILD_SMPP
rc = smpp_try_deliver(gsms, conn);
if (rc == GSM411_RP_CAUSE_MO_NUM_UNASSIGNED) {
@@ -441,7 +441,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;
- }
+// }
out:
sms_free(gsms);