00001
00056 #ifndef I_CSCF_LOCATION_H
00057 #define I_CSCF_LOCATION_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
00067 #define MSG_403 "Forbidden"
00068 #define MSG_403_UNKOWN_RC "Forbidden - HSS responded with unknown Result Code"
00069 #define MSG_403_UNKOWN_EXPERIMENTAL_RC "Forbidden - HSS responded with unknown Experimental Result Code"
00070
00071 #define MSG_404_NOT_REGISTERED "Not Found - HSS Identity not registered"
00072 #define MSG_480_NOT_REGISTERED "Temporarily Unavailable - HSS Identity not registered"
00073
00074 #define MSG_480_DIAMETER_ERROR "Temporarily Unavailable - Diameter Cx interface failed"
00075 #define MSG_480_DIAMETER_TIMEOUT_LIA "Temporarily unavailable - TimeOut in LIR/A HSS"
00076 #define MSG_480_DIAMETER_MISSING_AVP_LIA "Temporarily unavailable - Missing AVP in LIA from HSS"
00077
00078
00079 #define MSG_604_USER_UNKNOWN "Does not exist anywhere - HSS User Unknown"
00080
00081 int I_LIR(struct sip_msg* msg, char* str1, char* str2);
00082
00083 int I_LIA(struct sip_msg* msg, AAAMessage** lia, int originating);
00084
00085 int I_originating(struct sip_msg *msg, char *str1, char *str2);
00086
00087 #endif