Ignore:
Timestamp:
Jun 19, 2012 2:35:18 PM (10 years ago)
Author:
nanang
Message:

Close #1540:

  • added pjsua_acc_config.mwi_expires, also compile-time macro PJSIP_MWI_DEFAULT_EXPIRES
  • updated pjsua_acc_modify() to update MWI subscription when mwi_expires & mwi_enabled of pjsua_acc_config is modified
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/mwi.c

    r3553 r4172  
    3333 
    3434#define THIS_FILE                   "mwi.c" 
    35 #define MWI_DEFAULT_EXPIRES         3600 
    3635 
    3736 /* 
     
    139138    /* Register event package to event module. */ 
    140139    status = pjsip_evsub_register_pkg( &mod_mwi, &STR_MWI,  
    141                                        MWI_DEFAULT_EXPIRES,  
     140                                       PJSIP_MWI_DEFAULT_EXPIRES,  
    142141                                       PJ_ARRAY_SIZE(accept), accept); 
    143142    if (status != PJ_SUCCESS) { 
Note: See TracChangeset for help on using the changeset viewer.