Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 66493ce7ecb8be5eb29c0d365a29eb31101158bf
      
https://github.com/OpenSIPS/opensips/commit/66493ce7ecb8be5eb29c0d365a29eb31101158bf
  Author: Razvan Crainea <raz...@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



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to