Navigation


Changeset 342:adffe87cfb6d in freeDiameter


Ignore:
Timestamp:
Jun 29, 2010, 12:23:50 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fixed copyright, removed unused defines, fix type of SIP-Server-URI.
Patch provided by Alexandre.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dict_sip/dict_sip.c

    r334 r342  
    33* Author: Alexandre Westfahl <awestfahl@freediameter.net>                                                *
    44*                                                                                                        *
    5 * Copyright (c) 2010, Teraoka Laboratory, Keio University                                                *
     5* Copyright (c) 2010, Alexandre Westfahl, Teraoka Laboratory (Keio University), and the WIDE Project.    *                                                                               *
    66* All rights reserved.                                                                                   *
    77*                                                                                                        *
     
    3737
    3838
    39 // New Result-Code for SIP (RFC4740: Section 10.*)
    40 #define DIAMETER_FIRST_REGISTRATION 2003
    41 #define DIAMETER_SUBSEQUENT_REGISTRATION 2004
    42 #define DIAMETER_UNREGISTERED_SERVICE 2005
    43 #define DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED 2006
    44 #define DIAMETER_SERVER_SELECTION 2007
    45 #define DIAMETER_SUCCESS_AUTH_SENT_SERVER_NOT_STORED 2008
    46 #define DIAMETER_USER_NAME_REQUIRED 4013
    47 #define DIAMETER_ERROR_USER_UNKNOWN 5032
    48 #define DIAMETER_ERROR_IDENTITIES_DONT_MATCH 5033
    49 #define DIAMETER_ERROR_IDENTITY_NOT_REGISTERED 5034
    50 #define DIAMETER_ERROR_ROAMING_NOT_ALLOWED 5035
    51 #define DIAMETER_ERROR_IDENTITY_ALREADY_REGISTERED 5036
    52 #define DIAMETER_ERROR_AUTH_SCHEME_NOT_SUPPORTED 5037
    53 #define DIAMETER_ERROR_IN_ASSIGNMENT_TYPE 5038
    54 #define DIAMETER_ERROR_TOO_MUCH_DATA 5039
    55 #define DIAMETER_ERROR_NOT SUPPORTED_USER_DATA 5040
    56 
    5739
    5840/* The content of this file follows the same structure as dict_base_proto.c */
     
    558540                                        AVP_TYPE_OCTETSTRING                    /* base type of data */
    559541                                        };
    560                         CHECK_dict_new( DICT_AVP, &data , NULL, NULL);
     542                        CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL);
    561543                }
    562544
Note: See TracChangeset for help on using the changeset viewer.