SMS-over-GSUP: notify sender about unhandled GSUP messages
Change-Id: I7970349bd9d5c56a64c409e619e8b581682fef0b
This commit is contained in:
parent
b6ec0999f0
commit
b1e46b17f7
|
@ -315,6 +315,7 @@ int gsm411_gsup_rx(struct gsup_client_mux *gcm, void *data, const struct osmo_gs
|
||||||
default:
|
default:
|
||||||
LOGP(DMM, LOGL_ERROR, "No handler found for %s, dropping message...\n",
|
LOGP(DMM, LOGL_ERROR, "No handler found for %s, dropping message...\n",
|
||||||
osmo_gsup_message_type_name(gsup_msg->message_type));
|
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;
|
rc = -GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue