mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-03 03:39:27 +00:00
Allow account creator to configure proxy config if no default value was loaded but set by API (2/2)
This commit is contained in:
parent
5cfa0913b7
commit
a124bbef58
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue