Ignore:
Timestamp:
Aug 2, 2017 2:51:59 AM (7 years ago)
Author:
ming
Message:

Fixed #2032: NAT64 support for IPv4 interoperability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/account.cpp

    r5466 r5636  
    185185    NODE_READ_NUM_T   ( this_node, pjsua_stun_use, sipStunUse); 
    186186    NODE_READ_NUM_T   ( this_node, pjsua_stun_use, mediaStunUse); 
     187    NODE_READ_NUM_T   ( this_node, pjsua_nat64_opt, nat64Opt); 
    187188    NODE_READ_BOOL    ( this_node, iceEnabled); 
    188189    NODE_READ_INT     ( this_node, iceMaxHostCands); 
     
    216217    NODE_WRITE_NUM_T   ( this_node, pjsua_stun_use, sipStunUse); 
    217218    NODE_WRITE_NUM_T   ( this_node, pjsua_stun_use, mediaStunUse); 
     219    NODE_WRITE_NUM_T   ( this_node, pjsua_nat64_opt, nat64Opt); 
    218220    NODE_WRITE_BOOL    ( this_node, iceEnabled); 
    219221    NODE_WRITE_INT     ( this_node, iceMaxHostCands); 
     
    392394    ret.sip_stun_use            = natConfig.sipStunUse; 
    393395    ret.media_stun_use          = natConfig.mediaStunUse; 
     396    ret.nat64_opt               = natConfig.nat64Opt; 
    394397    ret.ice_cfg_use             = PJSUA_ICE_CONFIG_USE_CUSTOM; 
    395398    ret.ice_cfg.enable_ice      = natConfig.iceEnabled; 
     
    535538    natConfig.sipStunUse        = prm.sip_stun_use; 
    536539    natConfig.mediaStunUse      = prm.media_stun_use; 
     540    natConfig.nat64Opt          = prm.nat64_opt; 
    537541    if (prm.ice_cfg_use == PJSUA_ICE_CONFIG_USE_CUSTOM) { 
    538542        natConfig.iceEnabled = PJ2BOOL(prm.ice_cfg.enable_ice); 
Note: See TracChangeset for help on using the changeset viewer.