diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2024-03-18 20:47:06 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2024-03-18 21:04:15 +0100 |
commit | 9b3d06297d15e4b0d4089c7e93c1c0e68f976ec2 (patch) | |
tree | e0dec90d91f55df7fe8e8da565c0ae6b0e1d579c /library | |
parent | 819a3b87b793d9f29eaa5913296940811ad18921 (diff) |
DIAMETER_ts32_299_Templates.ttcn: Define Result codes specified in TS
Change-Id: I6c102e6a10469d0d054cb55f7d2100c8887ab6e0
Diffstat (limited to 'library')
-rw-r--r-- | library/DIAMETER_ts32_299_Templates.ttcn | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/library/DIAMETER_ts32_299_Templates.ttcn b/library/DIAMETER_ts32_299_Templates.ttcn index af8f5140..c3086599 100644 --- a/library/DIAMETER_ts32_299_Templates.ttcn +++ b/library/DIAMETER_ts32_299_Templates.ttcn @@ -18,11 +18,23 @@ import from Osmocom_Types all; 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) |