Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: PFCCWA on March 18, 2022, 12:18:44 AM

Title: Statserver filters
Post by: PFCCWA on March 18, 2022, 12:18:44 AM
hello,

i am trying to figure out if it is possible to create a filter to capture any value when applied to a statistic.
For example, i want to apply the statistic to a count of inbound calls, but filter out against userdata (header='status', values=credit, balance, owing and so on).
I have tried to create this filter :
name=status
value=PairExists(“status”, “*”)

would this be the correct way to do it?
thanks,
Title: Re: Statserver filters
Post by: catanirex on March 18, 2022, 07:45:12 AM
You have to also enable wildcard filters on statserver config:

[statserver]
filters-allow-wildcards-in-values=yes

[Filters]
nameOfFilter=PairExists("udataName","*")
Title: Re: Statserver filters
Post by: cavagnaro on March 18, 2022, 01:52:13 PM
[quote author=PFCCWA link=topic=12262.msg54717#msg54717 date=1647562724]
hello,

i am trying to figure out if it is possible to create a filter to capture any value when applied to a statistic.
For example, i want to apply the statistic to a count of inbound calls, but filter out against userdata (header='status', values=credit, balance, owing and so on).
I have tried to create this filter :
name=status
value=PairExists(“status”, “*”)

would this be the correct way to do it?
thanks,
[/quote]


Be careful with the quotes you are using, there are some similar to " but look like yours here, like in italic, those won't work.