mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 06:38:45 +05:00
changed TOR in mediator
This commit is contained in:
@@ -115,7 +115,7 @@ func (self *Mediator) RateCdr(dbcdr utils.RawCDR) error {
|
||||
return err
|
||||
}
|
||||
cdrs := []*utils.StoredCdr{rtCdr} // Start with initial dbcdr, will add here all to be mediated
|
||||
attrsDC := utils.AttrDerivedChargers{Tenant: rtCdr.Tenant, Tor: rtCdr.TOR, Direction: rtCdr.Direction,
|
||||
attrsDC := utils.AttrDerivedChargers{Tenant: rtCdr.Tenant, Tor: rtCdr.Category, Direction: rtCdr.Direction,
|
||||
Account: rtCdr.Account, Subject: rtCdr.Subject}
|
||||
var dcs utils.DerivedChargers
|
||||
if err := self.connector.GetDerivedChargers(attrsDC, &dcs); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user