Class SipHeaderCondition
Tests a SIP header field in the INVITE or MESSAGE of a call (such as “From”, “To”, “Contact”, etc.). See Sections 3.3.3.1.2 and E.1.1 of NENA-STA-010.3.
Inherited Members
Namespace: PolicyRouting
Assembly: Ng911Lib.dll
Syntax
public class SipHeaderCondition : ConditionBase
Constructors
| Edit this page View SourceSipHeaderCondition()
Constructor
Declaration
public SipHeaderCondition()
Properties
| Edit this page View SourceOperator
Operator for the condition. Must be one of EQ, SS, IS. Required.
Declaration
[JsonPropertyName("operator")]
public string Operator { get; set; }
Property Value
Type | Description |
---|---|
string |
content
Content to match the SIP header value to. If “operator” is set to “EQ” or “SS”, this member contains a string against which the specified header field value is compared, either for equality or as a substring. If operator is "IS" then this field must contain a REGEX expression to match the header's value to.
Declaration
public string content { get; set; }
Property Value
Type | Description |
---|---|
string |
field
MUST exist and be set to the name of a SIP header field, without the colon.
Declaration
public string field { get; set; }
Property Value
Type | Description |
---|---|
string |