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

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


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




More information about the Devel mailing list