Hi there,
I'm trying to match multiple filters under a single attribute in order to match 1 or more destination gateways (by destination domain extra field) to find the identify of a supplier.
# cgr-console 'attributes Tenant="cgrates" ID="ATTR_CARRIER_GOOGLE"'
{
"Tenant": "cgrates",
"ID": "ATTR_CARRIER_GOOGLE",
"Contexts": [
"*chargers"
],
"FilterIDs": [
"*string:~*req.DST_Domain:8.8.8.8",
"*string:~*req.DST_Domain:8.8.4.4"
],
"ActivationInterval": null,
"Attributes": [
{
"FilterIDs": [],
"Path": "*req.Subject",
"Type": "*constant",
"Value": [
{
"Rules": "Google",
"AllFiltersMatch": true
}
]
},
{
"FilterIDs": [],
"Path": "*req.Subject",
"Type": "*constant",
"Value": [
{
"Rules": "Google",
"AllFiltersMatch": true
}
]
}
],
"Blocker": false,
"Weight": 10
}
It works fine with a single filter, but getting "NOT_FOUND" from ChargerS if >=2 rules.
I assume it has something to do with "AllFiltersMatch": true, but I can't find where this parameter is defined in AttributeS.
CGR...@v0.10.0
Much obliged,
--Sergiu