diff --git a/src/components/settings/AccountSettingsModel.cpp b/src/components/settings/AccountSettingsModel.cpp index 9ab0a052f..af1dc735e 100644 --- a/src/components/settings/AccountSettingsModel.cpp +++ b/src/components/settings/AccountSettingsModel.cpp @@ -20,6 +20,7 @@ * Author: Ronan Abhamon */ +#include "../../app/paths/Paths.hpp" #include "../../utils/Utils.hpp" #include "../core/CoreManager.hpp" @@ -168,7 +169,13 @@ bool AccountSettingsModel::addOrUpdateProxyConfig ( } shared_ptr AccountSettingsModel::createProxyConfig () { - return CoreManager::getInstance()->getCore()->createProxyConfig(); + shared_ptr core = CoreManager::getInstance()->getCore(); + + core->getConfig()->loadFromXmlFile( + Paths::getAssistantConfigDirPath() + "create-linphone-sip-account.rc" + ); + + return core->createProxyConfig(); } void AccountSettingsModel::addAuthInfo (