mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix bug
This commit is contained in:
parent
fc1b089175
commit
7a2470c33d
1 changed files with 2 additions and 2 deletions
|
|
@ -476,9 +476,9 @@ LinphoneProxyConfig * linphone_account_creator_configure(const LinphoneAccountCr
|
|||
snprintf(buff, sizeof(buff), "%d", dial_prefix_number);
|
||||
linphone_proxy_config_set_dial_prefix(cfg, buff);
|
||||
}
|
||||
if(linphone_proxy_config_get_server_addr == NULL)
|
||||
if (linphone_proxy_config_get_server_addr(cfg) == NULL)
|
||||
linphone_proxy_config_set_server_addr(cfg, domain);
|
||||
if(linphone_proxy_config_get_route == NULL)
|
||||
if (linphone_proxy_config_get_route(cfg) == 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