active-charging service ruledef http user-agent

Rule expressions to match the User-Agent.

Syntax

user-agent operator user_agent 

case-sensitive

Specify that the rule expression be case-sensitive. By default, rule expressions are not case-sensitive.

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • !contains : Does not contain.

  • !ends-with : Does not end with.

  • !present : Not present.

  • !starts-with : Does not start with.

  • = : Equal.

  • contains : Contains.

  • ends-with : Ends with.

  • present : Present.

  • regex : Regular expression.

  • starts-with : Starts with.

user_agent

Specify the HTTP user agent value to match.

Must be a string.

Usage Guidelines

Use this command to configure rule expressions to match user agent.