mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
give more time to create account (due to DNS SRV request that are sometimes not responded very fast)
This commit is contained in:
parent
030de1f36f
commit
4897a3addb
2 changed files with 3 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 0c53b29f5d5efac175267e3e983b0b55ba5f1dfa
|
||||
Subproject commit b46d2cf1cb9247a7bd2d57ba312d668981b4eed7
|
||||
|
|
@ -160,8 +160,8 @@ void account_create_on_server(Account *account, const LinphoneProxyConfig *refcf
|
|||
linphone_proxy_config_set_expires(cfg,3*3600); //accounts are valid 3 hours
|
||||
|
||||
linphone_core_add_proxy_config(lc,cfg);
|
||||
|
||||
if (wait_for_until(lc,NULL,&account->created,1,10000)==FALSE){
|
||||
/*wait 15 seconds, since the DNS SRV resolution make time a while*/
|
||||
if (wait_for_until(lc,NULL,&account->created,1,15000)==FALSE){
|
||||
ms_fatal("Account for %s could not be created on server.", linphone_proxy_config_get_identity(refcfg));
|
||||
}
|
||||
linphone_proxy_config_edit(cfg);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue