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
947d39f9
Commit
947d39f9
authored
Feb 07, 2016
by
Simon Morlat
Browse files
fix too short timeouts for redirect test
parent
285af557
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
coreapi/help/notify.c
coreapi/help/notify.c
+1
-1
tester/call_tester.c
tester/call_tester.c
+3
-3
No files found.
coreapi/help/notify.c
View file @
947d39f9
...
...
@@ -161,7 +161,7 @@ int main(int argc, char *argv[]){
}
}
linphone_core_get_default_proxy
(
lc
,
&
proxy_cfg
);
/* get default proxy config*/
proxy_cfg
=
linphone_core_get_default_proxy
_config
(
lc
);
/* get default proxy config*/
linphone_proxy_config_edit
(
proxy_cfg
);
/*start editing proxy configuration*/
linphone_proxy_config_enable_register
(
proxy_cfg
,
FALSE
);
/*de-activate registration for this proxy config*/
linphone_proxy_config_done
(
proxy_cfg
);
/*initiate REGISTER with expire = 0*/
...
...
tester/call_tester.c
View file @
947d39f9
...
...
@@ -3624,12 +3624,12 @@ static void call_redirect(void){
/* pauline should have ended the call */
BC_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
pauline
->
stat
.
number_of_LinphoneCallEnd
,
1
,
1000
));
/* the call should still be ringing on marie's side */
BC_ASSERT_
TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneCallOutgoingRinging
,
1
,
1000
)
);
BC_ASSERT_
EQUAL
(
marie
->
stat
.
number_of_LinphoneCallOutgoingRinging
,
1
,
int
,
"%i"
);
linphone_core_accept_call
(
laure
->
lc
,
linphone_core_get_current_call
(
laure
->
lc
));
BC_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneCallStreamsRunning
,
1
,
1
000
));
BC_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
laure
->
stat
.
number_of_LinphoneCallStreamsRunning
,
1
,
1
000
));
BC_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneCallStreamsRunning
,
1
,
5
000
));
BC_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
laure
->
stat
.
number_of_LinphoneCallStreamsRunning
,
1
,
5
000
));
BC_ASSERT_PTR_EQUAL
(
marie_call
,
linphone_core_get_current_call
(
marie
->
lc
));
...
...
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