[OpenSIPS-Devel] [OpenSIPS/opensips] 4de896: Fix handling of negative replies in EBR scenarios.

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Apr 25 04:21:59 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4de8967fc620732610b7af4b9796073ae46314b3
      https://github.com/OpenSIPS/opensips/commit/4de8967fc620732610b7af4b9796073ae46314b3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M modules/tm/h_table.h
    M modules/tm/t_cancel.h
    M modules/tm/t_fwd.c
    M modules/tm/t_reply.c

  Log Message:
  -----------
  Fix handling of negative replies in EBR scenarios.

If t_wait_for_new_branches():
* stop any waiting when cancel is received from UAC
* keep doing waiting even if a negative reply was received on the real branches; maybe more branches are to be injected.

The bugs fixed:
* if there was at least one callee when routing the call, if the call was rejected by caller, the transaction terminates without waiting for any more branches
* if there was no callee when routing the call, but added later via injection, the transaction did not terminate on spot upon cancel from caller, but waiting for timeout.
Closes #1237
Closes #1128

(cherry picked from commit b1fdb899bfec18fd53ef771f287b29880520a11c)




More information about the Devel mailing list