Open hw-zerozero opened 3 years ago
@hw-zerozero
~Your supi: 'imsi-200111888888888'
value in the UE config seems incorrect.~
~IMSI must be either 15 or 16 digits. More specifically,~
~If MNC is 2-digit then IMSI must be 15-digit,~
~If MNC is 3-digit then IMSI must be 16-digit~
~In your case IMSI number is still 15-digit but it should be 16-digit. (Since the MNC is 3-digit)~
UPDATE: Possibly there is a bug in our IMSI encoding in NAS messages, I'll try to check this
Hi @aligungr ,
Is there any specific use-case where IMSI could be 16-digit?
With reference to spec 23.003-v16.03.00 - Section 2.2: (https://www.etsi.org/deliver/etsi_ts/123000_123099/123003/16.03.00_60/ts_123003v160300p.pdf), IMSI is written to be of "not more than 15-digits".
@harminderharrysingh
My mistake, yes IMSI cannot be more than 15 digits. That was a ridiculous failure.
Thanks for the remind.
This issue should be fixed now, you can try again with the latest code.
Hi, This may be a "new version has different config params" issue, look forward to your feedback Thanks.
My previous working version was v3.1.7 After git pull, the previous v3.1.7 successful Initial Reg is now failing (when executing the nr-ue)
The failure pcap (attached) shows that the UE MSIN which is 888888888 In the NGAP/NAS-5GS InitialUEMessage, Registration request, the MSIN has been encoded with an extra "0" i.e. 8888888880
After some investigation and debug o/p added to ie6.cpp (also attached) The IE5gsMobileIdentity::Encode() was OK But IE5gsMobileIdentity::Decode() was overwriting the UE ID properties and adding the extra "0"
Added to the attached ie6.cpp is the line of code (line 397) I temporarily hacked in, to fix the Reg Fail issue For your amusement here is the debug o/p from ie6.cpp
config files attached in zip
Reg_Fail.zip