Strange negative cost in charges object

已查看 19 次
跳至第一个未读帖子

ryan embgrets

未读,
2021年5月28日 17:43:122021/5/28
收件人 cgr...@googlegroups.com
Greetings, 

Sometimes I see strange negative changes in cdrs as you can see in the bold section below. 
```
"charges": [
  {
    "ratingid": "e764cd9",
    "increments": [
      {
        "usage": NumberLong("12000000000"),
        "cost": 0.00043,
        "accountingid": "f4a9401",
        "compressfactor": NumberInt("1")
      },
      {
        "usage": NumberLong("0"),
        "cost": -7e-05,
        "accountingid": "2a1ca82",
        "compressfactor": NumberInt("1")
      }
    ],
    "compressfactor": NumberInt("1")
  }
]
```

Could someone please tell me why I see this?

Thanks in advance. 

Ryan



Alexandru Tripon

未读,
2021年5月31日 05:34:422021/5/31
收件人 cgr...@googlegroups.com
Hi Ryan,

Please open an issue on GitHub regarding this and we will discuss this there.
Please post there the version you are using and the full CDR that has this cost.
If the CDR contains sensitive information you can send it to me(alexandr...@itsyscom.com) in private.

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/CAJ_X8k4x1-24LKnMerXWu7rzFc13tfe%2BbqyRuaedyW0-WVnhBQ%40mail.gmail.com.

ryan embgrets

未读,
2021年5月31日 09:17:052021/5/31
收件人 cgr...@googlegroups.com
Thanks, I have created the issue on github. Below is the link for the reference. 

回复全部
回复作者
转发
0 个新帖子