diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2023-11-10 14:45:02 +0100 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2023-11-11 19:18:50 +0100 |
commit | 96eb0938db167ed06b31b83c9e4c017371cdea96 (patch) | |
tree | 2784c7224041479226eb73e698ca40cec025ab7a | |
parent | cdd84e4a5a7cf7bccb3c5492ea1ec5a5ab5ab6ec (diff) |
osmo_dia2gsup: set Origin-State-Id
To allow the remote side to detect restarts.
See RFC6733.
Related: OS#6155
Change-Id: I3693bad6030d41db4e28bd5f343c5db912789344
-rw-r--r-- | src/osmo_dia2gsup.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo_dia2gsup.erl b/src/osmo_dia2gsup.erl index a4edd71..90f5ddc 100644 --- a/src/osmo_dia2gsup.erl +++ b/src/osmo_dia2gsup.erl @@ -31,6 +31,7 @@ -define(SERVICE(Name), [{'Origin-Host', application:get_env(osmo_dia2gsup, origin_host, "hss.localdomain")}, {'Origin-Realm', application:get_env(osmo_dia2gsup, origin_realm, "localdomain")}, {'Vendor-Id', application:get_env(osmo_dia2gsup, vendor_id, 0)}, + {'Origin-State-Id', diameter:origin_state_id()}, {'Product-Name', "osmo_dia2gsup"}, {'Auth-Application-Id', []}, {'Vendor-Specific-Application-Id', [?APPID_S6]}, |