Inheritance
System.Object
SIPFromHeader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: SIPSorcery.dll
public class SIPFromHeader
Constructors
|
Improve this Doc
View Source
Declaration
public SIPFromHeader(string fromName, SIPURI fromURI, string fromTag)
Parameters
Type |
Name |
Description |
System.String |
fromName |
|
SIPURI |
fromURI |
|
System.String |
fromTag |
|
Fields
|
Improve this Doc
View Source
Declaration
public const string DEFAULT_FROM_URI = "sip:thisis@anonymous.invalid"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string PARAMETER_TAG = "tag"
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
Declaration
public string FromName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public SIPParameters FromParameters { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string FromTag { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public SIPURI FromURI { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public SIPUserField FromUserField { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Returns a friendly description of the caller that's suitable for humans. Leaves out
all the parameters etc.
Declaration
public string FriendlyDescription()
Returns
Type |
Description |
System.String |
A string representing a friendly description of the From header.
|
|
Improve this Doc
View Source
Special SIP From header that is recognised by the SIP transport classes Send methods. At send time this header will be replaced by
one with IP end point details that reflect the socket the request or response was sent from.
Declaration
public static SIPFromHeader GetDefaultSIPFromHeader(SIPSchemesEnum scheme)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static SIPFromHeader ParseFromHeader(string fromHeaderStr)
Parameters
Type |
Name |
Description |
System.String |
fromHeaderStr |
|
Returns
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Extension Methods