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_ericsson_defines_hpp
10 #define anna_diameter_helpers_ericsson_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,ericsson)
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,ericsson)
39 anna_diameter_helpers_define_avp(SCAP_Currency_Code, 544);
40 anna_diameter_helpers_define_avp(SCAP_Subscription_Id, 553);
41 anna_diameter_helpers_define_avp(SCAP_Subscription_Id_Data, 554);
42 anna_diameter_helpers_define_avp_with_values(SCAP_Subscription_Id_Type, 555) {
52 anna_diameter_helpers_define_avp(SCAP_Original_Subscription_Id, 559);
53 anna_diameter_helpers_define_avp_with_values(SCAP_Abnormal_Termination_Reason, 600) {
55 SERVING_ELEMENT_TERMINATION = 0,
56 CONNECTION_TO_USER_BROKEN = 1
60 anna_diameter_helpers_define_avp(SCAP_Granted_Service_Unit, 602);
61 anna_diameter_helpers_define_avp(SCAP_Cost, 603);
62 anna_diameter_helpers_define_avp(SCAP_Cost_Information, 604);
63 anna_diameter_helpers_define_avp(SCAP_Accounting_Correlation_Id, 605);
64 anna_diameter_helpers_define_avp(SCAP_Requested_Service_Unit, 606);
65 anna_diameter_helpers_define_avp(SCAP_Service_Parameter_Info, 607);
66 anna_diameter_helpers_define_avp_with_values(SCAP_Service_Parameter_Type, 608) {
68 SERVICE_PROVIDER_ID = 0,
69 EXTENSION_NUMBER_1 = 1,
70 EXTENSION_NUMBER_2 = 2,
71 EXTENSION_NUMBER_3 = 3,
72 EXTENSION_NUMBER_4 = 4,
74 GPRS_QUALITY_OF_SERVICE = 6,
75 REDIRECTING_PARTY_NUMBER = 7,
76 ORIGINATING_LOCATION_INFORMATION = 8,
77 TERMINATING_LOCATION_INFORMATION = 9,
78 REGION_CHARGING_ORIGIN = 10,
79 SUBSCRIPTION_TYPE = 11,
80 SMS_DELIVERY_STATUS = 12,
81 DAYSOFWEEK_SPECIALDATES_TIMEOFDAY = 13,
83 DEDICATED_SUB_ACCOUNT = 15,
84 NUMBERLIST_CALLINGPARTYNUMBER = 16,
85 NUMBERLIST_CALLEDPARTYNUMBER = 17,
86 TELESERVICE_CODE = 18,
91 anna_diameter_helpers_define_avp(SCAP_Service_Parameter_Value, 609);
92 anna_diameter_helpers_define_avp(SCAP_Event_Timestamp, 610);
93 anna_diameter_helpers_define_avp_with_values(SCAP_Unit_Type, 611) {
95 SERVICE_CREDIT_TIME = 0,
96 SERVICE_CREDIT_VOLUME = 1,
97 SERVICE_CREDIT_EVENT = 2,
98 SERVICE_CREDIT_MONEY = 3
102 anna_diameter_helpers_define_avp(SCAP_Unit_Value, 612);
103 anna_diameter_helpers_define_avp(SCAP_Used_Service_Unit, 613);
104 anna_diameter_helpers_define_avp_with_values(SCAP_Requested_Action, 615) {
111 anna_diameter_helpers_define_avp(SCAP_Exponent, 616);
112 anna_diameter_helpers_define_avp(SCAP_Value_Digits, 617);
126 #undef anna_diameter_helpers_define_avp
127 #undef anna_diameter_helpers_define_avp_with_values