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/pjsip/sip_config.h

    r2858 r2859  
    884884 
    885885 
     886/** 
     887 * Default session interval for Session Timer (RFC 4028) extension, in 
     888 * seconds. As specified in RFC 4028 Section 4, this value must not be  
     889 * less than the absolute minimum for the Session-Expires header field 
     890 * 90 seconds, and the recommended value is 1800 seconds. 
     891 * 
     892 * Default: 1800 seconds 
     893 */ 
     894#ifndef PJSIP_SESS_TIMER_DEF_SE 
     895#   define PJSIP_SESS_TIMER_DEF_SE              1800 
     896#endif 
     897 
     898 
    886899PJ_END_DECL 
    887900 
Note: See TracChangeset for help on using the changeset viewer.