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
a5ffae6b
Commit
a5ffae6b
authored
Apr 05, 2017
by
Sandrine Avakian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing errors in linphone_error_info_set parameter usage induced by merge from master.
parent
9e9ec48c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
sal_op_call.c
coreapi/bellesip_sal/sal_op_call.c
+1
-0
callbacks.c
coreapi/callbacks.c
+4
-4
No files found.
coreapi/bellesip_sal/sal_op_call.c
View file @
a5ffae6b
...
...
@@ -510,6 +510,7 @@ static int is_media_description_acceptable(SalMediaDescription *md){
static
SalReason
process_sdp_for_invite
(
SalOp
*
op
,
belle_sip_request_t
*
invite
)
{
belle_sdp_session_description_t
*
sdp
;
SalReason
reason
=
SalReasonNone
;
SalErrorInfo
sei
;
if
(
extract_sdp
(
op
,
BELLE_SIP_MESSAGE
(
invite
),
&
sdp
,
&
reason
)
==
0
)
{
if
(
sdp
){
...
...
coreapi/callbacks.c
View file @
a5ffae6b
...
...
@@ -312,7 +312,7 @@ static void call_received(SalOp *h){
sal_call_decline_with_error_info
(
h
,
&
sei
,
alt_contact
);
ms_free
(
alt_contact
);
ei
=
linphone_error_info_new
();
linphone_error_info_set
(
ei
,
LinphoneReasonMovedPermanently
,
302
,
"Moved permanently"
,
NULL
);
linphone_error_info_set
(
ei
,
NULL
,
LinphoneReasonMovedPermanently
,
302
,
"Moved permanently"
,
NULL
);
linphone_core_report_early_failed_call
(
lc
,
LinphoneCallIncoming
,
from_addr
,
to_addr
,
ei
);
sal_op_release
(
h
);
return
;
...
...
@@ -327,7 +327,7 @@ static void call_received(SalOp *h){
if
(
!
linphone_core_can_we_add_call
(
lc
)){
/*busy*/
sal_call_decline
(
h
,
SalReasonBusy
,
NULL
);
ei
=
linphone_error_info_new
();
linphone_error_info_set
(
ei
,
LinphoneReasonBusy
,
486
,
"Busy - too many calls"
,
NULL
);
linphone_error_info_set
(
ei
,
NULL
,
LinphoneReasonBusy
,
486
,
"Busy - too many calls"
,
NULL
);
linphone_core_report_early_failed_call
(
lc
,
LinphoneCallIncoming
,
from_addr
,
to_addr
,
ei
);
sal_op_release
(
h
);
return
;
...
...
@@ -347,7 +347,7 @@ static void call_received(SalOp *h){
ms_warning
(
"Receiving a call while one with same address [%s] is initiated, refusing this one with busy message."
,
addr
);
sal_call_decline
(
h
,
SalReasonBusy
,
NULL
);
ei
=
linphone_error_info_new
();
linphone_error_info_set
(
ei
,
LinphoneReasonBusy
,
486
,
"Busy - duplicated call"
,
NULL
);
linphone_error_info_set
(
ei
,
NULL
,
LinphoneReasonBusy
,
486
,
"Busy - duplicated call"
,
NULL
);
linphone_core_report_early_failed_call
(
lc
,
LinphoneCallIncoming
,
from_addr
,
to_addr
,
ei
);
sal_op_release
(
h
);
linphone_address_unref
(
from_addr
);
...
...
@@ -367,7 +367,7 @@ static void call_received(SalOp *h){
if
(
md
){
if
(
sal_media_description_empty
(
md
)
||
linphone_core_incompatible_security
(
lc
,
md
)){
ei
=
linphone_error_info_new
();
linphone_error_info_set
(
ei
,
LinphoneReasonNotAcceptable
,
488
,
"Not acceptable here"
,
NULL
);
linphone_error_info_set
(
ei
,
NULL
,
LinphoneReasonNotAcceptable
,
488
,
"Not acceptable here"
,
NULL
);
linphone_core_report_early_failed_call
(
lc
,
LinphoneCallIncoming
,
linphone_address_ref
(
from_addr
),
linphone_address_ref
(
to_addr
),
ei
);
sal_call_decline
(
call
->
op
,
SalReasonNotAcceptable
,
NULL
);
linphone_call_unref
(
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