active-charging service ruledef dns state

Configures rule expressions to match current state of DNS FSM.

Syntax

dns state operator current_state 

current_state

Specify the state to match.

Must be one of the following:

  • dns-timeout

  • init

  • req-sent

  • resp-error

  • resp-success

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • = : Equals.

Usage Guidelines

Use this command to define rule expressions to match DNS FSM current state.

Example

The following command defines a rule expression to match DNS FSM current state of "req-sent":
dns state = req-sent