Changeset 2315 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
- Timestamp:
- Sep 24, 2008 10:10:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r2301 r2315 97 97 cfg->srtp_secure_signaling = PJSUA_DEFAULT_SRTP_SECURE_SIGNALING; 98 98 #endif 99 cfg->hangup_forked_call = PJ_TRUE; 99 100 } 100 101 … … 623 624 pjsua_media_config default_media_cfg; 624 625 const pj_str_t STR_OPTIONS = { "OPTIONS", 7 }; 626 pjsip_ua_init_param ua_init_param; 625 627 pj_status_t status; 626 628 … … 695 697 696 698 /* Initialize UA layer module: */ 697 status = pjsip_ua_init_module( pjsua_var.endpt, NULL ); 699 pj_bzero(&ua_init_param, sizeof(ua_init_param)); 700 if (ua_cfg->hangup_forked_call) { 701 ua_init_param.on_dlg_forked = &on_dlg_forked; 702 } 703 status = pjsip_ua_init_module( pjsua_var.endpt, &ua_init_param); 698 704 PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 699 705
Note: See TracChangeset
for help on using the changeset viewer.