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
ae4b03f1
Commit
ae4b03f1
authored
Jul 16, 2012
by
Guillaume Beraudo
Browse files
Increase incoming timeout to 30s.
parent
57d9f33e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
coreapi/linphonecore.c
coreapi/linphonecore.c
+2
-1
No files found.
coreapi/linphonecore.c
View file @
ae4b03f1
...
...
@@ -570,7 +570,7 @@ static void sip_config_read(LinphoneCore *lc)
linphone_core_set_guess_hostname
(
lc
,
tmp
);
tmp
=
lp_config_get_int
(
lc
->
config
,
"sip"
,
"inc_timeout"
,
15
);
tmp
=
lp_config_get_int
(
lc
->
config
,
"sip"
,
"inc_timeout"
,
30
);
linphone_core_set_inc_timeout
(
lc
,
tmp
);
/* get proxies config */
...
...
@@ -1855,6 +1855,7 @@ void linphone_core_iterate(LinphoneCore *lc){
elapsed
=
curtime
-
call
->
start_time
;
ms_message
(
"incoming call ringing for %i seconds"
,
elapsed
);
if
(
elapsed
>
lc
->
sip_conf
.
inc_timeout
){
ms_message
(
"incoming call timeout (%i)"
,
lc
->
sip_conf
.
inc_timeout
);
call
->
log
->
status
=
LinphoneCallMissed
;
call
->
reason
=
LinphoneReasonNotAnswered
;
linphone_core_terminate_call
(
lc
,
call
);
...
...
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