[OpenSIPS-Devel] [OpenSIPS/opensips] 999fc7: b2b_logic: do not abort bridging if re-INVITE is r...
Răzvan Crainea
noreply at github.com
Fri Sep 15 14:33:53 UTC 2023
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 999fc7252e620419d9fc610cee3cb304867dfe72
https://github.com/OpenSIPS/opensips/commit/999fc7252e620419d9fc610cee3cb304867dfe72
Author: Razvan Crainea <razvan at opensips.org>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M modules/b2b_logic/b2b_logic.c
M modules/b2b_logic/b2b_logic.h
M modules/b2b_logic/bridging.c
M modules/b2b_logic/bridging.h
M modules/b2b_logic/logic.c
Log Message:
-----------
b2b_logic: do not abort bridging if re-INVITE is rejected with 491
If the SDP negociation gets rejected with 491, we should not abort
negociation, since most likely it is an indication that the remote UAS
is trying to lock its codecs, hence do the same thing we are trying to
do, but in the other direction.
If however, the other participant does not send itself a re-INVITE, we
arm a timer to re-try the bridging according to the RFC 3261, section
14.1:
If a UAC receives a 491 response to a re-INVITE, it SHOULD start a
timer with a value T chosen as follows:
1. If the UAC is the owner of the Call-ID of the dialog ID
(meaning it generated the value), T has a randomly chosen value
between 2.1 and 4 seconds in units of 10 ms.
Fix #3137
(cherry picked from commit 66493ce7ecb8be5eb29c0d365a29eb31101158bf)
More information about the Devel
mailing list