Ignore:
Timestamp:
May 9, 2016 6:58:29 AM (8 years ago)
Author:
riza
Message:

Fixed #1914: Ignore STUN error after pjstun_get_mapped_addr2().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r5241 r5283  
    20532053        status = pjstun_get_mapped_addr2(&pjsua_var.cp.factory, &stun_opt, 
    20542054                                         1, &sock, &p_pub_addr->ipv4); 
    2055         if (status != PJ_SUCCESS) { 
     2055        if (status != PJ_SUCCESS && !pjsua_var.ua_cfg.stun_ignore_failure) { 
    20562056            pjsua_perror(THIS_FILE, "Error contacting STUN server", status); 
    20572057            pj_sock_close(sock); 
Note: See TracChangeset for help on using the changeset viewer.