Section: 5.3.14.5 Access barring check
Content: The UE shall: 1> if one or more Access Identities equal to 1, 2, 11, 12, 13, 14, or 15 are indicated according to TS 24.501[ Non-Access-Stratum (NAS) protocol for 5G System (5GS); Stage 3 ]  [23], and 1> if for at least one of these Access Identities the corresponding bit in the uac-BarringForAccessIdentity contained in "UAC barring parameter" is set to zero: 2> consider the access attempt as allowed; 1> else: 2> if the establishment of the RRC connection is the result of release with redirect with mpsPriorityIndication (either in NR or E-UTRAN); and 2> if the bit corresponding to Access Identity 1 in the uac-BarringForAccessIdentity contained in the "UAC barring parameter" is set to zero: 3> consider the access attempt as allowed; 2> else if Access Identity 3 is indicated: 3> draw a random number 'rand' uniformly distributed in the range: 0 ≤ rand < 1; 3> if 'rand' is lower than the value indicated by uac-BarringFactorForAI3 included in "UAC barring parameter": 4> consider the access attempt as allowed; 3> else: 4> consider the access attempt as barred; 2> else: 3> draw a random number 'rand' uniformly distributed in the range: 0 ≤ rand < 1; 3> if 'rand' is lower than the value indicated by uac-BarringFactor included in "UAC barring parameter": 4> consider the access attempt as allowed; 3> else: 4> consider the access attempt as barred; 1> if the access attempt is considered as barred: 2> draw a random number 'rand' that is uniformly distributed in the range 0 ≤ rand < 1; 2> start timer T390 for the Access Category with the timer value calculated as follows, using the uac-BarringTime included in "UAC barring parameter": T390 = (0.7+ 0.6 * rand) * uac-BarringTime.