1 /*
2  * $Id$
3  *
4  * Copyright (C) 2012 Smile Communications, jason.penton@smilecoms.com
5  * Copyright (C) 2012 Smile Communications, richard.good@smilecoms.com
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 
46 #ifndef IMS_ICSCF_SIP_MESSAGES_H_
47 #define IMS_ICSCF_SIP_MESSAGES_H_
48 
49 #define MSG_400_NO_PUBLIC_FROM "Bad Request - Public ID in P-Asserted-Identity or From header missing"
50 #define MSG_400_NO_PUBLIC "Bad Request - Public ID in To header or Request-URI missing"
51 #define MSG_400_NO_PRIVATE "Bad Request - Private ID in Authorization / username token missing"
52 #define MSG_400_MALFORMED_CONTACT "Bad Request - Error parsing Contact parameters"
53 #define MSG_400_NO_VISITED "Bad Request - P-Visited-Network-ID header missing"
54 
55 #define MSG_500_UNKOWN_EXPERIMENTAL_RC "Forbidden - HSS responded with unknown Experimental Result Code"
56 #define MSG_500_UNABLE_TO_COMPLY "Forbidden - HSS Unable to comply"
57 #define MSG_403_UNKOWN_RC "Forbidden - HSS responded with unknown Result Code"
58 #define MSG_403_USER_UNKNOWN "Forbidden - HSS User Unknown"
59 #define MSG_403_IDENTITIES_DONT_MATCH "Forbidden - HSS Identities don't match"
60 #define MSG_403_ROAMING_NOT_ALLOWED "Forbidden - HSS Roaming not allowed"
61 #define MSG_403_IDENTITY_NOT_REGISTERED "Forbidden - HSS Identity not registered"
62 #define MSG_403_AUTHORIZATION_REJECTED "Forbidden - HSS Authorization Rejected"
63 
64 #define MSG_480_DIAMETER_ERROR "Temporarily Unavailable - Diameter Cx interface failed"
65 #define MSG_480_DIAMETER_MISSING_AVP "Temporarily unavailable - Missing AVP in UAA from HSS"
66 #define MSG_480_NOT_REGISTERED "Temporarily Unavailable - HSS Identity not registered"
67 
68 #define MSG_500_ERROR_SAVING_LIST "Server Error while saving S-CSCF list on I-CSCF"
69 #define MSG_500_SERVER_ERROR_OUT_OF_MEMORY "Server Error - Out of memory"
70 
71 #define MSG_600_EMPTY_LIST "Busy everywhere - Empty list of S-CSCFs"
72 #define MSG_600_FORWARDING_FAILED "Busy everywhere - Forwarding to S-CSCF failed"
73 
74 #define MSG_604_USER_UNKNOWN "Does not exist anywhere - HSS User Unknown"
75 
76 #endif
77