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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3f964878b0f9585934c769bfe3f3c184a186cde7
      https://github.com/OpenSIPS/opensips/commit/3f964878b0f9585934c769bfe3f3c184a186cde7
  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)





More information about the Devel mailing list