Ignore:
Timestamp:
Oct 10, 2014 10:44:10 AM (10 years ago)
Author:
riza
Message:

Misc (re #1782): In case if STUN server is configured and NAT-traversal is in process user can delete this server from setting list. In that case in internal_stun_resolve_cb we should check that STUN server is available. (Thanks to Max Bondarenko for the patch).

File:
1 edited

Legend:

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

    r4889 r4945  
    14611461{ 
    14621462    pjsua_var.stun_status = result->status; 
    1463     if (result->status == PJ_SUCCESS) { 
     1463    if ((result->status == PJ_SUCCESS) && (pjsua_var.ua_cfg.stun_srv_cnt>0)) { 
    14641464        pj_memcpy(&pjsua_var.stun_srv, &result->addr, sizeof(result->addr)); 
    14651465    } 
Note: See TracChangeset for help on using the changeset viewer.