Ignore:
Timestamp:
Sep 27, 2007 2:07:07 PM (17 years ago)
Author:
bennylp
Message:

Ticket #381: auto-update the IP address in Contact according to the address/port received in REGISTER response

File:
1 edited

Legend:

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

    r1435 r1454  
    18481848    pjsua_transport_id  transport_id; 
    18491849 
     1850    /** 
     1851     * This option is useful for keeping the UDP transport address up to 
     1852     * date with the NAT public mapped address. When this option is  
     1853     * enabled and STUN is configured, the library will keep track of 
     1854     * the public IP address from the response of REGISTER request. Once 
     1855     * it detects that the address has changed, it will unregister current 
     1856     * Contact, update the UDP transport address, and register a new 
     1857     * Contact to the registrar. 
     1858     * 
     1859     * Default: 1 (yes) 
     1860     */ 
     1861    pj_bool_t auto_update_nat; 
     1862 
    18501863} pjsua_acc_config; 
    18511864 
Note: See TracChangeset for help on using the changeset viewer.