aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-08-22 22:30:20 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2019-08-22 22:43:44 +0200
commit876a1f06a4fcdf288d191319f29bb9bddaed944c (patch)
tree3066f1a5825d2e13a259a672e2a68bcd8069014f
parent857bcccf925a07f539ce1eef9260f976cd976e6c (diff)
tweak CC cause for incoming call to unattached nr
So far we sent CC cause "Unassigned Number" But the MSC doesn't trivially know whether the HLR has the number assigned or not: any handset that is currently switched off would cause "Unassigned number" to be displayed on the caller's handset. Rather send a temporary failure cause code. Send this cause code for all cases, because claiming that an assigned number is unassigned is worse than rejecting an unassigned number with a temporary failure. Change-Id: Ia3d4f67b53fcc2654ff048fbc338e92cb763a095
-rw-r--r--src/libmsc/gsm_04_08_cc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c
index 52178614a..c941a7a29 100644
--- a/src/libmsc/gsm_04_08_cc.c
+++ b/src/libmsc/gsm_04_08_cc.c
@@ -1890,7 +1890,7 @@ static int mncc_tx_to_gsm_cc(struct gsm_network *net, const union mncc_msg *msg)
}
if (!vsub)
return mncc_release_ind(net, NULL, data->callref, GSM48_CAUSE_LOC_PRN_S_LU,
- GSM48_CC_CAUSE_UNASSIGNED_NR);
+ GSM48_CC_CAUSE_USER_NOTRESPOND);
/* update the subscriber we deal with */
log_set_context(LOG_CTX_VLR_SUBSCR, vsub);