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
d7e761b0
Commit
d7e761b0
authored
Jan 06, 2016
by
François Grisez
Browse files
Send REFER with BYE in dialog
parent
a49cd756
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/conference.cc
View file @
d7e761b0
...
...
@@ -607,22 +607,14 @@ int RemoteConference::addParticipant(LinphoneCall *call) {
}
int
RemoteConference
::
removeParticipant
(
const
LinphoneAddress
*
uri
)
{
SalOp
*
op
;
const
char
*
from
;
char
*
tmp
,
*
refer_to
;
int
res
;
switch
(
m_state
)
{
case
ConnectedToFocus
:
op
=
sal_op_new
(
m_core
->
sal
);
from
=
sal_op_get_from
(
m_focusCall
->
op
);
sal_op_set_from
(
op
,
from
);
sal_op_set_to
(
op
,
m_focusContact
);
tmp
=
linphone_address_as_string_uri_only
(
uri
);
refer_to
=
ms_strdup_printf
(
"%s;method=BYE"
,
tmp
);
res
=
sal_call_refer
(
op
,
refer_to
);
res
=
sal_call_refer
(
m_focusCall
->
op
,
refer_to
);
ms_free
(
tmp
);
ms_free
(
refer_to
);
...
...
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