diff options
-rw-r--r-- | openbsc/src/utils/smpp_mirror.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/src/utils/smpp_mirror.c b/openbsc/src/utils/smpp_mirror.c index ec28f0ab4..edb40b574 100644 --- a/openbsc/src/utils/smpp_mirror.c +++ b/openbsc/src/utils/smpp_mirror.c @@ -112,6 +112,14 @@ static int smpp_handle_deliver(struct esme *esme, struct msgb *msg) PACK_AND_SEND(esme, &deliver_r); + /* This is a delivery receipt, temporarily munch it until we teach + * openbsc what to do with this. + */ + if (deliver.esm_class == 0x04) { + LOGP(DSMPP, LOGL_NOTICE, "%s\n", deliver.short_message); + return 0; + } + memset(&submit, 0, sizeof(submit)); submit.command_id = SUBMIT_SM; submit.command_status = ESME_ROK; |