" /> Statserver filters - Genesys CTI User Forum

Author Topic: Statserver filters  (Read 1219 times)

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Statserver filters
« on: March 18, 2022, 12:18:44 AM »
Advertisement
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,

Marked as best answer by PFCCWA on March 21, 2022, 10:30:30 PM

Offline catanirex

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 11
Re: Statserver filters
« Reply #1 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","*")

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Statserver filters
« Reply #2 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.