00001
00056 #ifndef I_CSCF_REGISTRATION_H
00057 #define I_CSCF_REGISTRATION_H
00058
00059 #include "../../sr_module.h"
00060
00061 #include "../cdp/cdp_load.h"
00062
00063 #include "scscf_list.h"
00064
00065 #define MSG_400 "Bad Request"
00066 #define MSG_400_NO_PRIVATE "Bad Request - Private ID in Authorization / username token missing"
00067 #define MSG_400_NO_PUBLIC "Bad Request - Public ID in To header missing"
00068 #define MSG_400_NO_VISITED "Bad Request - P-Visited-Network-ID header missing"
00069
00070 #define MSG_403_UNKOWN_RC "Forbidden - HSS responded with unknown Result Code"
00071 #define MSG_403_UNKOWN_EXPERIMENTAL_RC "Forbidden - HSS responded with unknown Experimental Result Code"
00072 #define MSG_403_USER_UNKNOWN "Forbidden - HSS User Unknown"
00073 #define MSG_403_IDENTITIES_DONT_MATCH "Forbidden - HSS Identities don't match"
00074 #define MSG_403_AUTHORIZATION_REJECTED "Forbidden - HSS Authorization Rejected"
00075 #define MSG_403_ROAMING_NOT_ALLOWED "Forbidden - HSS Roaming not allowed"
00076 #define MSG_403_IDENTITY_NOT_REGISTERED "Forbidden - HSS Identity not registered"
00077 #define MSG_403_UNABLE_TO_COMPLY "Forbiddent - Hss Unable to comply"
00078
00079 #define MSG_480_DIAMETER_ERROR "Temporarily Unavailable - Diameter Cx interface failed"
00080 #define MSG_480_DIAMETER_TIMEOUT "Temporarily unavailable - TimeOut in UAR/A HSS"
00081 #define MSG_480_DIAMETER_MISSING_AVP "Temporarily unavailable - Missing AVP in UAA from HSS"
00082
00083 #define MSG_500_ERROR_SAVING_LIST "Server Error while saving S-CSCF list on I-CSCF"
00084
00085 #define MSG_600_FORWARDING_FAILED "Busy everywhere - Forwarding to S-CSCF failed"
00086
00087 #define MSG_600_EMPTY_LIST "Busy everywhere - Empty list of S-CSCFs"
00088 #define MSG_600_EMPTY_SCSCF_NAME "Busy everywhere - Empty S-CSCF name as received in UAA"
00089
00090
00091
00092 int I_UAR(struct sip_msg* msg, char* str1, char* str2);
00093
00094 int I_UAA(struct sip_msg* msg, AAAMessage* uaa);
00095
00096
00097 #endif