aboutsummaryrefslogtreecommitdiffstats
path: root/src/sccp_scrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sccp_scrc.c')
-rw-r--r--src/sccp_scrc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sccp_scrc.c b/src/sccp_scrc.c
index dca5645..cd01774 100644
--- a/src/sccp_scrc.c
+++ b/src/sccp_scrc.c
@@ -279,8 +279,15 @@ static int scrc_translate_node_9(struct osmo_sccp_instance *inst,
translated.ri != OSMO_SCCP_RI_SSN_IP) {
/* TODO: GT Routing */
LOGP(DLSCCP, LOGL_NOTICE, "GT Routing not implemented yet\n");
+#if 1
+ /* Prevent endless recursion, see OS#2666. */
+ sccp_sclc_rx_scrc_rout_fail(inst, xua,
+ SCCP_RETURN_CAUSE_SUBSYSTEM_FAILURE);
+ return 0;
+#else
/* Node 7 (Sheet 5) */
return scrc_node_7(inst, xua, called);
+#endif
}
/* Check DPC resultant from GT translation */