Changeset 2968 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Oct 26, 2009 11:21:37 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r2966 r2968 377 377 pjsua_logging_config *dst, 378 378 const pjsua_logging_config *src); 379 380 381 /** 382 * Structure to be passed on MWI callback. 383 */ 384 typedef struct pjsua_mwi_info 385 { 386 pjsip_evsub *evsub; /**< Event subscription session, for 387 reference. */ 388 pjsip_rx_data *rdata; /**< The received NOTIFY request. */ 389 } pjsua_mwi_info; 379 390 380 391 … … 822 833 const pjsip_event *e); 823 834 835 /** 836 * This callback is called when a NOTIFY request for message summary / 837 * message waiting indication is received. 838 * 839 * @param acc_id The account ID. 840 * @param mwi_info Structure containing details of the event, 841 * including the received NOTIFY request in the 842 * \a rdata field. 843 */ 844 void (*on_mwi_info)(pjsua_acc_id acc_id, pjsua_mwi_info *mwi_info); 845 824 846 } pjsua_callback; 825 847 … … 1859 1881 */ 1860 1882 pj_str_t reg_uri; 1883 1884 /** 1885 * Enable message summary and message waiting indication subscription 1886 * (RFC 3842) for this account. 1887 * 1888 * Default: no 1889 */ 1890 pj_bool_t mwi_enabled; 1861 1891 1862 1892 /**
Note: See TracChangeset
for help on using the changeset viewer.