com.oki.sip
Interface SipConstants

All Known Implementing Classes:
CallControlServlet, OkiChatServlet, RegisterClientServlet, SipRequestDispatcher

public interface SipConstants

Interface that contains a set of constants used by the SIP server. The general constants defined in RFC and the SIP Servlet API are defined here.

Since:
SSE 1.0
Version:
$Revision: 1.6 $ $Date: 2005/01/27 00:36:09 $
Author:
Oki Electric Industry Co.,Ltd.

Field Summary
static int APPSESSION_TIMEOUT_DURATION
          First period allowed before the SipApplicationSession times out.
static int APPSESSION_TIMEOUT_MAX
          Maximum extension timeout period allowed by the SipApplicationSession.setExpires.
static java.lang.String BRANCH_PREFIX
          Beginning string of the branch ID based on RFC3261
static java.lang.String CATTR_FACTORY
          Context attribute name that contains the SipFactory.
static java.lang.String CATTR_SUPPORTED
          Context attribute name that contains a list of the extension.
static java.lang.String CATTR_TIMER
          Context attribute name that contains the TimcerService.
static java.lang.String CATTR_TMPDIR
          Context attribute name that contains directory name for usage such as containing persistent information.
static java.lang.String DEFAULT_ENCODING
          Default encoding information
static int DEFAULT_EXPIRES
          Default "expires" parameter value of Contact header.
static int DEFAULT_MAX_FORWARDS
          Default value of the "Max-Forwards" header
static int DEFAULT_MAX_UDP_SIZE
          Default value of the maximum size of the SIP message that can be sent via UDP.
static int DEFAULT_MTU_SIZE
          Default size (byte) of MTU.
static long DEFAULT_T1
          Timeout value of timer T1
static long DEFAULT_T2
          Timeout value of timer T2
static long DEFAULT_T4
          Timeout value of timer T4
static int DEFAULT_TCP_PORT
          Default port number when using TCP transport
static int DEFAULT_TLS_PORT
          Default port number when using TLS transport
static int DEFAULT_UDP_PORT
          Default port number when using UDP transport
static java.lang.String HEADER_CLUSTER_INFO
          Special header used as a hint for SIP load balancer to determine the destination of failover.
static java.lang.String HEADER_PARAMETER_CLUSTER
          Parameters set for From, To, etc, used as a hint for SIP load balancer to determine the destination of failover.
static java.lang.String HEADER_PROXY_POLICY
          Special header that sets the proxy processing policy used when sending a certain request.
static long MINUTE
          Long constant that expresses one minute in milliseconds.
static int MTU_HEADER_SIZE
          IP, UDP header size of MTU.
static java.lang.String SIP_VERSION
          SIP's protocol name/version number
static int UDP_PACKET_SIZE
          Maximum receiving UDP packet size.
 

Field Detail

MINUTE

public static final long MINUTE
Long constant that expresses one minute in milliseconds.

See Also:
Constant Field Values

SIP_VERSION

public static final java.lang.String SIP_VERSION
SIP's protocol name/version number

See Also:
8.1.1.7, Constant Field Values

DEFAULT_ENCODING

public static final java.lang.String DEFAULT_ENCODING
Default encoding information

See Also:
7, Constant Field Values

BRANCH_PREFIX

public static final java.lang.String BRANCH_PREFIX
Beginning string of the branch ID based on RFC3261

See Also:
8.1.1.7, Constant Field Values

DEFAULT_MAX_FORWARDS

public static final int DEFAULT_MAX_FORWARDS
Default value of the "Max-Forwards" header

See Also:
8.1.1.6, Constant Field Values

DEFAULT_TCP_PORT

public static final int DEFAULT_TCP_PORT
Default port number when using TCP transport

See Also:
8.1.1.6, Constant Field Values

DEFAULT_UDP_PORT

public static final int DEFAULT_UDP_PORT
Default port number when using UDP transport

