Cisco Cisco ASR 5000

Page of 9109
CSCF Service Configuration Mode Commands   
▀  session-timer 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
3344 
   
session-timer 
Configures the session expiry for sessions (Session will expire at the configured value unless refreshed.) and the 
minimum number of seconds in a session timer (session-expires) value the system will allow. 
Product
 
SCM 
Privilege
 
Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > CSCF Service Configuration 
configure > context context_name > cscf service service_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-cscf-service)# 
Syntax
 
session-timer { min-se sec [ session-expires sec ] | session-expires sec [ min-se sec ] } 
default session-timer [ min-se ] [ session-expires ] 
no session-timer 
default
 
Returns the command to the default settings. 
no
 
Disables the session timer. 
min-se sec
 
Default: 90 
Specifies the minimum number of seconds the system will allow a session-expires value in a session request.  
sec
 must be an integer value between 90 and the value of the 
session-expires
 command. 
session-expires
 
sec
 
Default: 1800 (30 minutes) 
Specifies the number of seconds a session is allowed exist before it expires.  
sec
 must be an integer value between 90 and 18000. 
Usage 
Use this command to set a session expiry value for all invites generated by the SCM and a minimum value for 
a session request session timer the system will allow. If a session is requested with a timer of less than this 
command’s value, the system will reject the request with a “422 Session Interval Too Small” response code. 
Example
 
The following command sets the session expiry for all sessions generated by the SCM to 60 minutes: