Change in osmo-ttcn3-hacks[master]: library/DIAMETER_Templates: add missing AVPs to AIR

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Dec 15 14:22:30 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26519 )

Change subject: library/DIAMETER_Templates: add missing AVPs to AIR
......................................................................

library/DIAMETER_Templates: add missing AVPs to AIR

Change-Id: I948072dbfa05d158483a727fb708f853741ab23f
Related: SYS#5602
---
M library/DIAMETER_Templates.ttcn
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/library/DIAMETER_Templates.ttcn b/library/DIAMETER_Templates.ttcn
index bd9ee21..b56363f 100644
--- a/library/DIAMETER_Templates.ttcn
+++ b/library/DIAMETER_Templates.ttcn
@@ -888,6 +888,8 @@
 template (value) PDU_DIAMETER
 ts_DIA_AIR(/* template (value) */ hexstring imsi,
 	   template (value) octetstring sess_id := c_def_sess_id,
+	   template (value) charstring orig_host := "ttcn3.localdomain",
+	   template (value) charstring orig_realm := "localdomain",
 	   template (value) charstring dest_realm := "localdomain",
 	   template (value) UINT32 hbh_id := '00000000'O,
 	   template (value) UINT32 ete_id := '00000000'O) :=
@@ -899,9 +901,12 @@
 		    avps := {
 			ts_AVP_SessionId(sess_id),
 			ts_AVP_DestinationRealm(dest_realm),
+			ts_AVP_OriginHost(orig_host),
+			ts_AVP_OriginRealm(orig_realm),
 			ts_AVP_UserNameImsi(imsi),
 			/* Requested EUTRAN Auth Info */
 			ts_AVP_RequestedEutranAuthInfo,
+			ts_AVP_AuthSessionState(NO_STATE_MAINTAINED),
 			ts_AVP_3GPP_VisitedPlmnId('11111F'O)
 	});
 template (present) PDU_DIAMETER

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26519
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I948072dbfa05d158483a727fb708f853741ab23f
Gerrit-Change-Number: 26519
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211215/74270299/attachment.htm>


More information about the gerrit-log mailing list