Ignore:
Timestamp:
Nov 20, 2009 11:33:07 PM (14 years ago)
Author:
bennylp
Message:

More ticket #982 (MWI): support for Asterisk unsolicited MWI requests:

  • undo r3019 which put unsolicited MWI support in pjsua app only
  • put the unsolicited MWI support in PJSUA-LIB instead
  • unsolicited MWI is by default enabled
  • on_mwi_info() callback will be called just as the solicited MWI version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r2968 r3021  
    10031003 
    10041004    /** 
     1005     * Handle unsolicited NOTIFY requests containing message waiting  
     1006     * indication (MWI) info. Unsolicited MWI is incoming NOTIFY requests  
     1007     * which are not requested by client with SUBSCRIBE request.  
     1008     * 
     1009     * If this is enabled, the library will respond 200/OK to the NOTIFY 
     1010     * request and forward the request to \a on_mwi_info() callback. 
     1011     * 
     1012     * See also \a mwi_enabled field #on pjsua_acc_config. 
     1013     * 
     1014     * Default: PJ_TRUE 
     1015     * 
     1016     */ 
     1017    pj_bool_t       enable_unsolicited_mwi; 
     1018 
     1019    /** 
    10051020     * Specify Session Timer settings, see #pjsip_timer_setting.  
    10061021     * Note that this setting can be further customized in account  
     
    18831898 
    18841899    /** 
    1885      * Enable message summary and message waiting indication subscription 
    1886      * (RFC 3842) for this account. 
     1900     * Subscribe to message waiting indication events (RFC 3842). 
     1901     * 
     1902     * See also \a enable_unsolicited_mwi field on #pjsua_config. 
    18871903     * 
    18881904     * Default: no 
Note: See TracChangeset for help on using the changeset viewer.