mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated all Destinations caching to datamanager
This commit is contained in:
committed by
Dan Christian Bogos
parent
114e8e9504
commit
e56d86de98
@@ -178,7 +178,7 @@ func (rpf *RatingProfile) GetRatingPlansForPrefix(cd *CallDescriptor) (err error
|
||||
}
|
||||
} else {
|
||||
for _, p := range utils.SplitPrefix(cd.Destination, MIN_PREFIX_MATCH) {
|
||||
if destIDs, err := dm.GetReverseDestination(p, false, utils.NonTransactional); err == nil {
|
||||
if destIDs, err := dm.GetReverseDestination(p, true, true, utils.NonTransactional); err == nil {
|
||||
var bestWeight *float64
|
||||
for _, dID := range destIDs {
|
||||
var timeChecker bool
|
||||
|
||||
Reference in New Issue
Block a user