Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#7 closed enhancement (fixed)

Move PJSIP compile time configurations/settings (such as T1, T2 timers) to run-time (thanks Philippe Leuba)

Reported by: bennylp Owned by: bennylp
Priority: major Milestone: release-0.9.0
Component: pjsip Version: trunk
Keywords: Cc: Philippe, Leuba
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

Some PJSIP config (e.g. PJSIP_MAX_TSX_COUNT) may better be implemented as a run-time configs instead of compile time, to enable multiple applications to be built on a single PJSIP tree.

Attachments (1)

patch_pjsip_timers.txt (12.0 KB) - added by bennylp 16 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 16 years ago by bennylp

  • Cc Philippe Leuba added
  • Description modified (diff)
  • Milestone changed from unassigned to release-0.9.0
  • Priority changed from minor to major
  • Status changed from new to assigned
  • Summary changed from Move PJSIP compile time config to run-time to Move PJSIP compile time configurations/settings (such as T1, T2 timers) to run-time
  • Version set to trunk

Changed 16 years ago by bennylp

comment:2 Changed 16 years ago by bennylp

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Summary changed from Move PJSIP compile time configurations/settings (such as T1, T2 timers) to run-time to Move PJSIP compile time configurations/settings (such as T1, T2 timers) to run-time (thanks Philippe Leuba)

Thanks Philippe Leuba for the patch

Patch applied in r1818 with minor modifications:

  • moved pjsip_cfg_t declaration to the top of sip_config.h.
  • added doxygen documentation for the new config API
  • Optimize pjsip_cfg() function call to inline for static library targets.
  • fixed warnings about unsigned/signed comparison mismatch
  • added new file in VS6, EVC4, and Symbian projects

comment:3 Changed 16 years ago by bennylp

In r1857:

  • Fixed undefined symbol on Symbian
Note: See TracTickets for help on using tickets.