Ignore:
Timestamp:
Jun 26, 2012 9:37:41 AM (9 years ago)
Author:
ming
Message:

Re #1540: Modify MWI subscription setting on run-time

  • Add subscription state callback
  • Terminate subscription when deleting acc
File:
1 edited

Legend:

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

    r4173 r4180  
    611611        } 
    612612        acc->regc = NULL; 
     613    } 
     614 
     615    /* Terminate mwi subscription */ 
     616    if (acc->cfg.mwi_enabled) { 
     617        acc->cfg.mwi_enabled = PJ_FALSE; 
     618        pjsua_start_mwi(acc_id, PJ_FALSE); 
    613619    } 
    614620 
Note: See TracChangeset for help on using the changeset viewer.