diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index e84f8e5d2..5a6918c49 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1571,6 +1571,8 @@ void linphone_core_reload_ms_plugins(LinphoneCore *lc, const char *path){ } static void linphone_core_start(LinphoneCore * lc) { + linphone_core_add_friend_list(lc, NULL); + sip_setup_register_all(lc->factory); sound_config_read(lc); net_config_read(lc); @@ -1588,6 +1590,7 @@ static void linphone_core_start(LinphoneCore * lc) { } #endif + linphone_core_notify_display_status(lc,_("Ready")); lc->auto_net_state_mon=lc->sip_conf.auto_net_state_mon; linphone_core_set_state(lc,LinphoneGlobalOn,"Ready"); @@ -1726,8 +1729,6 @@ static void linphone_core_init(LinphoneCore * lc, const LinphoneCoreVTable *vtab lc->data=userdata; lc->ringstream_autorelease=TRUE; - linphone_core_add_friend_list(lc, NULL); - linphone_task_list_init(&lc->hooks); internal_vtable->notify_received = linphone_core_internal_notify_received;