changeset 342:adffe87cfb6d

Fixed copyright, removed unused defines, fix type of SIP-Server-URI. Patch provided by Alexandre.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 29 Jun 2010 12:23:50 +0900
parents 2bf23d10bc6f
children 4a5211430f63
files extensions/dict_sip/dict_sip.c
diffstat 1 files changed, 2 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/dict_sip/dict_sip.c	Tue Jun 29 11:37:44 2010 +0900
+++ b/extensions/dict_sip/dict_sip.c	Tue Jun 29 12:23:50 2010 +0900
@@ -2,7 +2,7 @@
 * Software License Agreement (BSD License)                                                               *
 * Author: Alexandre Westfahl <awestfahl@freediameter.net>						 *
 *													 *
-* Copyright (c) 2010, Teraoka Laboratory, Keio University						 *
+* Copyright (c) 2010, Alexandre Westfahl, Teraoka Laboratory (Keio University), and the WIDE Project. 	 *										 *
 * All rights reserved.											 *
 * 													 *
 * Redistribution and use of this software in source and binary forms, with or without modification, are  *
@@ -36,24 +36,6 @@
 #include <freeDiameter/extension.h>
 
 
-// New Result-Code for SIP (RFC4740: Section 10.*) 
-#define DIAMETER_FIRST_REGISTRATION 2003
-#define DIAMETER_SUBSEQUENT_REGISTRATION 2004
-#define DIAMETER_UNREGISTERED_SERVICE 2005
-#define DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED 2006
-#define DIAMETER_SERVER_SELECTION 2007
-#define DIAMETER_SUCCESS_AUTH_SENT_SERVER_NOT_STORED 2008
-#define DIAMETER_USER_NAME_REQUIRED 4013
-#define DIAMETER_ERROR_USER_UNKNOWN 5032
-#define DIAMETER_ERROR_IDENTITIES_DONT_MATCH 5033
-#define DIAMETER_ERROR_IDENTITY_NOT_REGISTERED 5034
-#define DIAMETER_ERROR_ROAMING_NOT_ALLOWED 5035
-#define DIAMETER_ERROR_IDENTITY_ALREADY_REGISTERED 5036
-#define DIAMETER_ERROR_AUTH_SCHEME_NOT_SUPPORTED 5037
-#define DIAMETER_ERROR_IN_ASSIGNMENT_TYPE 5038
-#define DIAMETER_ERROR_TOO_MUCH_DATA 5039
-#define DIAMETER_ERROR_NOT SUPPORTED_USER_DATA 5040
-
 
 /* The content of this file follows the same structure as dict_base_proto.c */
 
@@ -557,7 +539,7 @@
 					AVP_FLAG_MANDATORY,		 	/* Fixed flag values */
 					AVP_TYPE_OCTETSTRING 			/* base type of data */
 					};
-			CHECK_dict_new( DICT_AVP, &data , NULL, NULL);
+			CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL);
 		}
 
 		/* SIP-Mandatory-Capability */
"Welcome to our mercurial repository"