[OpenSIPS-Devel] [OpenSIPS/opensips] 3261d2: b2b_entities/logic: properly reply to canceled/exp...
Vlad Pătrașcu
noreply at github.com
Wed Jul 21 11:16:33 EST 2021
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 3261d2cb59f4477495cb770af6e3489ce186bc6b
https://github.com/OpenSIPS/opensips/commit/3261d2cb59f4477495cb770af6e3489ce186bc6b
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2021-07-21 (Wed, 21 Jul 2021)
Changed paths:
M modules/b2b_entities/b2be_load.h
M modules/b2b_entities/dlg.c
M modules/b2b_logic/b2b_logic.c
M modules/b2b_logic/b2b_logic.h
M modules/b2b_logic/logic.c
M modules/b2b_logic/records.h
M modules/media_exchange/media_exchange.c
M modules/siprec/siprec_logic.c
Log Message:
-----------
b2b_entities/logic: properly reply to canceled/expired entities
Generate a 487 reply from opensips to the server entity if:
* no final reply from the client entity received and the tuple
expires after a CANCEL request has been received;
* a 200 OK has be received after a previous CANCEL request.
Also, reply with 408 to the server entity if the tuple expires and no
final reply from the client entity has been received.
Credits to David Escartin from Sonoc for reporting and testing the
fixes.
Commit: 9c9ab8f948be65dc6a99024f901e748d629f8e56
https://github.com/OpenSIPS/opensips/commit/9c9ab8f948be65dc6a99024f901e748d629f8e56
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2021-07-21 (Wed, 21 Jul 2021)
Changed paths:
M modules/b2b_entities/b2be_load.h
M modules/b2b_entities/dlg.c
M modules/b2b_logic/logic.c
Log Message:
-----------
b2b_entities/logic: fix a race condition with simultaneous reINVITEs
Fix behavior when receiving reINVITES from the connected entities at the
same time, one replied with 491 and the other with 200OK. The 200 OK
would not be passed to the other entity and the tuple would never be
deleted in this case.
Thanks to David Escartin from Sonoc for reporting and testing the fix.
Commit: b59a436cb12854105f379512f32758987b911f47
https://github.com/OpenSIPS/opensips/commit/b59a436cb12854105f379512f32758987b911f47
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2021-07-21 (Wed, 21 Jul 2021)
Changed paths:
M modules/b2b_logic/b2b_logic.h
M modules/b2b_logic/logic.c
Log Message:
-----------
b2b_logic: fix crash when receiving an INFO or unsupported method
Thanks to David Escartin from Sonoc for reporting.
Compare: https://github.com/OpenSIPS/opensips/compare/be6ce6a59825...b59a436cb128
More information about the Devel
mailing list