Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblinphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
liblinphone
Commits
9d7a9430
Commit
9d7a9430
authored
Mar 06, 2018
by
Mickaël Turnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add reconnect_to_primary_asap parameter to linphonerc and pass it to belle_sip_stack
parent
2f1be97c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
linphonecore.c
coreapi/linphonecore.c
+3
-0
sal.h
src/sal/sal.h
+1
-0
No files found.
coreapi/linphonecore.c
View file @
9d7a9430
...
...
@@ -1395,6 +1395,9 @@ static void sip_config_read(LinphoneCore *lc) {
/*this is to filter out unsupported encryption schemes*/
linphone_core_set_media_encryption
(
lc
,
linphone_core_get_media_encryption
(
lc
));
/*enable the reconnection to the primary server when it is up again asap*/
lc
->
sal
->
enable_reconnect_to_primary_asap
(
!!
lp_config_get_int
(
lc
->
config
,
"sip"
,
"reconnect_to_primary_asap"
,
0
));
/*for tuning or test*/
lc
->
sip_conf
.
sdp_200_ack
=
!!
lp_config_get_int
(
lc
->
config
,
"sip"
,
"sdp_200_ack"
,
0
);
lc
->
sip_conf
.
register_only_when_network_is_up
=
...
...
src/sal/sal.h
View file @
9d7a9430
...
...
@@ -171,6 +171,7 @@ public:
void
enable_test_features
(
bool_t
enabled
)
{
this
->
_enable_test_features
=
enabled
;}
void
use_no_initial_route
(
bool_t
enabled
)
{
this
->
no_initial_route
=
enabled
;}
void
enable_unconditional_answer
(
int
value
)
{
belle_sip_provider_enable_unconditional_answer
(
this
->
prov
,
value
);}
void
enable_reconnect_to_primary_asap
(
bool_t
enabled
)
{
belle_sip_stack_enable_reconnect_to_primary_asap
(
this
->
stack
,
enabled
);}
bctbx_list_t
*
get_pending_auths
()
const
{
return
bctbx_list_copy
(
this
->
pending_auths
);}
...
...
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