Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1120 closed enhancement (fixed)

Run-time configuration option for usage modes of SIP Session Timer extension in PJSUA-LIB

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.8
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by nanang)

Currently, 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:

  • inactive: only use session timer when required by the incoming requests.
  • always: use 'one-sided' session timer when remote doesn't support it.

Specifications

  • Replace require_timer (boolean) with use_timer (enum) in global and account setting.
  • The enum will contain: inactive, optional, required, always
  • Update pjsua app --use-timer option.

Change History (5)

comment:1 Changed 9 years ago by nanang

  • Description modified (diff)

comment:2 Changed 9 years ago by nanang

  • Description modified (diff)
  • 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

comment:3 Changed 9 years ago by nanang

(In [3305]) Re #1120:

  • Added enum pjsua_sip_timer_use for session timer usage types, containing: inactive, optional, required, always
  • Replaced require_timer (boolean) with above enum in global and account config setting.
  • Updated pjsua app --use-timer option accordingly.

comment:4 Changed 9 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 9 years ago by nanang

(In [3307]) Re #1120: Fixed session timer python test scripts, pjsua app param --use-timer is requiring param value now.

Note: See TracTickets for help on using tickets.