[OpenSIPS-Devel] [OpenSIPS/opensips] 836193: cgrates: fix timeout precision loss when MaxUsage ...

Răzvan Crainea noreply at github.com
Thu Mar 25 15:28:41 EST 2021


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 836193e8a38ac5ba5fef24c3a0bcbd376fd20a45
      https://github.com/OpenSIPS/opensips/commit/836193e8a38ac5ba5fef24c3a0bcbd376fd20a45
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

  Log Message:
  -----------
  cgrates: fix timeout precision loss when MaxUsage is in ns

Converting the MaxUsage from nanoseconds to int was causing an overflow,
setting the dialog timeout to 0, thus terminating the call immedately
after the 200 OK was received.

Reported by Adolphe Cher-Aime (@acheraime)

(cherry picked from commit 3f964878b0f9585934c769bfe3f3c184a186cde7)





More information about the Devel mailing list