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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun Dec 12 01:42:36 UTC 2021


fixeria has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/19/26519/1

diff --git a/library/DIAMETER_Templates.ttcn b/library/DIAMETER_Templates.ttcn
index f12c37a..2cce568 100644
--- a/library/DIAMETER_Templates.ttcn
+++ b/library/DIAMETER_Templates.ttcn
@@ -890,6 +890,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 := c_def_hbh_id,
 	   template (value) UINT32 ete_id := c_def_ete_id) :=
@@ -901,9 +903,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: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211212/c459c07d/attachment.htm>


More information about the gerrit-log mailing list