changeset 138:0967f67c6ac3

mtctest: accept call hold and retrieve requests
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 07 Oct 2022 16:00:26 -0800
parents f05183b18d29
children c731ec342ba0
files mtctest/sig_handler.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mtctest/sig_handler.c	Thu Oct 06 23:59:17 2022 -0800
+++ b/mtctest/sig_handler.c	Fri Oct 07 16:00:26 2022 -0800
@@ -243,16 +243,12 @@
 		return;
 	case MNCC_HOLD_IND:
 		printf("MNCC_HOLD_IND: MS requests call hold\n");
-		msg->msg_type = MNCC_HOLD_REJ;
-		mncc_set_cause(msg, GSM48_CAUSE_LOC_PRN_S_LU,
-				GSM48_CC_CAUSE_SERV_OPT_UNIMPL);
+		msg->msg_type = MNCC_HOLD_CNF;
 		send_mncc_to_gsm(msg, sizeof(struct gsm_mncc));
 		return;
 	case MNCC_RETRIEVE_IND:
 		printf("MNCC_RETRIEVE_IND: MS requests call retrieve\n");
-		msg->msg_type = MNCC_RETRIEVE_REJ;
-		mncc_set_cause(msg, GSM48_CAUSE_LOC_PRN_S_LU,
-				GSM48_CC_CAUSE_SERV_OPT_UNIMPL);
+		msg->msg_type = MNCC_RETRIEVE_CNF;
 		send_mncc_to_gsm(msg, sizeof(struct gsm_mncc));
 		return;
 	case MNCC_USERINFO_IND: