Ignore:
Timestamp:
Aug 11, 2009 4:26:20 PM (15 years ago)
Author:
nanang
Message:

Ticket #833:

  • Renamed pjsip_timer_default_setting() to pjsip_timer_setting_default().
  • Updated session timer settings in pjsua-lib as whole session timer setting struct (pyhton version remains using se & min_se).
  • Added output param SIP status code in pjsip_timer_process_resp() and pjsip_timer_process_req() to specify the corresponding SIP status code when function returning non-PJ_SUCCESS.
  • Fixed print header functions in sip_timer.c to have buffer check.
  • Added PJSIP_SESS_TIMER_DEF_SE setting to specify the default value of session timer interval.
  • Fixed role reference of the refresher, it is transaction role, not dialog role.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r2858 r2859  
    937937 
    938938    /** 
    939      * Specify session expiration period of Session Timers, in seconds.  
     939     * Specify Session Timer settings, see #pjsip_timer_setting.  
    940940     * Note that this setting can be further customized in account  
    941941     * configuration (#pjsua_acc_config). 
    942      * 
    943      * Default: 1800 (seconds) 
    944      */ 
    945     unsigned        timer_se; 
    946  
    947     /** 
    948      * Specify minimum session expiration period of Session Timers,  
    949      * in seconds. Note that this setting can be further customized in  
    950      * account configuration (#pjsua_acc_config). 
    951      * 
    952      * Default: 90 (seconds) 
    953      */ 
    954     unsigned        timer_min_se; 
     942     */ 
     943    pjsip_timer_setting timer_setting; 
    955944 
    956945    /**  
     
    17341723 
    17351724    /** 
    1736      * Specify session expiration period of Session Timers, in seconds, 
    1737      * for this account.  
    1738      * 
    1739      * Default: 1800 (seconds) 
    1740      */ 
    1741     unsigned        timer_se; 
    1742  
    1743     /** 
    1744      * Specify minimum session expiration period of Session Timers,  
    1745      * in seconds, for this account. 
    1746      * 
    1747      * Default: 90 (seconds) 
    1748      */ 
    1749     unsigned        timer_min_se; 
     1725     * Specify Session Timer settings, see #pjsip_timer_setting.  
     1726     */ 
     1727    pjsip_timer_setting timer_setting; 
    17501728 
    17511729    /** 
Note: See TracChangeset for help on using the changeset viewer.