diameter_ims.h 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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_IMS_H
  46. #define __DIAMETER_IMS_H
  47. #include "diameter_ims_code_app.h"
  48. #include "diameter_ims_code_avp.h"
  49. #include "diameter_ims_code_cmd.h"
  50. #include "diameter_ims_code_result.h"
  51. /* Vendor ID */
  52. #define IMS_vendor_id_3GPP 10415 /**< Vendor Id for 3GPP */
  53. #define IMS_vendor_id_3GPP_char "10415" /**< char value for 3GPP's Vendor Id */
  54. #define IMS_vendor_id_3GPP_len 5 /**< len of char value for 3GPP's Vendor Id */
  55. #define IMS_vendor_id_ETSI 13019 /**< Vendor Id for ETSI */
  56. #define IMS_vendor_id_ETSI_char "13019" /**< char value for ETSI's Vendor Id */
  57. #define IMS_vendor_id_ETSI_len 5 /**< len of char value for 3GPP's Vendor Id */
  58. #define IMS_vendor_id_CableLabs 4491 /**< Vendor Id for CableLabs */
  59. #define IMS_vendor_id_CableLabs_char "4491" /**< char value for ETSI's Vendor Id */
  60. #define IMS_vendor_id_CableLabs_len 4 /**< len of char value for 3GPP's Vendor Id */
  61. /* Command Codes alocated for IMS */
  62. /* The Gq Interface */
  63. #define IMS_AAR 265 /**< Bearer-Authorization Request */
  64. #define IMS_AAA 265 /**< Bearer-Authorization Answer */
  65. #define IMS_RAR 258 /**< Re-Auth Request */
  66. #define IMS_RAA 258 /**< Re-Auth Answer */
  67. #define IMS_STR 275 /**< Session Termination Request */
  68. #define IMS_STA 275 /**< Session Termination Answer */
  69. #define IMS_ASR 274 /**< Abort-Session-Request Request */
  70. #define IMS_ASA 274 /**< Abort-Session-Request Answer */
  71. /* The Gx Interface */
  72. #define IMS_CCR 272
  73. #define IMS_CCA 272
  74. /* The Cx/Dx Interface */
  75. #define IMS_UAR 300 /**< User-Authorization Request */
  76. #define IMS_UAA 300 /**< User-Authorization Answer */
  77. #define IMS_SAR 301 /**< Server-Assignment Request */
  78. #define IMS_SAA 301 /**< Server-Assignment Answer */
  79. #define IMS_LIR 302 /**< Location-Info Request */
  80. #define IMS_LIA 302 /**< Location-Info Answer */
  81. #define IMS_MAR 303 /**< Multimedia-Auth Request */
  82. #define IMS_MAA 303 /**< Multimedia-Auth Answer */
  83. #define IMS_RTR 304 /**< Registration-Termination Request */
  84. #define IMS_RTA 304 /**< Registration-Termination Answer */
  85. #define IMS_PPR 305 /**< Push-Profile Request */
  86. #define IMS_PPA 305 /**< Push-Profile Answer */
  87. /** The Sh/Ph Interface */
  88. #define IMS_UDR 306 /**< User-Data Request */
  89. #define IMS_UDA 306 /**< User-Data Answer */
  90. #define IMS_PUR 307 /**< Profile-Update Request */
  91. #define IMS_PUA 307 /**< Profile-Update Answer */
  92. #define IMS_SNR 308 /**< Subscriber-Notifications Request */
  93. #define IMS_SNA 308 /**< Subscriber-Notifications Answer */
  94. #define IMS_PNR 309 /**< Push-Notification Request */
  95. #define IMS_PNA 309 /**< Push-Notification Answer */
  96. /** Allocated Command Codes, not used yet */
  97. #define IMS_10R 310
  98. #define IMS_10A 310
  99. #define IMS_11R 311
  100. #define IMS_11A 311
  101. #define IMS_12R 312
  102. #define IMS_12A 312
  103. #define IMS_13R 313
  104. #define IMS_13A 313
  105. #endif /* __DIAMETER_IMS_H */