1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #ifndef anna_diameter_helpers_dcca_defines_hpp
10 #define anna_diameter_helpers_dcca_defines_hpp
14 #include <anna/diameter/helpers/defines.hpp>
20 /** Contextualized definitions (avp id) */
21 #define anna_diameter_helpers_define_avp(avpname,code) anna_diameter_helpers_define_avp_in_context(avpname,code,dcca)
23 /** Contextualized definitions (avp id and values) */
24 #define anna_diameter_helpers_define_avp_with_values(avpname,code) anna_diameter_helpers_define_avp_with_values_in_context(avpname,code,dcca)
39 anna_diameter_helpers_define_avp(CC_Correlation_Id, 411);
40 anna_diameter_helpers_define_avp(CC_Input_Octets, 412);
41 anna_diameter_helpers_define_avp(CC_Money, 413);
42 anna_diameter_helpers_define_avp(CC_Output_Octets, 414);
43 anna_diameter_helpers_define_avp(CC_Request_Number, 415);
44 anna_diameter_helpers_define_avp_with_values(CC_Request_Type, 416) {
48 TERMINATION_REQUEST = 3,
53 anna_diameter_helpers_define_avp(CC_Service_Specific_Units, 417);
54 anna_diameter_helpers_define_avp_with_values(CC_Session_Failover, 418) {
56 FAILOVER_NOT_SUPPORTED = 0,
57 FAILOVER_SUPPORTED = 1
61 anna_diameter_helpers_define_avp(CC_Sub_Session_Id, 419);
62 anna_diameter_helpers_define_avp(CC_Time, 420);
63 anna_diameter_helpers_define_avp(CC_Total_Octets, 421);
64 anna_diameter_helpers_define_avp_with_values(Check_Balance_Result, 422) {
71 anna_diameter_helpers_define_avp(Cost_Information, 423);
72 anna_diameter_helpers_define_avp(Cost_Unit, 424);
73 anna_diameter_helpers_define_avp(Currency_Code, 425);
74 anna_diameter_helpers_define_avp_with_values(Credit_Control, 426) {
76 CREDIT_AUTHORIZATION = 0,
81 anna_diameter_helpers_define_avp_with_values(Credit_Control_Failure_Handling, 427) {
85 RETRY_AND_TERMINATE = 2
89 anna_diameter_helpers_define_avp_with_values(Direct_Debiting_Failure_Handling, 428) {
91 TERMINATE_OR_BUFFER = 0,
96 anna_diameter_helpers_define_avp(Exponent, 429);
97 anna_diameter_helpers_define_avp(Final_Unit_Indication, 430);
98 anna_diameter_helpers_define_avp(Granted_Service_Unit, 431);
99 anna_diameter_helpers_define_avp(Rating_Group, 432);
100 anna_diameter_helpers_define_avp_with_values(Redirect_Address_Type, 433) {
109 anna_diameter_helpers_define_avp(Redirect_Server, 434);
110 anna_diameter_helpers_define_avp(Redirect_Server_Address, 435);
111 anna_diameter_helpers_define_avp_with_values(Requested_Action, 436) {
120 anna_diameter_helpers_define_avp(Requested_Service_Unit, 437);
121 anna_diameter_helpers_define_avp(Restriction_Filter_Rule, 438);
122 anna_diameter_helpers_define_avp(Service_Identifier, 439);
123 anna_diameter_helpers_define_avp(Service_Parameter_Info, 440);
124 anna_diameter_helpers_define_avp(Service_Parameter_Type, 441);
125 anna_diameter_helpers_define_avp(Service_Parameter_Value, 442);
126 anna_diameter_helpers_define_avp(Subscription_Id, 443);
127 anna_diameter_helpers_define_avp(Subscription_Id_Data, 444);
128 anna_diameter_helpers_define_avp(Unit_Value, 445);
129 anna_diameter_helpers_define_avp(Used_Service_Unit, 446);
130 anna_diameter_helpers_define_avp(Value_Digits, 447);
131 anna_diameter_helpers_define_avp(Validity_Time, 448);
132 anna_diameter_helpers_define_avp_with_values(Final_Unit_Action, 449) {
140 anna_diameter_helpers_define_avp_with_values(Subscription_Id_Type, 450) {
144 END_USER_SIP_URL = 2,
150 anna_diameter_helpers_define_avp(Tariff_Time_Change, 451);
151 anna_diameter_helpers_define_avp_with_values(Tariff_Change_Usage, 452) {
153 UNIT_BEFORE_TARIFF_CHANGE = 0,
154 UNIT_AFTER_TARIFF_CHANGE = 1,
155 UNIT_INDETERMINATE = 2
159 anna_diameter_helpers_define_avp(G_S_U_Pool_Identifier, 453);
160 anna_diameter_helpers_define_avp_with_values(CC_Unit_Type, 454) {
167 SERVICE_SPECIFIC_UNITS = 5
171 anna_diameter_helpers_define_avp_with_values(Multiple_Services_Indicator, 455) {
173 MULTIPLE_SERVICES_NOT_SUPPORTED = 0,
174 MULTIPLE_SERVICES_SUPPORTED = 1
178 anna_diameter_helpers_define_avp(Multiple_Services_Credit_Control, 456);
179 anna_diameter_helpers_define_avp(G_S_U_Pool_Reference, 457);
180 anna_diameter_helpers_define_avp(User_Equipment_Info, 458);
181 anna_diameter_helpers_define_avp_with_values(User_Equipment_Info_Type, 459) {
190 anna_diameter_helpers_define_avp(User_Equipment_Info_Value, 460);
191 anna_diameter_helpers_define_avp(Service_Context_Id, 461);
197 anna_diameter_helpers_define_command_request(Credit_Control_Request, 272);
198 anna_diameter_helpers_define_command_answer(Credit_Control_Answer, 272);
207 #undef anna_diameter_helpers_define_avp
208 #undef anna_diameter_helpers_define_avp_with_values