active-charging service ruledef dns previous-state

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

Syntax

dns previous-state operator previous_state 

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • = : Equals.

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