pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36345?usp=email )


Change subject: DIAMETER_ts32_299_Templates.ttcn: Define Result codes specified 
in TS
......................................................................

DIAMETER_ts32_299_Templates.ttcn: Define Result codes specified in TS

Change-Id: I6c102e6a10469d0d054cb55f7d2100c8887ab6e0
---
M library/DIAMETER_ts32_299_Templates.ttcn
1 file changed, 22 insertions(+), 1 deletion(-)



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

diff --git a/library/DIAMETER_ts32_299_Templates.ttcn 
b/library/DIAMETER_ts32_299_Templates.ttcn
index c22b6fa..55402ab 100644
--- a/library/DIAMETER_ts32_299_Templates.ttcn
+++ b/library/DIAMETER_ts32_299_Templates.ttcn
@@ -18,11 +18,23 @@
 import from Misc_Helpers all;

 /*******************************
- * S6a 3GPP TS 32.299 section 7
+ * Gy 3GPP TS 32.299 section 7
  *******************************/

 /* Gy AID : 3GPP TS 32.299 7.1.6, RFC4006 3.1: c_DIAMETER_CREDIT_CONTROL_AID */

+/* 3GPP TS 32.299  7.1.11 Result-Code AVP*/
+type enumerated DIAMETER_ts32_229_Resultcode {
+       /* transient */
+       DIAMETER_END_USER_SERVICE_DENIED                (4010),
+       DIAMETER_CREDIT_CONTROL_NOT_APPLICABLE          (4011),
+       DIAMETER_CREDIT_LIMIT_REACHED                   (4012),
+       /* permanent */
+       DIAMETER_AUTHORIZATION_REJECTED                 (5003),
+       DIAMETER_USER_UNKNOWN                           (5030),
+       DIAMETER_RATING_FAILED                          (5031)
+}
+
 /* 3GPP TS 32.299 6.4.2 Credit-Control-Request */
 template (present) PDU_DIAMETER
 tr_DIA_Gy_CCR(template (present) DCC_NONE_CC_Request_Type req_type := 
INITIAL_REQUEST)

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36345?usp=email
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: I6c102e6a10469d0d054cb55f7d2100c8887ab6e0
Gerrit-Change-Number: 36345
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to