From: Holger Hans Peter Freyther <[email protected]>

When we can't find the TMSI then the subscriber is not in our
VLR. We have not consulted with the HLR and it is better to not
use such a severe error code.
---
 openbsc/src/libmsc/gsm_04_08.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 29ab2ba..e380d94 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -968,7 +968,7 @@ static int gsm48_rx_mm_serv_req(struct 
gsm_subscriber_connection *conn, struct m
        /* FIXME: if we don't know the TMSI, inquire abit IMSI and allocate new 
TMSI */
        if (!subscr)
                return gsm48_tx_mm_serv_rej(conn,
-                                           GSM48_REJECT_IMSI_UNKNOWN_IN_HLR);
+                                           GSM48_REJECT_IMSI_UNKNOWN_IN_VLR);

        if (!conn->subscr)
                conn->subscr = subscr;
-- 
2.3.5

Reply via email to