mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
more CallDuration changes
This commit is contained in:
@@ -125,7 +125,7 @@ func (cd *CallDescriptor) ValidateCallData() error {
|
||||
return errors.New("TimeStart must be strctly before TimeEnd")
|
||||
}
|
||||
if cd.TimeEnd.Sub(cd.TimeStart) < cd.DurationIndex {
|
||||
return errors.New("CallDuration must be equal or grater than TimeEnd - TimeStart")
|
||||
return errors.New("DurationIndex must be equal or grater than TimeEnd - TimeStart")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user