[OpenSIPS-Devel] [OpenSIPS/opensips] 0ccf25: cgrates: don't divide MaxUsage for postpaid

Razvan Crainea razvan at opensips.org
Thu Apr 26 06:13:37 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0ccf25a49f4ee0e1a2d204f2eafe9f4607316c9c
      https://github.com/OpenSIPS/opensips/commit/0ccf25a49f4ee0e1a2d204f2eafe9f4607316c9c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-04-26 (Thu, 26 Apr 2018)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

  Log Message:
  -----------
  cgrates: don't divide MaxUsage for postpaid

Do not divde MaxUsage 0 and -1 values with 10000000 when postpaid is
used, otherwise we will get invalid values and the session is
immediately closed.

Thanks to TeoV (Teofil Voivozeanu) and DanB (Dan Bogos) for reporting
and testing

(cherry picked from commit ba938dc6e387d7e1c686b22900ce4a080b8e0a08)




More information about the Devel mailing list