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
56e8d7dd
Commit
56e8d7dd
authored
Jan 12, 2016
by
Sylvain Berfini
🐮
Browse files
Fixed rcs to external body tester
parent
819a1f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
tester/flexisip_tester.c
tester/flexisip_tester.c
+7
-2
No files found.
tester/flexisip_tester.c
View file @
56e8d7dd
...
...
@@ -723,7 +723,6 @@ static void call_with_ipv6(void) {
static
void
file_transfer_message_rcs_to_external_body_client
(
void
)
{
if
(
transport_supported
(
LinphoneTransportTls
))
{
LinphoneCoreManager
*
marie
=
linphone_core_manager_new
(
"marie_rc"
);
LinphoneChatRoom
*
chat_room
;
LinphoneChatMessage
*
message
;
LinphoneChatMessageCbs
*
cbs
;
...
...
@@ -732,13 +731,19 @@ static void file_transfer_message_rcs_to_external_body_client(void) {
size_t
file_size
;
char
*
send_filepath
=
bc_tester_res
(
"images/nowebcamCIF.jpg"
);
char
*
receive_filepath
=
bc_tester_file
(
"receive_file.dump"
);
LinphoneCoreManager
*
pauline
=
linphone_core_manager_new
(
"pauline_rc"
);
LinphoneCoreManager
*
marie
=
linphone_core_manager_new2
(
"marie_rc"
,
FALSE
);
LinphoneCoreManager
*
pauline
=
linphone_core_manager_new2
(
"pauline_rc"
,
FALSE
);
// This is done to prevent register to be sent before the custom header is set
linphone_core_set_network_reachable
(
marie
->
lc
,
FALSE
);
linphone_core_set_network_reachable
(
pauline
->
lc
,
FALSE
);
linphone_proxy_config_set_custom_header
(
marie
->
lc
->
default_proxy
,
"Accept"
,
"application/sdp"
);
linphone_core_manager_start
(
marie
,
TRUE
);
linphone_core_set_network_reachable
(
pauline
->
lc
,
TRUE
);
linphone_proxy_config_set_custom_header
(
pauline
->
lc
->
default_proxy
,
"Accept"
,
"application/sdp, text/plain, application/vnd.gsma.rcs-ft-http+xml"
);
linphone_core_manager_start
(
pauline
,
TRUE
);
linphone_core_set_network_reachable
(
pauline
->
lc
,
TRUE
);
reset_counters
(
&
marie
->
stat
);
reset_counters
(
&
pauline
->
stat
);
...
...
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