diameter_ims_code_result.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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_CODE_RESULT_H
  46. #define __DIAMETER_IMS_CODE_RESULT_H
  47. /** IMS Specific Result Codes */
  48. enum{
  49. /** 1001 to 1999 Informational */
  50. /** 2001 to 2999 Success */
  51. /** 2001 to 2020 Reserved for TS29.229 */
  52. RC_IMS_DIAMETER_FIRST_REGISTRATION = 2001,
  53. RC_IMS_DIAMETER_SUBSEQUENT_REGISTRATION = 2002,
  54. RC_IMS_DIAMETER_UNREGISTERED_SERVICE = 2003,
  55. RC_IMS_DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED = 2004,
  56. RC_IMS_DIAMETER_SERVER_SELECTION = 2005,
  57. /** 2401 to 2420 Reserved for TS29.109 */
  58. /** 4001 to 4999 Transient Failures */
  59. /** 4100 to 4120 Reserved for TS29.329 */
  60. RC_IMS_DIAMETER_USER_DATA_NOT_AVAILABLE = 4100,
  61. RC_IMS_DIAMETER_PRIOR_UPDATE_IN_PROGRESS = 4101,
  62. /** 41xx to 41yy Reserved for TS32.299 */
  63. /** 5001 to 5999 Permanent Failures */
  64. /** 5001 to 5020 Reserved for TS29.229 */
  65. RC_IMS_DIAMETER_ERROR_USER_UNKNOWN = 5001,
  66. RC_IMS_DIAMETER_ERROR_IDENTITIES_DONT_MATCH = 5002,
  67. RC_IMS_DIAMETER_ERROR_IDENTITY_NOT_REGISTERED = 5003,
  68. RC_IMS_DIAMETER_ERROR_ROAMING_NOT_ALLOWED = 5004,
  69. RC_IMS_DIAMETER_ERROR_IDENTITY_ALREADY_REGISTERED = 5005,
  70. RC_IMS_DIAMETER_ERROR_AUTH_SCHEME_NOT_SUPPORTED = 5006,
  71. RC_IMS_DIAMETER_ERROR_IN_ASSIGNMENT_TYPE = 5007,
  72. RC_IMS_DIAMETER_ERROR_TOO_MUCH_DATA = 5008,
  73. RC_IMS_DIAMETER_ERROR_NOT_SUPPORTED_USER_DATA = 5009,
  74. RC_IMS_DIAMETER_MISSING_USER_ID = 5010,
  75. RC_IMS_DIAMETER_ERROR_FEATURE_UNSUPPORTED = 5011,
  76. /** 5021 to 5040 Reserved for TS32.299 */
  77. /** 5041 to 5060 Reserved for TS29.234 */
  78. /** 5061 to 5080 Reserved for TS29.209 */
  79. RC_IMS_DIAMETER_ERROR_INVALID_SERVICE_INFORMATION = 5061,
  80. RC_IMS_DIAMETER_ERROR_FILTER_RESTRICTIONS = 5062,
  81. /** 5061 to 5066 Reserved for TS29.214 */
  82. RC_IMS_DIAMETER_ERROR_REQUESTED_SERVICE_NOT_AUTHORIZED = 5063,
  83. RC_IMS_DIAMETER_ERROR_DUPLICATED_AF_SESSION = 5064,
  84. RC_IMS_DIAMETER_ERROR_IPCAN_SESSION_NOT_AVAILABLE = 5065,
  85. RC_IMS_DIAMETER_ERROR_UNAUTHORIZED_NON_EMERGENCY_SESSION = 5066,
  86. /** 5100 to 5119 Reserved for TS29.329 */
  87. RC_IMS_DIAMETER_ERROR_USER_DATA_NOT_RECOGNIZED = 5100,
  88. RC_IMS_DIAMETER_ERROR_OPERATION_NOT_ALLOWED = 5101,
  89. RC_IMS_DIAMETER_ERROR_USER_DATA_CANNOT_BE_READ = 5102,
  90. RC_IMS_DIAMETER_ERROR_USER_DATA_CANNOT_BE_MODIFIED = 5103,
  91. RC_IMS_DIAMETER_ERROR_USER_DATA_CANNOT_BE_NOTIFIED = 5104,
  92. RC_IMS_DIAMETER_ERROR_TRANSPARENT_DATA_OUT_OF_SYNC = 5105,
  93. RC_IMS_DIAMETER_ERROR_SUBS_DATA_ABSENT = 5106,
  94. RC_IMS_DIAMETER_ERROR_NO_SUBSCRIPTION_TO_DATA = 5107,
  95. RC_IMS_DIAMETER_ERROR_DSAI_NOT_AVAILABLE = 5108
  96. /** 5400 to 5419 Reserved for TS29.109 */
  97. };
  98. #endif /* __DIAMETER_IMS_CODE_RESULT_H */