AttributeS to reuse received CGREvent when doing multiple runs

This commit is contained in:
DanB
2018-07-20 08:59:54 +02:00
parent c62e866320
commit ddc8974328

View File

@@ -236,6 +236,9 @@ func (alS *AttributeService) V1ProcessEvent(args *AttrArgsProcessEvent,
}
return err
}
if len(evRply.AlteredFields) != 0 {
args.CGREvent = evRply.CGREvent // for next loop
}
if apiRply == nil { // first reply
apiRply = evRply
continue