Ignore:
Timestamp:
Aug 11, 2009 12:42:38 PM (15 years ago)
Author:
nanang
Message:

Ticket #833:

  • Initial version of Session Timers (RFC 4028).
  • Added new options in pjsua app to configure Session Timers settings.
  • Added python tests for Session Timers.
File:
1 edited

Legend:

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

    r2855 r2858  
    927927    pj_bool_t       require_100rel; 
    928928 
     929    /** 
     930     * Specify whether support for Session Timers should be required by  
     931     * default. Note that this setting can be further customized in account 
     932     * configuration (#pjsua_acc_config). 
     933     * 
     934     * Default: PJ_FALSE 
     935     */ 
     936    pj_bool_t       require_timer; 
     937 
     938    /** 
     939     * Specify session expiration period of Session Timers, in seconds.  
     940     * Note that this setting can be further customized in account  
     941     * 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; 
     955 
    929956    /**  
    930957     * Number of credentials in the credential array. 
     
    16971724     */ 
    16981725    pj_bool_t       require_100rel; 
     1726 
     1727    /** 
     1728     * Specify whether support for Session Timers should be required for all  
     1729     * sessions of this account. 
     1730     * 
     1731     * Default: PJ_FALSE 
     1732     */ 
     1733    pj_bool_t       require_timer; 
     1734 
     1735    /** 
     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; 
    16991750 
    17001751    /** 
Note: See TracChangeset for help on using the changeset viewer.