Ignore:
Timestamp:
Jun 26, 2012 9:37:41 AM (12 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/include/pjsua-lib/pjsua.h

    r4175 r4180  
    11711171 
    11721172    /** 
     1173     * This callback is called when message waiting indication subscription 
     1174     * state has changed. Application can then query the subscription state 
     1175     * by calling #pjsip_evsub_get_state(). 
     1176     * 
     1177     * @param acc_id    The account ID. 
     1178     * @param evsub     The subscription instance. 
     1179     */ 
     1180    void (*on_mwi_state)(pjsua_acc_id acc_id, pjsip_evsub *evsub); 
     1181 
     1182    /** 
    11731183     * This callback is called when a NOTIFY request for message summary /  
    11741184     * message waiting indication is received. 
Note: See TracChangeset for help on using the changeset viewer.