Ignore:
Timestamp:
May 17, 2008 12:45:00 PM (11 years ago)
Author:
bennylp
Message:

Ticket #534: Client register/registration support for various registrar brokenness

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_config.h

    r1857 r1959  
    109109        /** 
    110110         * Specify whether client registration should check for its  
    111          * registered contact in Contact header of successful REGISTE  
     111         * registered contact in Contact header of successful REGISTER  
    112112         * response to determine whether registration has been successful.  
    113113         * This setting may be disabled if non-compliant registrar is unable 
     
    118118        pj_bool_t   check_contact; 
    119119 
     120        /** 
     121         * Specify whether client registration should add "x-uid" extension 
     122         * parameter in all Contact URIs that it registers to assist the 
     123         * matching of Contact URIs in the 200/OK REGISTER response, in  
     124         * case the registrar is unable to return exact Contact URI in the 
     125         * 200/OK response. 
     126         * 
     127         * Default is PJSIP_REGISTER_CLIENT_ADD_XUID_PARAM. 
     128         */ 
     129        pj_bool_t   add_xuid_param; 
     130 
    120131    } regc; 
    121132 
     
    714725#endif 
    715726 
    716 PJ_END_DECL 
     727 
     728/** 
     729 * Specify the number of seconds to refresh the client registration 
     730 * before the registration expires. 
     731 * 
     732 * Default: 5 seconds 
     733 */ 
     734#ifndef PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH 
     735#   define PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH  5 
     736#endif 
     737 
    717738 
    718739/** 
     
    722743 * if non-compliant registrar is unable to return correct Contact header. 
    723744 * 
    724  * This setting can be changed in run-time with using pjsip_cfg(). 
     745 * This setting can be changed in run-time by settting \a regc.check_contact 
     746 * field of pjsip_cfg(). 
    725747 * 
    726748 * Default is 1 
     
    732754 
    733755/** 
     756 * Specify whether client registration should add "x-uid" extension 
     757 * parameter in all Contact URIs that it registers to assist the 
     758 * matching of Contact URIs in the 200/OK REGISTER response, in  
     759 * case the registrar is unable to return exact Contact URI in the 
     760 * 200/OK response. 
     761 * 
     762 * This setting can be changed in run-time by setting  
     763 * \a regc.add_xuid_param field of pjsip_cfg(). 
     764 * 
     765 * Default is 0. 
     766 */ 
     767#ifndef PJSIP_REGISTER_CLIENT_ADD_XUID_PARAM 
     768#   define PJSIP_REGISTER_CLIENT_ADD_XUID_PARAM 0 
     769#endif 
     770 
     771 
     772PJ_END_DECL 
     773 
     774/** 
    734775 * @} 
    735776 */ 
Note: See TracChangeset for help on using the changeset viewer.