Ignore:
Timestamp:
Sep 7, 2010 9:36:15 AM (9 years ago)
Author:
nanang
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r3255 r3305  
    110110    cfg->hangup_forked_call = PJ_TRUE; 
    111111 
     112    cfg->use_timer = PJSUA_SIP_TIMER_OPTIONAL; 
    112113    pjsip_timer_setting_default(&cfg->timer_setting); 
    113114} 
     
    172173    cfg->allow_contact_rewrite = PJ_TRUE; 
    173174    cfg->require_100rel = pjsua_var.ua_cfg.require_100rel; 
    174     cfg->require_timer = pjsua_var.ua_cfg.require_timer; 
     175    cfg->use_timer = pjsua_var.ua_cfg.use_timer; 
    175176    cfg->timer_setting = pjsua_var.ua_cfg.timer_setting; 
    176177    cfg->ka_interval = 15; 
Note: See TracChangeset for help on using the changeset viewer.