• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 * Conditions Of Use
3 *
4 * This software was developed by employees of the National Institute of
5 * Standards and Technology (NIST), an agency of the Federal Government.
6 * Pursuant to title 15 Untied States Code Section 105, works of NIST
7 * employees are not subject to copyright protection in the United States
8 * and are considered to be in the public domain.  As a result, a formal
9 * license is not needed to use the software.
10 *
11 * This software is provided by NIST as a service and is expressly
12 * provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
13 * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
14 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
15 * AND DATA ACCURACY.  NIST does not warrant or make any representations
16 * regarding the use of the software or the results thereof, including but
17 * not limited to the correctness, accuracy, reliability or usefulness of
18 * the software.
19 *
20 * Permission to use this software is contingent upon your acceptance
21 * of the terms of this agreement
22 *
23 * .
24 *
25 */
26 /*******************************************************************************
27 * Product of NIST/ITL Advanced Networking Technologies Division (ANTD)         *
28 *******************************************************************************/
29 package gov.nist.javax.sip;
30 
31 import gov.nist.javax.sip.header.*;
32 
33 /**
34  * Default constants for SIP.
35  * @version 1.2 $Revision: 1.9 $ $Date: 2009/07/17 18:57:20 $
36  */
37 public interface SIPConstants
38     extends
39         SIPHeaderNames,
40         gov.nist.javax.sip.address.ParameterNames,
41         gov.nist.javax.sip.header.ParameterNames {
42     public static final int DEFAULT_PORT = 5060;
43 
44     // Added by Daniel J. Martinez Manzano <dani@dif.um.es>
45     public static final int DEFAULT_TLS_PORT = 5061;
46 
47     /**
48      * Prefix for the branch parameter that identifies
49      * BIS 09 compatible branch strings. This indicates
50      * that the branch may be as a global identifier for
51      * identifying transactions.
52      */
53     public static final String BRANCH_MAGIC_COOKIE = "z9hG4bK";
54 
55     public static final String BRANCH_MAGIC_COOKIE_LOWER_CASE = "z9hg4bk";
56 
57     public static final String BRANCH_MAGIC_COOKIE_UPPER_CASE = "Z9HG4BK";
58 
59     /**
60      * constant SIP_VERSION_STRING
61      */
62     public static final String SIP_VERSION_STRING = "SIP/2.0";
63 }
64