Bugfix: make linphone-daemon gives an Id to each proxy config loaded from the config file

This commit is contained in:
François Grisez 2017-01-31 10:23:10 +01:00
parent 2c5d691045
commit 1c7fc21b3d

View file

@ -359,6 +359,11 @@ Daemon::Daemon(const char *config_path, const char *factory_config_path, const c
linphone_core_set_user_data(mLc, this);
linphone_core_enable_video_capture(mLc,capture_video);
linphone_core_enable_video_display(mLc,display_video);
for(const bctbx_list_t *proxy = linphone_core_get_proxy_config_list(mLc); proxy != NULL; proxy = bctbx_list_next(proxy)) {
updateProxyId((LinphoneProxyConfig *)bctbx_list_get_data(proxy));
}
initCommands();
mUseStatsEvents=true;
}