diff --git a/src/components/core/CoreManager.cpp b/src/components/core/CoreManager.cpp index 7379f3cf2..156e630d3 100644 --- a/src/components/core/CoreManager.cpp +++ b/src/components/core/CoreManager.cpp @@ -215,7 +215,8 @@ void CoreManager::createLinphoneCore (const QString &configPath) { setResourcesPaths(); - mCore = linphone::Factory::get()->createCore(mHandlers, Paths::getConfigFilePath(configPath), Paths::getFactoryConfigFilePath()); + mCore = linphone::Factory::get()->createCore(Paths::getConfigFilePath(configPath), Paths::getFactoryConfigFilePath(), nullptr); + mCore->addListener(mHandlers); mCore->setVideoDisplayFilter("MSOGL"); mCore->usePreviewWindow(true); @@ -230,6 +231,8 @@ void CoreManager::createLinphoneCore (const QString &configPath) { config->setInt("video", "display", 1); } + mCore->start(); + setDatabasesPaths(); setOtherPaths(); }