Changeset 2227 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
- Timestamp:
- Aug 19, 2008 8:02:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r2209 r2227 2366 2366 2367 2367 /* 2368 * Handler for incoming presence subscription request 2369 */ 2370 static void on_incoming_subscribe(pjsua_acc_id acc_id, 2371 pjsua_srv_pres *srv_pres, 2372 pjsua_buddy_id buddy_id, 2373 const pj_str_t *from, 2374 pjsip_rx_data *rdata, 2375 pjsip_status_code *code, 2376 pj_str_t *reason, 2377 pjsua_msg_data *msg_data) 2378 { 2379 /* Just accept the request (the default behavior) */ 2380 PJ_UNUSED_ARG(acc_id); 2381 PJ_UNUSED_ARG(srv_pres); 2382 PJ_UNUSED_ARG(buddy_id); 2383 PJ_UNUSED_ARG(from); 2384 PJ_UNUSED_ARG(rdata); 2385 PJ_UNUSED_ARG(code); 2386 PJ_UNUSED_ARG(reason); 2387 PJ_UNUSED_ARG(msg_data); 2388 } 2389 2390 2391 /* 2368 2392 * Handler on buddy state changed. 2369 2393 */ … … 3925 3949 app_config.cfg.cb.on_dtmf_digit = &call_on_dtmf_callback; 3926 3950 app_config.cfg.cb.on_reg_state = &on_reg_state; 3951 app_config.cfg.cb.on_incoming_subscribe = &on_incoming_subscribe; 3927 3952 app_config.cfg.cb.on_buddy_state = &on_buddy_state; 3928 3953 app_config.cfg.cb.on_pager = &on_pager;
Note: See TracChangeset
for help on using the changeset viewer.