active-charging service ruledef dns previous-state

Configures rule expression to match previous state of the DNS FSM.

Privilege Level

Security Administrator, Administrator

Syntax

dns previous-state operator previous_state 

operator

Specify how to match.

Must be one of the following:

  • =: Equals.

  • !=: Does not equal.

previous_state

Specify the previous state to match.

Must be one of the following:

  • dns-timeout: DNS timeout.

  • init: Init.

  • req-sent: Request sent.

  • resp-error: Response error.

  • resp-success: Response sucess..

Usage Guidelines

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

Example

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