active-charging service ruledef http user-agent

Rule expressions to match the User-Agent.

Privilege Level

Security Administrator, Administrator

Syntax

user-agent operator user_agent 

operator

Specify how to match.

Must be one of the following:

  • !=: Does not equal.

  • !contains: Does not contain.

  • !ends-with: Does not end with.

  • !starts-with: Does not start with.

  • =: Equal.

  • present: Present.

  • !present: Not present.

  • contains: Contains.

  • ends-with: Ends with.

  • starts-with: Starts with.

  • regex: Regular expression.

user_agent

Specify the HTTP user agent value to match.

Must be a string.

case-sensitive

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

Usage Guidelines

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