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
159fd179
Commit
159fd179
authored
Dec 04, 2019
by
jehan
Browse files
fix cseq in case of PRACK
parent
149f8286
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/sal/call-op.cpp
src/sal/call-op.cpp
+2
-1
No files found.
src/sal/call-op.cpp
View file @
159fd179
...
...
@@ -442,7 +442,8 @@ void SalCallOp::processResponseCb (void *userCtx, const belle_sip_response_event
if
(
method
==
"INVITE"
)
{
if
((
code
>=
200
)
&&
(
code
<
300
))
{
op
->
handleBodyFromResponse
(
response
);
auto
ack
=
belle_sip_dialog_create_ack
(
op
->
mDialog
,
belle_sip_dialog_get_local_seq_number
(
op
->
mDialog
));
belle_sip_header_cseq_t
*
invite_cseq
=
belle_sip_message_get_header_by_type
(
request
,
belle_sip_header_cseq_t
);
auto
ack
=
belle_sip_dialog_create_ack
(
op
->
mDialog
,
belle_sip_header_cseq_get_seq_number
(
invite_cseq
));
if
(
!
ack
)
{
lError
()
<<
"This call has been already terminated"
;
return
;
...
...
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