See Also:
Constant Field Values

DEFAULT_TLS_PORT

public static final int DEFAULT_TLS_PORT
Default port number when using TLS transport

See Also:
Constant Field Values

DEFAULT_T1

public static final long DEFAULT_T1
Timeout value of timer T1

See Also:
Appendix A, Constant Field Values

DEFAULT_T2

public static final long DEFAULT_T2
Timeout value of timer T2

See Also:
Appendix A, Constant Field Values

DEFAULT_T4

public static final long DEFAULT_T4
Timeout value of timer T4

See Also:
Appendix A, Constant Field Values

DEFAULT_EXPIRES

public static final int DEFAULT_EXPIRES
Default "expires" parameter value of Contact header. Malformed values SHOULD be treated as this value.

See Also:
Sec 8.3, Sec 10.2, Constant Field Values

UDP_PACKET_SIZE

public static final int UDP_PACKET_SIZE
Maximum receiving UDP packet size.

See Also:
Sec 18.1.1, Constant Field Values

DEFAULT_MTU_SIZE

public static final int DEFAULT_MTU_SIZE
Default size (byte) of MTU.

See Also:
Sec 18.1.1, Constant Field Values

MTU_HEADER_SIZE

public static final int MTU_HEADER_SIZE
IP, UDP header size of MTU. $$If the sum of SIP message size plus this size exceeds MTU size,$$ message should not be sent via UDP.

See Also:
Sec 18.1.1, Constant Field Values

DEFAULT_MAX_UDP_SIZE

public static final int DEFAULT_MAX_UDP_SIZE
Default value of the maximum size of the SIP message that can be sent via UDP. Value calculated from DEFAULT_MTU_SIZE - MTU_HEADER_SIZE.

See Also:
Sec 18.1.1, Constant Field Values

APPSESSION_TIMEOUT_DURATION

public static final int APPSESSION_TIMEOUT_DURATION
First period allowed before the SipApplicationSession times out. 30 minutes.

See Also:
Constant Field Values

APPSESSION_TIMEOUT_MAX

public static final int APPSESSION_TIMEOUT_MAX
Maximum extension timeout period allowed by the SipApplicationSession.setExpires. 60 minutes.

See Also:
Constant Field Values

CATTR_FACTORY

public static final java.lang.String CATTR_FACTORY
Context attribute name that contains the SipFactory. It is the same value as the SipServlet.SIP_FACTORY.

See Also:
Constant Field Values

CATTR_SUPPORTED

public static final java.lang.String CATTR_SUPPORTED
Context attribute name that contains a list of the extension. It is the same value as the SipServlet.SUPPORTED.

See Also:
Constant Field Values

CATTR_TIMER

public static final java.lang.String CATTR_TIMER
Context attribute name that contains the TimcerService. It is the same value as the SipServlet.TIMER_SERVICE.

See Also:
Constant Field Values

CATTR_TMPDIR

public static final java.lang.String CATTR_TMPDIR
Context attribute name that contains directory name for usage such as containing persistent information.

See Also:
Constant Field Values

HEADER_PROXY_POLICY

public static final java.lang.String HEADER_PROXY_POLICY
Special header that sets the proxy processing policy used when sending a certain request. This header is a special header to control the behavior of the SIP servlet container. Therefore, this header is removed when sending the message actually. This header can be set in the same way as the <proxy-policy> tag in the "sipserver.xml".

See Also:
Constant Field Values

HEADER_PARAMETER_CLUSTER

public static final java.lang.String HEADER_PARAMETER_CLUSTER
Parameters set for From, To, etc, used as a hint for SIP load balancer to determine the destination of failover.

See Also:
Constant Field Values

HEADER_CLUSTER_INFO

public static final java.lang.String HEADER_CLUSTER_INFO
Special header used as a hint for SIP load balancer to determine the destination of failover.

See Also:
Constant Field Values