Cisco Cisco ASR 5000

Page of 9109
  ACS Ruledef Configuration Mode Commands 
sip previous-state  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
1115 
sip previous-state 
This command allows you to define rule expressions to match previous state of SIP sessions. 
Product
 
ACS 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > ACS Configuration > Ruledef Configuration 
active-charging service service_name > ruledef ruledef_name
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-acs-ruledef)# 
Syntax
 
[ no ] sip previous-state operator sip_previous_state 
no
 
If previously configured, deletes the specified rule expression from the current ruledef. 
operator
 
Specifies how to match. 
operator
 must be one of the following: 
 
!=
: Does not equal 
 
=
: Equals 
sip_previous_state
 
Specifies the previous state to match. 
sip_previous_state
 must be one of the following: 
 
init
 
 
provisional-response
 
 
request-sent
 
 
response-fail
 
 
response-ok
 
Usage 
Use this command to define rule expressions to match a previous state of SIP sessions. 
Example
 
The following command defines a rule expression to match user traffic based on the SIP previous state of 
request-sent
sip previous-state = request-sent