mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
[accountCreator] update account_creator_configure to keep default value server_add and route if not null
This commit is contained in:
parent
596a6292c1
commit
fc1b089175
1 changed files with 4 additions and 2 deletions
|
|
@ -476,8 +476,10 @@ LinphoneProxyConfig * linphone_account_creator_configure(const LinphoneAccountCr
|
|||
snprintf(buff, sizeof(buff), "%d", dial_prefix_number);
|
||||
linphone_proxy_config_set_dial_prefix(cfg, buff);
|
||||
}
|
||||
linphone_proxy_config_set_server_addr(cfg, domain);
|
||||
linphone_proxy_config_set_route(cfg, route);
|
||||
if(linphone_proxy_config_get_server_addr == NULL)
|
||||
linphone_proxy_config_set_server_addr(cfg, domain);
|
||||
if(linphone_proxy_config_get_route == NULL)
|
||||
linphone_proxy_config_set_route(cfg, route);
|
||||
linphone_proxy_config_enable_publish(cfg, FALSE);
|
||||
linphone_proxy_config_enable_register(cfg, TRUE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue