Ignore:
Timestamp:
Mar 2, 2008 10:37:41 AM (16 years ago)
Author:
bennylp
Message:

Ticket #498: Option in client registration to ignore Contact address in REGISTER response

File:
1 edited

Legend:

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

    r1818 r1837  
    2424 * @brief Compile time configuration. 
    2525 */ 
    26 #include <pj/config.h> 
     26#include <pj/types.h> 
    2727 
    2828/** 
     
    104104    /* Dialog layer settings .. TODO */ 
    105105 
     106    /** Client registration settings. */ 
     107    struct { 
     108        /** 
     109         * Specify whether client registration should check for its  
     110         * registered contact in Contact header of successful REGISTE  
     111         * response to determine whether registration has been successful.  
     112         * This setting may be disabled if non-compliant registrar is unable 
     113         * to return correct Contact header. 
     114         * 
     115         * Default is PJSIP_REGISTER_CLIENT_CHECK_CONTACT 
     116         */ 
     117        pj_bool_t   check_contact; 
     118 
     119    } regc; 
     120 
    106121} pjsip_cfg_t; 
    107122 
     
    700715 
    701716/** 
     717 * Specify whether client registration should check for its registered 
     718 * contact in Contact header of successful REGISTE response to determine 
     719 * whether registration has been successful. This setting may be disabled 
     720 * if non-compliant registrar is unable to return correct Contact header. 
     721 * 
     722 * This setting can be changed in run-time with using pjsip_cfg(). 
     723 * 
     724 * Default is 1 
     725 */ 
     726#ifndef PJSIP_REGISTER_CLIENT_CHECK_CONTACT 
     727#   define PJSIP_REGISTER_CLIENT_CHECK_CONTACT  1 
     728#endif 
     729 
     730 
     731/** 
    702732 * @} 
    703733 */ 
Note: See TracChangeset for help on using the changeset viewer.