changeset 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 5b0f685fd2ed
children fd43f179ff1d
files mncc/intswitch.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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: