FreeCalypso > hg > themwi-system-sw
comparison mtctest/sig_handler.c @ 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 | 64b9f0f90726 |
children | c731ec342ba0 |
comparison
equal
deleted
inserted
replaced
137:f05183b18d29 | 138:0967f67c6ac3 |
---|---|
241 GSM48_CC_CAUSE_SERV_OPT_UNIMPL); | 241 GSM48_CC_CAUSE_SERV_OPT_UNIMPL); |
242 send_mncc_to_gsm(msg, sizeof(struct gsm_mncc)); | 242 send_mncc_to_gsm(msg, sizeof(struct gsm_mncc)); |
243 return; | 243 return; |
244 case MNCC_HOLD_IND: | 244 case MNCC_HOLD_IND: |
245 printf("MNCC_HOLD_IND: MS requests call hold\n"); | 245 printf("MNCC_HOLD_IND: MS requests call hold\n"); |
246 msg->msg_type = MNCC_HOLD_REJ; | 246 msg->msg_type = MNCC_HOLD_CNF; |
247 mncc_set_cause(msg, GSM48_CAUSE_LOC_PRN_S_LU, | |
248 GSM48_CC_CAUSE_SERV_OPT_UNIMPL); | |
249 send_mncc_to_gsm(msg, sizeof(struct gsm_mncc)); | 247 send_mncc_to_gsm(msg, sizeof(struct gsm_mncc)); |
250 return; | 248 return; |
251 case MNCC_RETRIEVE_IND: | 249 case MNCC_RETRIEVE_IND: |
252 printf("MNCC_RETRIEVE_IND: MS requests call retrieve\n"); | 250 printf("MNCC_RETRIEVE_IND: MS requests call retrieve\n"); |
253 msg->msg_type = MNCC_RETRIEVE_REJ; | 251 msg->msg_type = MNCC_RETRIEVE_CNF; |
254 mncc_set_cause(msg, GSM48_CAUSE_LOC_PRN_S_LU, | |
255 GSM48_CC_CAUSE_SERV_OPT_UNIMPL); | |
256 send_mncc_to_gsm(msg, sizeof(struct gsm_mncc)); | 252 send_mncc_to_gsm(msg, sizeof(struct gsm_mncc)); |
257 return; | 253 return; |
258 case MNCC_USERINFO_IND: | 254 case MNCC_USERINFO_IND: |
259 printf("MNCC_USERINFO_IND: user-user info\n"); | 255 printf("MNCC_USERINFO_IND: user-user info\n"); |
260 print_fields(msg); | 256 print_fields(msg); |