forked from mirrors/linphone-iphone
fix problem when port is set to a TLS port only
This commit is contained in:
parent
b9b8166ad8
commit
f8d7cdfdad
1 changed files with 1 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ void account_create_on_server(Account *account, const LinphoneProxyConfig *refcf
|
|||
|
||||
server_addr=linphone_address_new(linphone_proxy_config_get_server_addr(refcfg));
|
||||
linphone_address_set_transport(server_addr,LinphoneTransportTcp); /*use tcp for account creation*/
|
||||
linphone_address_set_port(server_addr,0);
|
||||
tmp=linphone_address_as_string(server_addr);
|
||||
linphone_proxy_config_set_server_addr(cfg,tmp);
|
||||
ms_free(tmp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue