Ignore:
Timestamp:
Mar 25, 2014 4:08:44 AM (8 years ago)
Author:
riza
Message:

Re #1752: Add option to resolve hostname when trying to get network interface.

File:
1 edited

Legend:

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

    r4770 r4802  
    138138        pj_bool_t req_has_via_alias; 
    139139 
     140        /** 
     141         * Resolve hostname when trying to get the network interface to be put  
     142         * in Via or Contact header. 
     143         * 
     144         * Default is PJSIP_RESOLVE_HOSTNAME_TO_GET_INTERFACE. 
     145         */ 
     146        pj_bool_t resolve_hostname_to_get_interface; 
     147 
    140148    } endpt; 
    141149 
     
    364372#endif 
    365373 
     374/** 
     375 * Resolve hostname when trying to get the network interface to be put in Via  
     376 * or Contact header. 
     377 * 
     378 * This option can also be controlled at run-time by the 
     379 * \a resolve_hostname_to_get_interface setting in pjsip_cfg_t. 
     380 * 
     381 * Default is PJ_FALSE. 
     382 */ 
     383#ifndef PJSIP_RESOLVE_HOSTNAME_TO_GET_INTERFACE 
     384#   define PJSIP_RESOLVE_HOSTNAME_TO_GET_INTERFACE  PJ_FALSE 
     385#endif 
    366386 
    367387/** 
Note: See TracChangeset for help on using the changeset viewer.