Changes between Version 1 and Version 2 of Ticket #1120


Ignore:
Timestamp:
Sep 7, 2010 9:27:31 AM (14 years ago)
Author:
nanang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1120

    • Property Summary changed from Run-time configuration option to enable or disable SIP Session Timer extension in PJSUA-LIB to Run-time configuration option for usage modes of SIP Session Timer extension in PJSUA-LIB
  • Ticket #1120 – Description

    v1 v2  
     1Currently, there is already usage mode option for SIP Session Timer: {{{require_timer}}}. However other usage modes have not been exposed to PJSUA-LIB, e.g:  
     2 - inactive: only use session timer when required by the incoming requests. 
     3 - always: use 'one-sided' session timer when remote doesn't support  it. 
     4 
    15'''Specifications''' 
    2  - Add {{{prefer_use_timer}}} field in global and account setting. 
    3  - When this field is set to TRUE, the current behaviour in INVITE/UPDATE is unchanged: 
    4    - sending request will contain timer headers. 
    5    - answering request with timer headers if timer headers present in the request. 
    6  - When this field is set to FALSE: 
    7    - sending request will omit timer headers. 
    8    - answering request with timer headers ONLY IF timer is listed in required header in the request. 
    9  
     6 - Replace {{{require_timer}}} (boolean) with {{{use_timer}}} (enum) in global and account setting. 
     7 - The enum will contain: inactive, optional, required, always 
     8 - Update pjsua app {{{--use-timer}}} option.