diameter_epc_code_avp.h 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940
  1. /*
  2. * $Id$
  3. *
  4. * Copyright (C) 2012 Smile Communications, [email protected]
  5. * Copyright (C) 2012 Smile Communications, [email protected]
  6. *
  7. * The initial version of this code was written by Dragos Vingarzan
  8. * (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
  9. * Fruanhofer Institute. It was and still is maintained in a separate
  10. * branch of the original SER. We are therefore migrating it to
  11. * Kamailio/SR and look forward to maintaining it from here on out.
  12. * 2011/2012 Smile Communications, Pty. Ltd.
  13. * ported/maintained/improved by
  14. * Jason Penton (jason(dot)penton(at)smilecoms.com and
  15. * Richard Good (richard(dot)good(at)smilecoms.com) as part of an
  16. * effort to add full IMS support to Kamailio/SR using a new and
  17. * improved architecture
  18. *
  19. * NB: Alot of this code was originally part of OpenIMSCore,
  20. * FhG Fokus.
  21. * Copyright (C) 2004-2006 FhG Fokus
  22. * Thanks for great work! This is an effort to
  23. * break apart the various CSCF functions into logically separate
  24. * components. We hope this will drive wider use. We also feel
  25. * that in this way the architecture is more complete and thereby easier
  26. * to manage in the Kamailio/SR environment
  27. *
  28. * This file is part of Kamailio, a free SIP server.
  29. *
  30. * Kamailio is free software; you can redistribute it and/or modify
  31. * it under the terms of the GNU General Public License as published by
  32. * the Free Software Foundation; either version 2 of the License, or
  33. * (at your option) any later version
  34. *
  35. * Kamailio is distributed in the hope that it will be useful,
  36. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  37. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  38. * GNU General Public License for more details.
  39. *
  40. * You should have received a copy of the GNU General Public License
  41. * along with this program; if not, write to the Free Software
  42. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  43. *
  44. */
  45. #ifndef DIAMETER_EPC_CODE_AVP_H_
  46. #define DIAMETER_EPC_CODE_AVP_H_
  47. /** 3GPP AVP Codes */
  48. enum {
  49. /** 1 to 255 reserved for backward compatibility with Radius TS29.061 */
  50. AVP_EPC_3GPP_IMSI = 1,
  51. AVP_EPC_3GPP_Charging_Id = 2,
  52. AVP_EPC_3GPP_PDP_Type = 3,
  53. AVP_EPC_3GPP_CG_Address = 4,
  54. AVP_EPC_3GPP_GPRS_Negotiated_QoS_Profile = 5,
  55. AVP_EPC_3GPP_SGSN_Address = 6,
  56. AVP_EPC_3GPP_GGSN_Address = 7,
  57. AVP_EPC_3GPP_IMSI_MCC_MNC = 8,
  58. AVP_EPC_3GPP_GGSN_MCC_MNC = 9,
  59. AVP_EPC_3GPP_NSAPI = 10,
  60. AVP_EPC_3GPP_Session_Stop_Indicator = 11,// TS32.299
  61. AVP_EPC_3GPP_Selection_Mode = 12,
  62. AVP_EPC_3GPP_Charging_Characteristics = 13,
  63. AVP_EPC_3GPP_CG_IPv6_Address = 14,
  64. AVP_EPC_3GPP_SGSN_IPv6_Address = 15,
  65. AVP_EPC_3GPP_GGSN_IPv6_Address = 16,
  66. AVP_EPC_3GPP_IPv6_DNS_Servers = 17,
  67. AVP_EPC_3GPP_SGSN_MCC_MNC = 18,
  68. AVP_EPC_3GPP_IMEISV = 20,
  69. AVP_EPC_TGPP_RAT_Type = 21,
  70. AVP_EPC_3GPP_User_Location_Info = 22,
  71. AVP_EPC_3GPP_MS_TimeZone = 23,
  72. AVP_EPC_3GPP_Allocate_IP_Type = 27,
  73. AVP_EPC_RAI = 909, //TS29.061
  74. /** 256 to 299 reserved for future use */
  75. /** 300 to 399 reserved for TS29.234 */
  76. AVP_EPC_3GPP_AAA_Server_Name = 318, //TS29.234
  77. /** 400 to 499 reserved for TS29.109 */
  78. /** 500 to 599 reserved for TS29.209 */
  79. AVP_EPC_Abort_Cause = 500,
  80. AVP_EPC_Access_Network_Charging_Address = 501,
  81. AVP_EPC_Access_Network_Charging_Identifier = 502,
  82. AVP_EPC_Access_Network_Charging_Identifier_Value = 503,
  83. AVP_EPC_AF_Application_Identifier = 504,
  84. AVP_EPC_AF_Charging_Identifier = 505,
  85. AVP_EPC_Authorization_Token = 506,
  86. AVP_EPC_Flow_Description = 507,
  87. AVP_EPC_Flow_Grouping = 508,
  88. AVP_EPC_Flow_Number = 509,
  89. AVP_EPC_Flows = 510,
  90. AVP_EPC_Flow_Status = 511,
  91. AVP_EPC_Flow_Usage = 512,
  92. AVP_EPC_Specific_Action = 513,
  93. AVP_EPC_Max_Requested_Bandwidth_DL = 515,
  94. AVP_EPC_Max_Requested_Bandwidth_UL = 516,
  95. AVP_EPC_Media_Component_Description = 517,
  96. AVP_EPC_Media_Component_Number = 518,
  97. AVP_EPC_Media_Sub_Component = 519,
  98. AVP_EPC_Media_Type = 520,
  99. AVP_EPC_RR_Bandwidth = 521,
  100. AVP_EPC_RS_Bandwidth = 522,
  101. AVP_EPC_SIP_Forking_Indication = 523,
  102. AVP_EPC_Codec_Data = 524,
  103. AVP_EPC_Service_URN = 525,
  104. AVP_EPC_Acceptable_Service_Info = 526,
  105. AVP_EPC_Service_Info_Status = 527,
  106. /** 600 to 699 reserved for TS29.229 */
  107. /** 700 to 799 reserved for TS29.329 */
  108. /** 800 to 899 reserved for TS29.299 */
  109. /** 32.299 Partial */
  110. AVP_EPC_Event_Type = 823,
  111. AVP_EPC_SIP_Method = 824,
  112. AVP_EPC_Event = 825,
  113. AVP_EPC_Content_Type = 826,
  114. AVP_EPC_Content_Length = 827,
  115. AVP_EPC_Content_Disposition = 828,
  116. AVP_EPC_Role_Of_Node = 829,
  117. AVP_EPC_User_Session_Id = 830,
  118. AVP_EPC_Calling_Party_Address = 831,
  119. AVP_EPC_Called_Party_Address = 832,
  120. AVP_EPC_Time_Stamps = 833,
  121. AVP_EPC_SIP_Request_Timestamp = 834,
  122. AVP_EPC_SIP_Response_Timestamp = 835,
  123. AVP_EPC_Application_Server = 836,
  124. AVP_EPC_Application_Provided_Called_Party_Address = 837,
  125. AVP_EPC_Inter_Operator_Identifier = 838,
  126. AVP_EPC_Originating_IOI = 839,
  127. AVP_EPC_Terminating_IOI = 840,
  128. AVP_EPC_IMS_Charging_Identifier = 841,
  129. AVP_EPC_SDP_Session_Description = 842,
  130. AVP_EPC_SDP_Media_Component = 843,
  131. AVP_EPC_SDP_Media_Name = 844,
  132. AVP_EPC_SDP_Media_Description = 845,
  133. AVP_EPC_CG_Address = 846,
  134. AVP_EPC_GGSN_Address = 847,
  135. AVP_EPC_Served_Party_IP_Address = 848,
  136. AVP_EPC_Authorized_QoS = 849,
  137. AVP_EPC_Application_Server_Information = 850,
  138. AVP_EPC_Trunk_Group_Id = 851,
  139. AVP_EPC_Incoming_Trunk_Group_Id = 852,
  140. AVP_EPC_Outgoing_Trunk_Group_Id = 853,
  141. AVP_EPC_Bearer_Service = 854,
  142. AVP_EPC_Service_ID = 855,
  143. AVP_EPC_Associated_URI = 856,
  144. AVP_EPC_Charged_Party = 857,
  145. AVP_EPC_Cause_Code = 861,
  146. AVP_EPC_Node_Functionality = 862,
  147. AVP_EPC_Service_Specific_Data = 863,
  148. AVP_EPC_Originator = 864,
  149. AVP_EPC_Service_Information = 873,
  150. AVP_EPC_PS_Information = 874,
  151. AVP_EPC_IMS_Information = 876,
  152. AVP_EPC_Media_Initiator_Flag = 882,
  153. AVP_EPC_Expires = 888,
  154. AVP_EPC_Message_Body = 889,
  155. AVP_EPC_Address_Data = 897,
  156. AVP_EPC_Address_Domain = 898,
  157. AVP_EPC_Address_Type = 899,
  158. AVP_EPC_CN_IP_Multicast_Distribution = 921,
  159. /** 1000 from TS29.212 */
  160. AVP_EPC_Bearer_Usage = 1000,
  161. AVP_EPC_Charging_Rule_Install = 1001,
  162. AVP_EPC_Charging_Rule_Remove = 1002,
  163. AVP_EPC_Charging_Rule_Definition = 1003,
  164. AVP_EPC_Charging_Rule_Base_Name = 1004,
  165. AVP_EPC_Charging_Rule_Name = 1005,
  166. AVP_EPC_Event_Trigger = 1006,
  167. AVP_EPC_Metering_Method = 1007,
  168. AVP_EPC_Offline = 1008,
  169. AVP_EPC_Online = 1009,
  170. AVP_EPC_Precedence = 1010,
  171. AVP_EPC_Reporting_Level = 1011,
  172. AVP_EPC_TFT_Filter = 1012,
  173. AVP_EPC_TFT_Packet_Filter_Information = 1013,
  174. AVP_EPC_ToS_Traffic_Class = 1014,
  175. AVP_EPC_QoS_Bandwidth = 1015, //Not used in the EPC
  176. AVP_EPC_QoS_Information = 1016,
  177. AVP_EPC_QoS_Jitter = 1017, //Not used in the EPC
  178. AVP_EPC_Charging_Rule_Report = 1018,
  179. AVP_EPC_PCC_Rule_Status = 1019,
  180. AVP_EPC_Bearer_Identifier = 1020,
  181. AVP_EPC_Bearer_Operation = 1021,
  182. AVP_EPC_Access_Network_Charging_Identifier_Gx = 1022,
  183. AVP_EPC_Bearer_Control_Mode = 1023,
  184. AVP_EPC_Network_Request_Support = 1024,
  185. AVP_EPC_Guaranteed_Bitrate_DL = 1025,
  186. AVP_EPC_Guaranteed_Bitrate_UL = 1026,
  187. AVP_EPC_IP_CAN_Type = 1027,
  188. AVP_EPC_QoS_Class_Identifier = 1028,
  189. AVP_EPC_QoS_Negotiation = 1029,
  190. AVP_EPC_QoS_Upgrade = 1030,
  191. AVP_EPC_Rule_Failure_Code = 1031,
  192. AVP_EPC_RAT_Type = 1032,
  193. AVP_EPC_Event_Report_Indication = 1033,
  194. AVP_EPC_Allocation_Retention_Priority = 1034,
  195. AVP_EPC_CoA_IP_Address = 1035,
  196. AVP_EPC_Tunnel_Header_Filter = 1036,
  197. AVP_EPC_Tunnel_Header_Length = 1037,
  198. AVP_EPC_Tunnel_Information = 1038,
  199. AVP_EPC_CoA_Information = 1039,
  200. AVP_EPC_APN_Aggregate_Max_Bitrate_DL = 1040,
  201. AVP_EPC_APN_Aggregate_Max_Bitrate_UL = 1041,
  202. AVP_EPC_Revalidation_Time = 1042,
  203. AVP_EPC_Rule_Activation_Time = 1043,
  204. AVP_EPC_Rule_DeActivation_Time = 1044,
  205. AVP_EPC_Session_Release_Cause = 1045,
  206. AVP_EPC_ARP_Value = 1046, //Depends on the version
  207. AVP_EPC_Priority_Level = 1046,
  208. AVP_EPC_Pre_emption_Capability = 1047,
  209. AVP_EPC_Pre_emption_Vulnerability = 1048,
  210. AVP_EPC_Default_EPS_Bearer_QoS = 1049,
  211. AVP_EPC_AN_GW_Address = 1050,
  212. AVP_EPC_QoS_Rule_Install = 1051, //Gxx
  213. AVP_EPC_QoS_Rule_Remove = 1052,
  214. AVP_EPC_QoS_Rule_Definition = 1053,
  215. AVP_EPC_QoS_Rule_Name = 1054,
  216. AVP_EPC_QoS_Rule_Report = 1055,
  217. AVP_EPC_Security_Parameter_Index = 1056,
  218. AVP_EPC_Flow_Label = 1057,
  219. AVP_EPC_Flow_Information = 1058,
  220. AVP_EPC_Packet_Filter_Content = 1059,
  221. AVP_EPC_Packet_Filter_Identifier = 1060,
  222. AVP_EPC_Packet_Filter_Information = 1061,
  223. AVP_EPC_Packet_Filter_Operation = 1062,
  224. AVP_EPC_Resource_Allocation_Notification = 1063, //Gx
  225. AVP_EPC_Session_Linking_Indicator = 1064,
  226. AVP_EPC_PDN_Connection_ID = 1065,
  227. /** TS 32.299 */
  228. AVP_EPC_Additional_Type_Information = 1205,
  229. AVP_EPC_Content_Size = 1206,
  230. AVP_EPC_Additional_Content_Information = 1207,
  231. AVP_EPC_Addressee_Type = 1208,
  232. AVP_EPC_Class_Identifier = 1214,
  233. AVP_EPC_Adaptations = 1217,
  234. AVP_EPC_Applic_ID = 1218,
  235. AVP_EPC_Aux_Applic_Info = 1219,
  236. AVP_EPC_Content_Class = 1220,
  237. AVP_EPC_PDP_Address = 1227,
  238. AVP_EPC_SGSN_Address = 1228,
  239. AVP_EPC_Service_Specific_Info = 1249,
  240. AVP_EPC_Called_Asserted_Identity = 1250,
  241. AVP_EPC_Requested_Party_Address = 1251,
  242. AVP_EPC_Service_Specific_Type = 1257,
  243. AVP_EPC_Access_Network_Information = 1263,
  244. AVP_EPC_Base_Time_Interval = 1265,
  245. AVP_EPC_Early_Media_Description = 1272,
  246. AVP_EPC_SDP_TimeStamps = 1273,
  247. AVP_EPC_SDP_Offer_TimeStamp = 1274,
  248. AVP_EPC_SDP_Answer_TimeStamp = 1275,
  249. AVP_EPC_AF_Correlation_Information = 1276,
  250. AVP_EPC_Alternate_Charged_Party_Address = 1280,
  251. AVP_EPC_Media_Initiator_Party = 1288,
  252. /** TS 29.272 */
  253. AVP_EPC_Subscription_Data = 1400,
  254. AVP_EPC_Terminal_Information = 1401,
  255. AVP_EPC_IMEI = 1402,
  256. AVP_EPC_Software_Version = 1403,
  257. AVP_EPC_QoS_Subscribed = 1404,
  258. AVP_EPC_ULR_Flags = 1405,
  259. AVP_EPC_ULA_Flags = 1406,
  260. AVP_EPC_Visited_PLMN_Id = 1407,
  261. AVP_EPC_Requested_EUTRAN_Authentication_Info = 1408,
  262. AVP_EPC_Requested_UTRAN_GERAN_Authentication_Info = 1409,
  263. AVP_EPC_Number_Of_Requested_Vectors = 1410,
  264. AVP_EPC_Re_Synchronization_Info = 1411,
  265. AVP_EPC_Immediate_Response_Preferred = 1412,
  266. AVP_EPC_Authentication_Info = 1413,
  267. AVP_EPC_E_UTRAN_Vector = 1414,
  268. AVP_EPC_UTRAN_Vector = 1415,
  269. AVP_EPC_GERAN_Vector = 1416,
  270. AVP_EPC_Network_Access_Mode = 1417,
  271. AVP_EPC_HPLMN_ODB = 1418,
  272. AVP_EPC_Item_Number = 1419,
  273. AVP_EPC_Cancellation_Type = 1420,
  274. AVP_EPC_DSR_Flags = 1421,
  275. AVP_EPC_DSA_Flags = 1422,
  276. AVP_EPC_Context_Identifier = 1423,
  277. AVP_EPC_Subscriber_Status = 1424,
  278. AVP_EPC_Operator_Determined_Barring = 1425,
  279. AVP_EPC_Access_Restriction_Data = 1426,
  280. AVP_EPC_APN_OI_Replacement = 1427,
  281. AVP_EPC_All_APN_Configurations_Included_Indicator = 1428,
  282. AVP_EPC_APN_Configuration_Profile = 1429,
  283. AVP_EPC_APN_Configuration = 1430,
  284. AVP_EPC_EPS_Subscribed_QoS_Profile = 1431,
  285. AVP_EPC_VPLMN_Dynamic_Address_Allowed = 1432,
  286. AVP_EPC_STN_SR = 1433,
  287. AVP_EPC_Alert_Reason = 1434,
  288. AVP_EPC_AMBR = 1435,
  289. AVP_EPC_CSG_Subscription_Data = 1436,
  290. AVP_EPC_CSG_Id = 1437,
  291. AVP_EPC_PDN_Gw_Allocation_Type = 1438,
  292. AVP_EPC_Expiration_Date = 1439,
  293. AVP_EPC_RAT_Frequency_Selection_Priority_ID = 1440,
  294. AVP_EPC_IDA_Flags = 1441,
  295. AVP_EPC_PUA_Flags = 1442,
  296. AVP_EPC_NOR_Flags = 1443,
  297. AVP_EPC_User_Id = 1444,
  298. AVP_EPC_Equipment_Status = 1445,
  299. AVP_EPC_Regional_Subscription_Zone_Code = 1446,
  300. AVP_EPC_RAND = 1447,
  301. AVP_EPC_XRES = 1448,
  302. AVP_EPC_AUTN = 1449,
  303. AVP_EPC_KASME = 1450,
  304. AVP_EPC_Trace_Collection_Entity = 1452,
  305. AVP_EPC_Kc = 1453,
  306. AVP_EPC_SRES = 1454,
  307. AVP_EPC_PDN_Type = 1456,
  308. AVP_EPC_Roaming_Restricted_Due_To_Unsupported_Feature = 1457,
  309. AVP_EPC_Trace_Data = 1458,
  310. AVP_EPC_Trace_Reference = 1459,
  311. AVP_EPC_Trace_Depth = 1462,
  312. AVP_EPC_Trace_NE_Type_List = 1463,
  313. AVP_EPC_Trace_Interface_List = 1464,
  314. AVP_EPC_Trace_Event_List = 1465,
  315. AVP_EPC_OMC_Id = 1466,
  316. AVP_EPC_GPRS_Subscription_Data = 1467,
  317. AVP_EPC_Complete_Data_List_Included_Indicator = 1468,
  318. AVP_EPC_PDP_Context = 1469,
  319. AVP_EPC_PDP_Type = 1470,
  320. AVP_EPC_3GPP2_MEID = 1471,
  321. AVP_EPC_Specific_APN_Info = 1472,
  322. AVP_EPC_LCS_Info = 1473,
  323. AVP_EPC_GMLC_Number = 1474,
  324. AVP_EPC_LCS_Privacy_Exception = 1475,
  325. AVP_EPC_SS_Code = 1476,
  326. AVP_EPC_SS_Status = 1477,
  327. AVP_EPC_Notification_To_UE_User = 1478,
  328. AVP_EPC_External_Client = 1479,
  329. AVP_EPC_Client_Identity = 1480,
  330. AVP_EPC_GMLC_Restriction = 1481,
  331. AVP_EPC_PLMN_Client = 1482,
  332. AVP_EPC_Service_Type = 1483,
  333. AVP_EPC_Sevice_Type_Identity = 1484,
  334. AVP_EPC_MO_LR = 1485,
  335. AVP_EPC_Teleservice_List = 1486,
  336. AVP_EPC_TS_Code = 1487,
  337. AVP_EPC_Call_Barring_Infor_List = 1488,
  338. AVP_EPC_SGSN_Number = 1489,
  339. AVP_EPC_IDR_Flags = 1490,
  340. AVP_EPC_ICS_Indicator = 1491,
  341. AVP_EPC_IMS_Voice_Over_PS_Sessions_Supported = 1492,
  342. AVP_EPC_Homogenous_Support_of_IMS_Over_PS_Sessions = 1493,
  343. AVP_EPC_Last_UE_Activity_Time = 1494,
  344. /** TS 29.273 */
  345. AVP_EPC_Non_3GPP_User_Data = 1500,
  346. AVP_EPC_Non_3GPP_IP_Access = 1501,
  347. AVP_EPC_Non_3GPP_IP_Access_APN = 1502,
  348. AVP_EPC_ANID = 1504,
  349. AVP_EPC_Trace_Info = 1505,
  350. /** TS 32.299 */
  351. AVP_EPC_Client_Address = 2018,
  352. AVP_EPC_Carrier_Select_Routing_Information = 2023,
  353. AVP_EPC_Associated_Party_Address = 2035,
  354. AVP_EPC_SDP_Type = 2036,
  355. AVP_EPC_Change_Condition = 2037,
  356. AVP_EPC_Change_Time = 2038,
  357. AVP_EPC_Service_Data_Container = 2040,
  358. AVP_EPC_Time_First_Usage = 2043,
  359. AVP_EPC_Time_Last_Usage = 2044,
  360. AVP_EPC_Time_Usage = 2045,
  361. AVP_EPC_Accumulated_Cost = 2052,
  362. AVP_EPC_AoC_Cost_Information = 2053,
  363. AVP_EPC_AoC_Information = 2054,
  364. AVP_EPC_AoC_Request_Type = 2055,
  365. AVP_EPC_Local_Sequence_Number = 2063,
  366. AVP_EPC_Charging_Characteristics_Selection_Mode = 2066,
  367. AVP_EPC_Application_Server_ID = 2101,
  368. AVP_EPC_Application_Service_Type = 2102,
  369. AVP_EPC_Application_Session_ID = 2103,
  370. AVP_EPC_Content_ID = 2116,
  371. AVP_EPC_Content_Provide_ID = 2117,
  372. AVP_EPC_SIP_Request_Timestamp_Fraction = 2301,
  373. AVP_EPC_SIP_Response_Timestamp_Fraction = 2302,
  374. AVP_EPC_Account_Expiration = 2309,
  375. AVP_EPC_AoC_Cost_Format = 2310,
  376. AVP_EPC_AoC_Service = 2311,
  377. AVP_EPC_AoC_Service_Obligatory_Type = 2312,
  378. AVP_EPC_AoC_Service_Type = 2313,
  379. AVP_EPC_AoC_Subscription_Information = 2314,
  380. AVP_EPC_Outgoing_Session_Id = 2320,
  381. /** 2400 to 2407 reserved for TS29.173 */
  382. AVP_EPC_GMLC_Address = 2405,
  383. /** Not yet allocated */
  384. AVP_EPC_PDN_Gw_Address = 42002,
  385. AVP_EPC_PDN_Gw_Name = 42003,
  386. AVP_EPC_PDN_Gw_Identity = 42004,
  387. AVP_EPC_QoS_Profile_Name = 42005,
  388. AVP_EPC_GG_Enforce = 42006,
  389. AVP_EPC_GG_IP = 42007,
  390. AVP_EPC_UE_Locator = 42008,
  391. AVP_EPC_UE_Locator_Id_Group = 42009,
  392. };
  393. /** Flow-Usage AVP */
  394. enum {
  395. AVP_EPC_Flow_Usage_No_Information = 0,
  396. AVP_EPC_Flow_Usage_Rtcp = 1,
  397. AVP_EPC_Flow_Usage_AF_Signaling = 2,
  398. };
  399. /* 3GPP TS 29.212*/
  400. enum {
  401. AVP_EPC_Metering_Method_Duration =0,
  402. AVP_EPC_Metering_Method_Volume =1,
  403. AVP_EPC_Metering_Method_Duration_Volume =2
  404. };
  405. enum {
  406. AVP_EPC_Offline_Disable =0,
  407. AVP_EPC_Offline_Enable =1
  408. };
  409. enum {
  410. AVP_EPC_Online_Disable =0,
  411. AVP_EPC_Online_Enable =1
  412. };
  413. enum {
  414. AVP_EPC_Reporting_Level_Serving_Identifier =0,
  415. AVP_EPC_Reporting_Level_Rating_Group =1
  416. };
  417. enum {
  418. AVP_EPC_PCC_Rule_Status_Active =0,
  419. AVP_EPC_PCC_Rule_Status_Inactive =1,
  420. AVP_EPC_PCC_Rule_Status_Temporarily_Inactive =2
  421. };
  422. enum {
  423. AVP_EPC_Bearer_Usage_General =0,
  424. AVP_EPC_Bearer_Usage_IMS_Signaling =1
  425. };
  426. enum {
  427. AVP_EPC_Bearer_Operation_Termination =0,
  428. AVP_EPC_Bearer_Operation_Establishment =1,
  429. AVP_EPC_Bearer_Operation_Modification =2
  430. };
  431. enum {
  432. AVP_EPC_Bearer_Control_Mode_UE_Only =0,
  433. AVP_EPC_Bearer_Control_Mode_Reserved =1,
  434. AVP_EPC_Bearer_Control_Mode_UE_NW =2
  435. };
  436. enum {
  437. AVP_EPC_Network_Request_Support_Not_Supported =0,
  438. AVP_EPC_Network_Request_Support_Supported =1
  439. };
  440. /** IP-CAN Type TS 29.212 */
  441. enum {
  442. AVP_EPC_IPCAN_Type_3GPP_GPRS = 0,
  443. AVP_EPC_IPCAN_Type_DOCSIS = 1,
  444. AVP_EPC_IPCAN_Type_xDSL = 2,
  445. AVP_EPC_IPCAN_Type_WiMAX = 3,
  446. AVP_EPC_IPCAN_Type_3GPP2 = 4,
  447. AVP_EPC_IPCAN_Type_3GPP_EPS = 5
  448. };
  449. enum {
  450. AVP_EPC_QoS_Negotiation_No =0,
  451. AVP_EPC_QoS_Negotiation_Supported =1
  452. };
  453. enum {
  454. AVP_EPC_QoS_Upgrade_No =0,
  455. AVP_EPC_QoS_Upgrade_Supported =1
  456. };
  457. enum {
  458. AVP_EPC_RAT_Type_WLAN =0,
  459. AVP_EPC_RAT_Type_UTRAN =1000,
  460. AVP_EPC_RAT_Type_GERAN =1001,
  461. AVP_EPC_RAT_Type_GAN =1002,
  462. AVP_EPC_RAT_Type_HSPA_Evolution =1003,
  463. AVP_EPC_RAT_Type_EUTRAN =1004,
  464. AVP_EPC_RAT_Type_CDMA2000_1X =2000,
  465. AVP_EPC_RAT_Type_HRPD =2001,
  466. AVP_EPC_RAT_Type_UMB =2002 //deprecated
  467. };
  468. enum {
  469. AVP_EPC_Rule_Failure_Code_Unknown_Rule_Name =1,
  470. AVP_EPC_Rule_Failure_Code_Rating_Group_Error =2,
  471. AVP_EPC_Rule_Failure_Code_Service_Identifier_Error =3,
  472. AVP_EPC_Rule_Failure_Code_GW_PCEF_Malfunction =4,
  473. AVP_EPC_Rule_Failure_Code_Resources_Limitation =5,
  474. AVP_EPC_Rule_Failure_Code_Max_Nr_Bearers_Reached =6,
  475. AVP_EPC_Rule_Failure_Code_Unkown_Bearer_Id =7,
  476. AVP_EPC_Rule_Failure_Code_Missing_Bearer_Id =8,
  477. AVP_EPC_Rule_Failure_Code_Missing_Flow_Description =9,
  478. AVP_EPC_Rule_Failure_Code_Resource_Allocation_Failure =10,
  479. AVP_EPC_Rule_Failure_Code_Unsuccessful_QoS_Validation =11
  480. };
  481. enum {
  482. AVP_EPC_Session_Release_Cause_Unespecified =0,
  483. AVP_EPC_Session_Release_Cause_UE_Subscription =1,
  484. AVP_EPC_Session_Release_Cause_Server_Resources =2
  485. };
  486. enum {
  487. AVP_EPC_PreEmption_Capability_Enabled =0,
  488. AVP_EPC_PreEmption_Capability_Disabled =1
  489. };
  490. enum {
  491. AVP_EPC_PreEmption_Vulnerability_Enabled =0,
  492. AVP_EPC_PreEmption_Vulnerability_Disabled =1
  493. };
  494. /** Event-Trigger TS 29.212*/
  495. enum {
  496. AVP_EPC_Event_Trigger_SGSN_CHANGE =0,
  497. AVP_EPC_Event_Trigger_QOS_CHANGE =1,
  498. AVP_EPC_Event_Trigger_RAT_CHANGE =2,
  499. AVP_EPC_Event_Trigger_TFT_CHANGE =3,
  500. AVP_EPC_Event_Trigger_PLMN_CHANGE =4,
  501. AVP_EPC_Event_Trigger_LOSS_OF_BEARER =5,
  502. AVP_EPC_Event_Trigger_RECOVERY_OF_BEARER =6,
  503. AVP_EPC_Event_Trigger_IP_CAN_CHANGE =7,
  504. AVP_EPC_Event_Trigger_GW_PCEF_MALFUNCTION =8, //Release 7
  505. AVP_EPC_Event_Trigger_RESOURCES_LIMITATION =9, //Release 7
  506. AVP_EPC_Event_Trigger_MAX_NR_BEARERS_REACHED =10, //Release 7
  507. AVP_EPC_Event_Trigger_QOS_CHANGE_EXCEEDING_AUTHORIZATION =11,
  508. AVP_EPC_Event_Trigger_RAI_CHANGE =12,
  509. AVP_EPC_Event_Trigger_USER_LOCATION_CHANGE =13,
  510. AVP_EPC_Event_Trigger_NO_EVENT_TRIGGER =14,
  511. AVP_EPC_Event_Trigger_OUT_OF_CREDIT =15,
  512. AVP_EPC_Event_Trigger_RELLOCATION_OF_CREDIT =16,
  513. AVP_EPC_Event_Trigger_REVALIDATION_TIMEOUT =17,
  514. AVP_EPC_Event_Trigger_IP_ADDRESS_ALLOCATE =18,
  515. AVP_EPC_Event_Trigger_IP_ADDRESS_RELEASE =19,
  516. AVP_EPC_Event_Trigger_DEFAULT_EPS_BEARER_QOS_CHANGE =20,
  517. AVP_EPC_Event_Trigger_AN_GW_CHANGE =21,
  518. AVP_EPC_Event_Trigger_Successful_Resource_Allocation =22,
  519. AVP_EPC_Event_Trigger_Resource_Modification_Request =23,
  520. //AVP_EPC_Event_Trigger_PGW_Trace_Control =24,
  521. //AVP_EPC_Event_Trigger_UE_Time_Zone_Change = 25,
  522. };
  523. enum {
  524. AVP_EPC_Packet_Filter_Operation_Deletion =0,
  525. AVP_EPC_Packet_Filter_Operation_Addition =1,
  526. AVP_EPC_Packet_Filter_Operation_Modification =2
  527. };
  528. enum {
  529. AVP_EPC_Resource_Allocation_Notification_Enable_Notification = 0
  530. };
  531. enum {
  532. AVP_EPC_Session_Linking_Indicator_Immediate = 0,
  533. AVP_EPC_Session_Linking_Indicator_Deferred = 1,
  534. };
  535. /* This extends the AVP_IMS_Data_Reference_* for Sh to Sp which is not yet standardized */
  536. enum {
  537. AVP_EPC_Data_Reference_Subscription_Id_MSISDN = 101,
  538. AVP_EPC_Data_Reference_Subscription_Id_IMSI = 102,
  539. AVP_EPC_Data_Reference_Subscription_Id_IMPU = 103,
  540. AVP_EPC_Data_Reference_Subscription_Data = 104,
  541. AVP_EPC_Data_Reference_APN_Configuration = 105,
  542. };
  543. /* from RFC4006 */
  544. enum {
  545. AVP_EPC_Subscription_Id_Type_End_User_E164 = 0,
  546. AVP_EPC_Subscription_Id_Type_End_User_IMSI = 1,
  547. AVP_EPC_Subscription_Id_Type_End_User_SIP_URI = 2,
  548. AVP_EPC_Subscription_Id_Type_End_User_NAI = 3,
  549. AVP_EPC_Subscription_Id_Type_End_User_Private = 4,
  550. };
  551. enum {
  552. RC_EPC_DIAMETER_QOS_RULE_EVENT = 5145,
  553. RC_EPC_DIAMETER_BEARER_EVENT = 5146,
  554. RC_EPC_DIAMETER_PCC_RULE_EVENT = 5142,
  555. RC_EPC_DIAMETER_ERROR_INITIAL_PARAMETERS = 5140,
  556. RC_EPC_DIAMETER_ERROR_TRAFFIC_MAPPING_INFO_REJECTED = 5144,
  557. RC_EPC_DIAMETER_ERROR_CONFLICTING_REQUEST = 5147
  558. };
  559. enum {
  560. RC_EPC_INVALID_SERVICE_INFORMATION = 5061,
  561. RC_EPC_FILTER_RESTRICTIONS = 5062,
  562. RC_EPC_REQUESTED_SERVICE_NOT_AUTHORIZED = 5063
  563. };
  564. /**29.214 */
  565. enum {
  566. AVP_EPC_Specific_Action_Charging_Correlation_Exchange = 1,
  567. AVP_EPC_Specific_Action_Indication_of_Loss_of_Bearer = 2,
  568. AVP_EPC_Specific_Action_Indication_of_Recovery_of_Bearer = 3,
  569. AVP_EPC_Specific_Action_Indication_of_Release_of_Bearer = 4,
  570. AVP_EPC_Specific_Action_Indication_of_Establishment_of_Bearer = 5,
  571. AVP_EPC_Specific_Action_IPCAN_Change = 6,
  572. AVP_EPC_Specific_Action_Indication_of_Out_of_Credit = 7,
  573. AVP_EPC_Specific_Action_Indication_of_Succ_Resource_Allocation = 8,
  574. AVP_EPC_Specific_Action_Indication_of_Failed_Resource_Allocation = 9,
  575. AVP_EPC_Specific_Action_Indication_of_Generic_Gateway_Change = 10,
  576. };
  577. enum {
  578. AVP_EPC_Service_Info_Status_Final_Service_Information = 0,
  579. AVP_EPC_Service_Info_Status_Preliminary_Service_Information = 1,
  580. };
  581. /* TS 29.214 */
  582. enum {
  583. AVP_EPC_Abort_Cause_Bearer_Released = 0,
  584. AVP_EPC_Abort_Cause_Insufficient_Server_Resources = 1,
  585. AVP_ECP_Abort_Cause_Insufficient_Bearer_Resources = 2
  586. };
  587. /* TS 29.272 */
  588. enum {
  589. AVP_EPC_ULR_Flags_Single_Registration_Indication = 1<<0,
  590. AVP_EPC_ULR_Flags_S6a_Indicator = 1<<1,
  591. AVP_EPC_ULR_Flags_Skip_Subscriber_Data = 1<<2,
  592. AVP_EPC_ULR_Flags_GPRS_Subscription_Data_Indicator = 1<<3,
  593. AVP_EPC_ULR_Flags_Node_Type_Indicator = 1<<4,
  594. AVP_EPC_ULR_Flags_Initial_Attach_Indicator = 1<<5,
  595. AVP_EPC_ULR_Flags_PS_LCS_Not_Supported_By_UE = 1<<6,
  596. };
  597. enum {
  598. AVP_EPC_ULA_Flags_Separation_Indication = 1<<0,
  599. };
  600. enum {
  601. AVP_EPC_Feature_List_ODB_all_APN = 1<<0,
  602. AVP_EPC_Feature_List_ODB_HPLMN_APN = 1<<1,
  603. AVP_EPC_Feature_List_ODB_VPLMN_APN = 1<<2,
  604. AVP_EPC_Feature_List_ODB_all_OG = 1<<3,
  605. AVP_EPC_Feature_List_ODB_all_InternationalOG = 1<<4,
  606. AVP_EPC_Feature_List_ODB_all_InternationalOGNoToHPLMN_Country = 1<<5,
  607. AVP_EPC_Feature_List_ODB_all_InterzonalIOG = 1<<6,
  608. AVP_EPC_Feature_List_ODB_all_InterzonalIOGNotToHPLMN_Country = 1<<7,
  609. AVP_EPC_Feature_List_ODB_all_InterzonalIOGAndInternationalOGNotToHPLMN_Country = 1<<8,
  610. AVP_EPC_Feature_List_RegSub = 1<<9,
  611. AVP_EPC_Feature_List_Trace = 1<<10,
  612. AVP_EPC_Feature_List_LCS_all_PrivExcep = 1<<11,
  613. AVP_EPC_Feature_List_LCS_Universal = 1<<12,
  614. AVP_EPC_Feature_List_LCS_CallSessionRelated = 1<<13,
  615. AVP_EPC_Feature_List_LCS_CallSessionUnrelated = 1<<14,
  616. AVP_EPC_Feature_List_LCS_PLMNOperator = 1<<15,
  617. AVP_EPC_Feature_List_LCS_Service_Type = 1<<16,
  618. AVP_EPC_Feature_List_LCS_all_MOLR_SS = 1<<17,
  619. AVP_EPC_Feature_List_LCS_BasicShelfLocation = 1<<18,
  620. AVP_EPC_Feature_List_LCS_AutonomousSelfLocation = 1<<19,
  621. AVP_EPC_Feature_List_LCS_TransferToThirdParty = 1<<20,
  622. AVP_EPC_Feature_List_SM_Mo_PP = 1<<21,
  623. AVP_EPC_Feature_List_Barring_OutgoingCalls = 1<<22,
  624. AVP_EPC_Feature_List_BAOC = 1<<23,
  625. AVP_EPC_Feature_List_BOIC = 1<<24,
  626. AVP_EPC_Feature_List_BOICExHC = 1<<25,
  627. AVP_EPC_Feature_List_T_ADSDataRetrieval = 1<<26,
  628. };
  629. enum {
  630. AVP_EPC_Network_Access_Mode_Packed_And_Circuit = 0,
  631. AVP_EPC_Network_Access_Mode_Reserved = 1,
  632. AVP_EPC_Network_Access_Mode_Only_Packet = 2,
  633. };
  634. enum {
  635. AVP_EPC_HPLMN_OBD_HPLM_Specific_Barring_Type_1 = 1<<0,
  636. AVP_EPC_HPLMN_OBD_HPLM_Specific_Barring_Type_2 = 1<<1,
  637. AVP_EPC_HPLMN_OBD_HPLM_Specific_Barring_Type_3 = 1<<2,
  638. AVP_EPC_HPLMN_OBD_HPLM_Specific_Barring_Type_4 = 1<<3,
  639. };
  640. enum {
  641. AVP_EPC_Cancellation_Type_MME_Update_Procedure = 0,
  642. AVP_EPC_Cancellation_Type_SGSN_Update_Procedure = 1,
  643. AVP_EPC_Cancellation_Type_Subscription_Withdrawal = 2,
  644. AVP_EPC_Cancellation_Type_Update_Procedure_IWF = 3,
  645. AVP_EPC_Cancellation_Type_Initial_Attach_Procedure = 4,
  646. };
  647. enum {
  648. AVP_EPC_DSR_Flags_Regional_Subscription_Withdrawal = 1<<0,
  649. AVP_EPC_DSR_Flags_Complete_APN_Configuration_Profile_Withdrawal = 1<<1,
  650. AVP_EPC_DSR_Flags_Subscribed_Charging_Characteristics_Withdrawal= 1<<2,
  651. AVP_EPC_DSR_Flags_PDN_Subscription_Contexts_Withdrawal = 1<<3,
  652. AVP_EPC_DSR_Flags_STN_SR = 1<<4,
  653. AVP_EPC_DSR_Flags_Complete_PDP_Context_List_Withdrawal = 1<<5,
  654. AVP_EPC_DSR_Flags_PDP_Contexts_Withdrawal = 1<<6,
  655. AVP_EPC_DSR_Flags_Roaming_Restricted_Due_To_Unsupported_Feature = 1<<7,
  656. AVP_EPC_DSR_Flags_Trace_Data_Withdrawal = 1<<8,
  657. AVP_EPC_DSR_Flags_CSG_Deleted = 1<<9,
  658. AVP_EPC_DSR_Flags_APN_OI_Replacement = 1<<10,
  659. AVP_EPC_DSR_Flags_GMLC_List_Withdrawal = 1<<11,
  660. AVP_EPC_DSR_Flags_LCS_Withdrawal = 1<<12,
  661. AVP_EPC_DSR_Flags_SMS_Withdrawal = 1<<13,
  662. };
  663. enum {
  664. AVP_EPC_DSA_Flags_Network_Node_Area_Restricted = 1<<0,
  665. };
  666. enum {
  667. AVP_EPC_Subscriber_Status_Service_Granted = 0,
  668. AVP_EPC_Subscriber_Status_Operator_Determined_Barring = 1,
  669. };
  670. enum {
  671. AVP_EPC_Operator_Determined_Barring_All_Packet_Oriented_Services_Barred = 1<<0,
  672. AVP_EPC_Operator_Determined_Barring_Roamer_Access_HPLMN_AP_Barred = 1<<1,
  673. AVP_EPC_Operator_Determined_Barring_Roamer_Access_To_VPLMN_AP_Barred = 1<<2,
  674. AVP_EPC_Operator_Determined_Barring_Outgoing_Calls = 1<<3,
  675. AVP_EPC_Operator_Determined_Barring_Outgoing_International_Calls = 1<<4,
  676. AVP_EPC_Operator_Determined_Barring_Outgoing_International_Calls_Except_To_HPLMN_Country = 1<<5,
  677. AVP_EPC_Operator_Determined_Barring_Outgoing_Inter_zonal_Calls = 1<<6,
  678. AVP_EPC_Operator_Determined_Barring_Outgoing_Inter_zonal_Calls_Except_To_HPLMN_Country = 1<<7,
  679. AVP_EPC_Operator_Determined_Barring_Outgoing_International_Calls_Except_To_HPLMN_Country_and_All_Inter_zonal_Calls = 1<<8,
  680. };
  681. enum {
  682. AVP_EPC_Access_Restriction_Data_UTRAN_Not_Allowed = 1<<0,
  683. AVP_EPC_Access_Restriction_Data_GERAN_Not_Allowed = 1<<1,
  684. AVP_EPC_Access_Restriction_Data_GAN_Not_Allowed = 1<<2,
  685. AVP_EPC_Access_Restriction_Data_I_HSPA_Evolution_Not_Allowed = 1<<3,
  686. AVP_EPC_Access_Restriction_Data_E_UTRA_Not_Allowed = 1<<4,
  687. AVP_EPC_Access_Restriction_Data_HO_To_Non_3GPP_Access_Not_Allowed = 1<<5,
  688. };
  689. enum {
  690. AVP_EPC_All_APN_Configurations_Included_Indicator_All_Included = 0,
  691. AVP_EPC_All_APN_Configurations_Included_Indicator_Modified_Added_Included = 1,
  692. };
  693. enum {
  694. AVP_EPC_VPLMN_Dynamic_Address_Allowed_Not_Allowed = 0,
  695. AVP_EPC_VPLMN_Dynamic_Address_Allowed_Allowed = 1,
  696. };
  697. enum {
  698. AVP_EPC_PDN_Gw_Allocation_Type_Static = 0,
  699. AVP_EPC_PDN_Gw_Allocation_Type_Dynamic = 1,
  700. };
  701. enum {
  702. AVP_EPC_IDA_Flags_Network_Node_Area_Restricted = 1<<0,
  703. };
  704. enum {
  705. AVP_EPC_PUA_Flags_Freeze_M_TMSI = 1<<0,
  706. AVP_EPC_PUA_Flags_Freeze_P_TMSI = 1<<1,
  707. };
  708. enum {
  709. AVP_EPC_NOR_Flags_Single_Registration_Indication = 1<<0,
  710. AVP_EPC_NOR_Flags_SGSN_Area_Restricted = 1<<1,
  711. AVP_EPC_NOR_Flags_Ready_For_SM = 1<<2,
  712. AVP_EPC_NOR_Flags_UE_Reachable = 1<<3,
  713. AVP_EPC_NOR_Flags_Delete_All_APN_and_PDN_Gw_Identity_Pairs = 1<<4,
  714. };
  715. enum {
  716. AVP_EPC_Equipment_Status_Whitelisted = 0,
  717. AVP_EPC_Equipment_Status_Blacklisted = 1,
  718. AVP_EPC_Equipment_Status_Greylisted = 2,
  719. };
  720. enum {
  721. AVP_EPC_PDN_Type_IPv4 = 0,
  722. AVP_EPC_PDN_Type_IPv6 = 1,
  723. AVP_EPC_PDN_Type_IPv4v6 = 2,
  724. AVP_EPC_PDN_Type_IPv4_or_IPv6 = 3,
  725. };
  726. enum {
  727. AVP_EPC_Complete_Data_List_Included_Indicator_All_Included = 0,
  728. AVP_EPC_Complete_Data_List_Included_Indicator_Modified_Added_Included = 1,
  729. };
  730. enum {
  731. AVP_EPC_Alert_Reason_UE_Present = 0,
  732. AVP_EPC_Alert_Reason_UE_Memory_Available = 1,
  733. };
  734. enum {
  735. AVP_EPC_Notification_To_UE_User_Notify_Location_Allowed = 0,
  736. AVP_EPC_Notification_To_UE_User_Notify_And_Verify_Allowed_If_No_Response = 1,
  737. AVP_EPC_Notification_To_UE_User_Notify_And_Verify_Not_Allowed_If_No_Response = 2,
  738. AVP_EPC_Notification_To_UE_User_Location_Not_Allowed = 3,
  739. };
  740. enum {
  741. AVP_EPC_GMLC_Restriction_GMLC_List = 0,
  742. AVP_EPC_GMLC_Restriction_Home_Country = 1,
  743. };
  744. enum {
  745. AVP_EPC_PLMN_Client_Broadcast_Service = 0,
  746. AVP_EPC_PLMN_Client_O_And_M_HPLMN = 1,
  747. AVP_EPC_PLMN_Client_O_And_M_VPLMN = 2,
  748. AVP_EPC_PLMN_Client_Anonymous_Location = 3,
  749. AVP_EPC_PLMN_Client_Target_UE_Subscribed_Services = 4,
  750. };
  751. enum {
  752. AVP_EPC_IDR_Flags_UE_Reachability_Request = 1<<0,
  753. AVP_EPC_IDR_Flags_T_ADS_Data_Request = 1<<1,
  754. AVP_EPC_IDR_Flags_EPS_User_State_Request = 1<<2,
  755. AVP_EPC_IDR_Flags_EPS_Location_Information_Request = 1<<3,
  756. AVP_EPC_IDR_Flags_Current_Location_Request = 1<<4,
  757. };
  758. enum {
  759. AVP_EPC_ICS_Indicator_False = 0,
  760. AVP_EPC_ICS_Indicator_True = 1,
  761. };
  762. enum {
  763. AVP_EPC_IMS_Voice_Over_PS_Sessions_Supported_Not_Supported = 0,
  764. AVP_EPC_IMS_Voice_Over_PS_Sessions_Supported_Supported = 1,
  765. };
  766. enum {
  767. AVP_EPC_Homogenous_Support_of_IMS_Over_PS_Sessions_Not_Supported = 0,
  768. AVP_EPC_Homogenous_Support_of_IMS_Over_PS_Sessions_Supported = 1,
  769. };
  770. enum {
  771. AVP_EPC_User_State_Detached = 0,
  772. AVP_EPC_User_State_Attached_Not_Reachable_For_Paging = 1,
  773. AVP_EPC_User_State_Attached_Reachable_For_Paging = 2,
  774. AVP_EPC_User_State_Connected_Not_Reachable_For_Paging = 3,
  775. AVP_EPC_User_State_Connected_Reachable_For_Paging = 4,
  776. AVP_EPC_User_State_Network_Determined_Not_Reachable = 5,
  777. };
  778. enum {
  779. AVP_EPC_Current_Location_Retrieved_Active_Location_Retrieval = 0
  780. };
  781. enum {
  782. AVP_EPC_Role_Of_Node_Originating_Role = 0,
  783. AVP_EPC_Role_Of_Node_Terminating_Role = 1,
  784. };
  785. enum {
  786. AVP_EPC_Node_Functionality_S_CSCF = 0,
  787. AVP_EPC_Node_Functionality_P_CSCF = 1,
  788. AVP_EPC_Node_Functionality_I_CSCF = 2,
  789. AVP_EPC_Node_Functionality_MRFC = 3,
  790. AVP_EPC_Node_Functionality_MGCF = 4,
  791. AVP_EPC_Node_Functionality_BGCF = 5,
  792. AVP_EPC_Node_Functionality_AS = 6,
  793. AVP_EPC_Node_Functionality_IBCF = 7,
  794. AVP_EPC_Node_Functionality_S_GW = 8,
  795. AVP_EPC_Node_Functionality_P_GW = 9,
  796. AVP_EPC_Node_Functionality_HSGW = 10,
  797. };
  798. enum {
  799. AVP_EPC_Cause_Code_Normal_End_Of_Session = 0,
  800. AVP_EPC_Cause_Code_Successful_Transaction = -1,
  801. AVP_EPC_Cause_Code_End_Of_Subscribe_Dialog = -2,
  802. AVP_EPC_Cause_Code_2xx_Final_Response = -200, /**< use the actual response code */
  803. AVP_EPC_Cause_Code_3xx_Redirection = -300, /**< use the actual response code */
  804. AVP_EPC_Cause_Code_End_Of_REGISTER_Dialog = -3,
  805. AVP_EPC_Cause_Code_Unspecified_Error = 1,
  806. AVP_EPC_Cause_Code_4xx_Request_Failure = 400, /**< use the actual response code */
  807. AVP_EPC_Cause_Code_5xx_Request_Failure = 500, /**< use the actual response code */
  808. AVP_EPC_Cause_Code_6xx_Global_Failure = 600, /**< use the actual response code */
  809. AVP_EPC_Cause_Code_Unsuccessful_Session_Setup = 2,
  810. AVP_EPC_Cause_Code_Internal_Error = 3,
  811. };
  812. enum {
  813. AVP_EPC_Media_Initiator_Flag_Called_Party = 0,
  814. AVP_EPC_Media_Initiator_Flag_Calling_Party = 1,
  815. AVP_EPC_Media_Initiator_Flag_Unknown = 2,
  816. };
  817. enum {
  818. AVP_EPC_Originator_Calling_Party = 0,
  819. AVP_EPC_Originator_Called_Party = 1,
  820. };
  821. enum {
  822. AVP_EPC_SDP_Type_SDP_Offer = 0,
  823. AVP_EPC_SDP_Type_SDP_Answer = 1,
  824. };
  825. enum {
  826. AVP_EPC_Non_3GPP_IP_Access_Non_3GPP_Subscription_Allowed = 0,
  827. AVP_EPC_Non_3GPP_IP_Access_Non_3GPP_Subscription_Barred = 1,
  828. };
  829. enum {
  830. AVP_EPC_Non_3GPP_IP_Access_APN_Non_3GPS_APNS_Enable = 0,
  831. AVP_EPC_Non_3GPP_IP_Access_APN_Non_3GPS_APNS_Disable = 1,
  832. };
  833. /* RFC4006 */
  834. enum {
  835. AVP_EPC_User_Equipment_Info_Type_IMEISV = 0,
  836. AVP_EPC_User_Equipment_Info_Type_MAC = 1,
  837. AVP_EPC_User_Equipment_Info_Type_EUI64 = 2,
  838. AVP_EPC_User_Equipment_Info_Type_MODIFIED_EUI64 = 3,
  839. };
  840. #endif /*DIAMETER_EPC_H_*/