Hi Eugen,
CGRateS is flexible, and there are different ways to combine filters and attributes depending on each scenario.
Based on your provided configuration, if I’ve understood correctly, you want to apply the ATTR_NUMBER attribute to both charger profiles (when the destination matches), and ATTR_OUTGOING only to the charger profile with RunID OutgoingCalls.
You can combine both attributes into a single profile and add the *chargers context, as shown below:
# Tenant,ID,Contexts,FilterIDs,ActivationInterval,AttributeFilterIDs,Path,Type,Value,Blocker,Weight
cgrates.org,ATTR_COMBINED,*chargers;*cdrs;*sessions,,,,,,,false,10
cgrates.org,ATTR_COMBINED,,,,FLTR_NUMBER,*req.Subject,*constant,SNUM_31805555249,,
cgrates.org,ATTR_COMBINED,,,,FLTR_OUTGOING_CALL,*req.Category,*constant,OutgoingCall,,
Also, in Chargers.csv, update AttributeIDs as here:
#Tenant,ID,FilterIDs,ActivationInterval,RunID,AttributeIDs,Weight
cgrates.org,CRG_DEFAULT,,,*default,,0
cgrates.org,CRG_3849_FROM_SKP,FLTR_PREFIX_SKP;FLTR_SUBJECT_NOT_INTERCONNECT;FLTR_NUMBER,,OutgoingCalls,ATTR_COMBINED,1
Hope this helps.
Thanks,
Armir