MjSip Stack
v1.6

org.zoolu.sip.header
Class CallIdHeader

java.lang.Object
  |
  +--org.zoolu.sip.header.Header
        |
        +--org.zoolu.sip.header.CallIdHeader

public class CallIdHeader
extends Header

SIP Header Call-ID. The Call-ID header field acts as a unique identifier to group together a series of messages. It MUST be the same for all requests and responses sent by either UA in a dialog. It SHOULD be the same in each registration from a UA.
In a new request created by a UAC outside of any dialog, the Call-ID header field MUST be selected by the UAC as a globally unique identifier over space and time unless overridden by method-specific behavior.
Use of cryptographically random identifiers in the generation of Call-IDs is RECOMMENDED. Implementations MAY use the form "localid@host". Call-IDs are case-sensitive and are simply compared byte-by-byte.


Fields inherited from class org.zoolu.sip.header.Header
name, value
 
Constructor Summary
CallIdHeader(Header hd)
          Creates a new CallIdHeader equal to CallIdHeader hd
CallIdHeader(java.lang.String hvalue)
          Creates a CallIdHeader with value hvalue
 
Method Summary
 java.lang.String getCallId()
          Gets Call-Id of CallIdHeader
 void setCallId(java.lang.String callId)
          Sets Call-Id of CallIdHeader
 
Methods inherited from class org.zoolu.sip.header.Header
clone, equals, getName, getValue, setValue, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallIdHeader

public CallIdHeader(java.lang.String hvalue)
Creates a CallIdHeader with value hvalue

CallIdHeader

public CallIdHeader(Header hd)
Creates a new CallIdHeader equal to CallIdHeader hd
Method Detail

getCallId

public java.lang.String getCallId()
Gets Call-Id of CallIdHeader

setCallId

public void setCallId(java.lang.String callId)
Sets Call-Id of CallIdHeader

MjSip Stack
v1.6