Changeset 4564


Ignore:
Timestamp:
Jul 16, 2013 6:24:54 AM (11 years ago)
Author:
bennylp
Message:

Misc re #1630: stop MWI subscription when account is unregistered, because we only start it after acc is registered

File:
1 edited

Legend:

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

    r4537 r4564  
    20952095    acc = &pjsua_var.acc[acc_id]; 
    20962096 
    2097     if (!acc->cfg.mwi_enabled) { 
     2097    if (!acc->cfg.mwi_enabled || !acc->regc) { 
    20982098        if (acc->mwi_sub) { 
    20992099            /* Terminate MWI subscription */ 
Note: See TracChangeset for help on using the changeset viewer.