*data is starting to be added and not deducted randomly

43 views
Skip to first unread message

mzo...@gmail.com

unread,
Jul 13, 2021, 8:15:51 AM7/13/21
to CGRateS
Hello

we have strange issue which it is really hard to debug as we do not know why it happens and what to look for. In logs there are no errros.

So lets say, when there is new month, *data is deducting as it should be after few days cgrates it starting to add *data to balance, not decucte it.


Was this issue noticed with some version of CgrateS?

thank you
miha

Alexandru Tripon

unread,
Jul 19, 2021, 5:54:37 AM7/19/21
to cgr...@googlegroups.com
Hi Miha,

Is this related to the last issue: https://github.com/cgrates/cgrates/issues/2450 you described?
On what version is happening(`cgr-engine -version`)?
Also please post two consecutive CDRs of the same Account( one with correct debit and one where the balance is incremented).

Thanks,
Trial97

mzo...@gmail.com

unread,
Jul 19, 2021, 9:44:38 AM7/19/21
to CGRateS
Hello 

Yes, it was ok but now again it started to happen. We did upgrade to newer version. 

cgr-engine -version
CGR...@v0.11.0~dev-20201006105214-5c558545bda5


Value":43854.65422

{"CGRID":"27ac6f9d82739b23eccea341e693e4d655717585","RunID":"*default","StartTime":"2021-07-11T09:55:19+02:00","Usage":8193,"Cost":0,"Charges":[{"RatingID":"0a0c48a","Increments":[{"Usage":1,"Cost":0,"AccountingID":"14886ea","CompressFactor":8193}],"CompressFactor":1}],"AccountSummary":{"Tenant":"test-mobil","ID":"xxxxxx","BalanceSummaries":[{"UUID":"3637b4f4-85d9-4b31-b55d-3c8335222f21","ID":"PREMIUM-DATA","Type":"*data","Value":43854.65422,"Disabled":false},{"UUID":"62df29b0-c850-4a9d-a169-5e38568d9be9","ID":"*default","Type":"*monetary","Value":0,"Disabled":false}],"AllowNegative":false,"Disabled":false},"Rating":{"0a0c48a":{"ConnectFee":0,"RoundingMethod":"","RoundingDecimals":0,"MaxCost":0,"MaxCostStrategy":"","TimingID":"","RatesID":"3c0a626","RatingFiltersID":"db6d2fe"}},"Accounting":{"14886ea":{"AccountID":"test-mobil: xxxxxx  ","BalanceUUID":"3637b4f4-85d9-4b31-b55d-3c8335222f21","RatingID":"","Units":0.00098,"ExtraChargeID":"*none"}},"RatingFilters":{"db6d2fe":{"DestinationID":"DST_SLO","DestinationPrefix":"386","RatingPlanID":"*none","Subject":"3637b4f4-85d9-4b31-b55d-3c8335222f21"}},"Rates":{"3c0a626":[{"GroupIntervalStart":0,"Value":0,"RateIncrement":1,"RateUnit":1}]},"Timings":{}}

and then next one (Value":52032.59398):

{"CGRID":"8f7fcacbd0aca52c3bea8b92eb7877604088c036","RunID":"*default","StartTime":"2021-07-11T10:02:23+02:00","Usage":8194,"Cost":0,"Charges":[{"RatingID":"266319f","Increments":[{"Usage":1,"Cost":0,"AccountingID":"997656c","CompressFactor":8194}],"CompressFactor":1}],"AccountSummary":{"Tenant":"test-mobil","ID":"xxxxx","BalanceSummaries":[{"UUID":"3637b4f4-85d9-4b31-b55d-3c8335222f21","ID":"PREMIUM-DATA","Type":"*data","Value":52032.59398,"Disabled":false},{"UUID":"62df29b0-c850-4a9d-a169-5e38568d9be9","ID":"*default","Type":"*monetary","Value":0,"Disabled":false}],"AllowNegative":false,"Disabled":false},"Rating":{"266319f":{"ConnectFee":0,"RoundingMethod":"","RoundingDecimals":0,"MaxCost":0,"MaxCostStrategy":"","TimingID":"","RatesID":"4ade5de","RatingFiltersID":"9019f74"}},"Accounting":{"997656c":{"AccountID":"softnet-mobil: xxxxx  ","BalanceUUID":"3637b4f4-85d9-4b31-b55d-3c8335222f21","RatingID":"","Units":0.00098,"ExtraChargeID":"*none"}},"RatingFilters":{"9019f74":{"DestinationID":"DST_SLO","DestinationPrefix":"386","RatingPlanID":"*none","Subject":"3637b4f4-85d9-4b31-b55d-3c8335222f21"}},"Rates":{"4ade5de":[{"GroupIntervalStart":0,"Value":0,"RateIncrement":1,"RateUnit":1}]},"Timings":{}}






ponedeljek, 19. julij 2021 ob 11:54:37 UTC+2 je oseba alexandr...@itsyscom.com napisala:

Alexandru Tripon

unread,
Jul 19, 2021, 10:09:55 AM7/19/21
to cgr...@googlegroups.com
Hi Miha,

Can you please test this on the latest master?
As this may be fixed already, please update to the latest master and retest.

Thanks,
Trial97

--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/9a061831-a0c8-44ae-9d83-21334676ffaan%40googlegroups.com.

mzo...@gmail.com

unread,
Jul 21, 2021, 7:12:58 AM7/21/21
to CGRateS
Alexander

can you help me out with this as we have this in production and on test env is basically impossible to test test. how to upgrade cgrates in the easiest way? it was dowloaded from git


thank you
miha

ponedeljek, 19. julij 2021 ob 16:09:55 UTC+2 je oseba alexandr...@itsyscom.com napisala:

Alexandru Tripon

unread,
Jul 22, 2021, 4:03:40 AM7/22/21
to cgr...@googlegroups.com
Hi Miha,

Since we are not responsible for your platform we can not help you with how you update your infrastructure.

Thanks,
Trial97
Reply all
Reply to author
Forward
0 new messages