Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
17c7bb61
Commit
17c7bb61
authored
Jun 13, 2016
by
Gautier Pelloux-Prayer
Browse files
tester: increase extra time for DNS SRV resolution timeout
parent
d88b44a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tester/accountmanager.c
tester/accountmanager.c
+3
-2
No files found.
tester/accountmanager.c
View file @
17c7bb61
...
...
@@ -160,8 +160,9 @@ 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
);
/*wait 15 seconds, since the DNS SRV resolution make time a while*/
if
(
wait_for_until
(
lc
,
NULL
,
&
account
->
created
,
1
,
15000
)
==
FALSE
){
/*wait 25 seconds, since the DNS SRV resolution may take a while - and
especially if router does NOT support DNS SRV and we have to wait its timeout*/
if
(
wait_for_until
(
lc
,
NULL
,
&
account
->
created
,
1
,
25000
)
==
FALSE
){
ms_fatal
(
"Account for %s could not be created on server."
,
linphone_proxy_config_get_identity
(
refcfg
));
}
linphone_proxy_config_edit
(
cfg
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment