diff mncc/intswitch.c @ 24:52e801b5ebb1

themwi-mncc intsw: set cause when rejecting DTMF start
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 Jun 2022 18:36:47 -0800
parents ccc5ab6d8388
children 660126bd5f59
line wrap: on
line diff
--- a/mncc/intswitch.c	Tue Jun 28 18:28:49 2022 -0800
+++ b/mncc/intswitch.c	Tue Jun 28 18:36:47 2022 -0800
@@ -168,6 +168,8 @@
 		return;
 	case MNCC_START_DTMF_IND:
 		msg->msg_type = MNCC_START_DTMF_REJ;
+		mncc_set_cause(msg, GSM48_CAUSE_LOC_PRN_S_LU,
+				GSM48_CC_CAUSE_SERV_OPT_UNIMPL);
 		send_mncc_to_gsm(msg, sizeof(struct gsm_mncc));
 		return;
 	case MNCC_STOP_DTMF_IND: