lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/35001?usp=email )


Change subject: osmo_dia2gsup: set Origin-State-Id
......................................................................

osmo_dia2gsup: set Origin-State-Id

To allow the remote side to detect restarts.
See RFC6733.

Related: OS#6155
Change-Id: I3693bad6030d41db4e28bd5f343c5db912789344
---
M src/osmo_dia2gsup.erl
1 file changed, 14 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup 
refs/changes/01/35001/1

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]},

--
To view, visit 
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/35001?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I3693bad6030d41db4e28bd5f343c5db912789344
Gerrit-Change-Number: 35001
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <[email protected]>
Gerrit-MessageType: newchange

Reply via email to