HSS: Add support for Operator-Determined-Barring field

* Add "subscriber_status" cmd to open5gs-dbctl to set values for
  "subscriber_status" and "operator_determined_barring" DB fields.
* Add webui View+Edit for those same fields.
* open5gs-hssd now takes those values into account and submits
  Operator-Determined-Barring AVP with DB-retrieved value if
subscriber_status is set to OPERATOR_DETERMINED_BARRING.

For more information, see TS 29.272 section 5.2.2.1.3  and 7.3.30.
This commit is contained in:
Pau Espin Pedrol 2023-10-09 16:19:21 +02:00 committed by Sukchan Lee
parent 963df4beeb
commit e108d6297c
13 changed files with 127 additions and 3 deletions

View file

@ -91,6 +91,10 @@ const Subscriber = new Schema({
$type: Number,
default: 0 // Service Granted
},
operator_determined_barring: {
$type: Number,
default: 0 // No barring
},
network_access_mode: {
$type: Number,
default: 0 // Packet and Circuit