aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libmsc/gsm_04_11.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libmsc/gsm_04_11.c b/src/libmsc/gsm_04_11.c
index 0a1348d1d..261e5cd64 100644
--- a/src/libmsc/gsm_04_11.c
+++ b/src/libmsc/gsm_04_11.c
@@ -683,6 +683,11 @@ static void sms_status_report(struct gsm_sms *gsms,
LOGP(DLSMS, LOGL_ERROR,
"Failed to send status report! err=%d\n", rc);
}
+
+ /* No route via SMPP, send the GSM 03.40 status-report now. */
+ if (gsms->receiver)
+ gsm340_rx_sms_submit(sms_report);
+
LOGP(DLSMS, LOGL_NOTICE, "Status report has been sent\n");
sms_free(sms_report);