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

@ -39,6 +39,7 @@ sub_data = {
"subscribed_rau_tau_timer": 12,
"network_access_mode": 0,
"subscriber_status": 0,
"operator_determined_barring": 0,
"access_restriction_data": 32,
"slice" : slice_data,
"ambr": {"uplink": {"value": 1, "unit": 3}, "downlink": {"value": 1, "unit": 3}},