C# Class SIPSorcery.SIP.SIPReplacesHeader

The Replaces header only has parameters, no headers. Parameters of from ...;name=value;name2=value2. Specific parameters: tag. The Replaces header only has parameters, no headers. Parameters of from ...;name=value;name2=value2. Specific parameters: callid,to-tag,from-tag,early-flag. A Replaces header field MUST contain exactly one to-tag and exactly one from-tag, as they are required for unique dialog matching. For compatibility with dialogs initiated by RFC 2543 [9] compliant UAs, a tag of zero matches both tags of zero and null. A Replaces header field MAY contain the early-flag.
Show file Open project: TilmannBach/sipsorcery-fork Class Usage Examples

Public Methods

Method Description
ParseReplacesHeader ( string replacesHeaderStr ) : SIPReplacesHeader
SIPReplacesHeader ( string callid, string fromTag, string toTag, bool earlyOnly ) : NUnit.Framework
ToString ( ) : string

Private Methods

Method Description
SIPReplacesHeader ( ) : NUnit.Framework

Method Details

ParseReplacesHeader() public static method

public static ParseReplacesHeader ( string replacesHeaderStr ) : SIPReplacesHeader
replacesHeaderStr string
return SIPReplacesHeader

SIPReplacesHeader() public method

public SIPReplacesHeader ( string callid, string fromTag, string toTag, bool earlyOnly ) : NUnit.Framework
callid string
fromTag string
toTag string
earlyOnly bool
return NUnit.Framework

ToString() public method

public ToString ( ) : string
return string