Commit a124bbef authored by Sylvain Berfini's avatar Sylvain Berfini 🐮
Browse files

Allow account creator to configure proxy config if no default value was loaded but set by API (2/2)

parent 5cfa0913
......@@ -150,6 +150,9 @@ LinphoneProxyConfig * linphone_account_creator_create_proxy_config(const Linphon
snprintf(buff, sizeof(buff), "%d", dial_prefix_number);
linphone_proxy_config_set_dial_prefix(cfg, buff);
if (linphone_proxy_config_get_server_addr(cfg) == NULL && creator->domain != NULL) {
linphone_proxy_config_set_server_addr(cfg, creator->domain);
linphone_proxy_config_enable_register(cfg, TRUE);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment