Changeset 5830


Ignore:
Timestamp:
Jul 23, 2018 2:19:22 AM (6 years ago)
Author:
nanang
Message:

Fixed #2130: Fixed issue of re-INVITE not sent for non-registering accounts on IP change scenario.

File:
1 edited

Legend:

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

    r5820 r5830  
    35093509                shut_acc_ids[shut_acc_cnt++] = acc->index; 
    35103510            }    
    3511         } else if (acc->reg_last_code != PJSIP_SC_BAD_GATEWAY && 
     3511        } else if (acc->cfg.reg_uri.slen && 
     3512                   acc->reg_last_code != PJSIP_SC_BAD_GATEWAY && 
    35123513                   acc->reg_last_code != PJSIP_SC_REQUEST_TIMEOUT && 
    35133514                   acc->reg_last_code != PJSIP_SC_INTERNAL_SERVER_ERROR && 
     
    35883589        } else { 
    35893590            acc_done[i] = PJ_TRUE; 
    3590             if (acc->cfg.allow_contact_rewrite) { 
     3591            if (acc->cfg.allow_contact_rewrite && acc->cfg.reg_uri.slen) { 
    35913592                status = pjsua_acc_update_contact_on_ip_change(acc); 
    35923593            } else { 
Note: See TracChangeset for help on using the changeset viewer.