SMS-over-GSUP: notify sender about unhandled GSUP messages

Change-Id: I7970349bd9d5c56a64c409e619e8b581682fef0b
This commit is contained in:
Vadim Yanitskiy 2020-04-20 10:38:14 +07:00
parent b6ec0999f0
commit b1e46b17f7
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ int gsm411_gsup_rx(struct gsup_client_mux *gcm, void *data, const struct osmo_gs
default:
LOGP(DMM, LOGL_ERROR, "No handler found for %s, dropping message...\n",
osmo_gsup_message_type_name(gsup_msg->message_type));
gsup_client_mux_tx_error_reply(gcm, gsup_msg, GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL);
rc = -GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL;
}