mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 08:08:45 +05:00
SessionS returning NO_SESSION if ChargerS are not returning any charger profile, diameter integration test for init voice calls, AttributeS properly rejecting non modified *attributes fields
This commit is contained in:
@@ -201,13 +201,14 @@ func (alS *AttributeService) processEvent(args *AttrArgsProcessEvent) (
|
||||
}
|
||||
rply.AlteredFields = append(rply.AlteredFields, fldName)
|
||||
}
|
||||
for _, valIface := range rply.CGREvent.Event {
|
||||
if valIface == interface{}(utils.MetaAttributes) {
|
||||
return nil, utils.NewCGRError(utils.AttributeSv1ProcessEvent,
|
||||
utils.AttributesNotFoundCaps,
|
||||
utils.AttributesNotFound,
|
||||
utils.AttributesNotFound)
|
||||
}
|
||||
}
|
||||
for _, valIface := range rply.CGREvent.Event {
|
||||
if valIface == interface{}(utils.MetaAttributes) {
|
||||
return nil, utils.NewCGRError(
|
||||
utils.AttributeSv1ProcessEvent,
|
||||
utils.AttributesNotFound,
|
||||
utils.AttributesNotFound,
|
||||
utils.AttributesNotFound)
|
||||
}
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user