" /> Custom Stat - Genesys CTI User Forum

Author Topic: Custom Stat  (Read 2657 times)

Offline Tefleon

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
Custom Stat
« on: September 11, 2008, 05:05:54 PM »
Advertisement
Hi.

Quick stat question.

I have the following filters on my stat server

Billing=PairExists("call_type","billing")
Tech=PairExists("call_type","technical")

I want to create a third filter which I can use to capture all the calls which aren't billing or technical.

Any ideas?

K

  • Guest
Re: Custom Stat
« Reply #1 on: September 11, 2008, 05:19:07 PM »
Fairly easily accomplished with Boolean logic.

I believe you would want it set up to be :
NotBillingOrTechnical = ~PairExists("call_type","billing") & ~ PairExists("call_type","technical")
or
NotBillingOrTechnical = ~(PairExists("call_type","billing") | PairExists("call_type","technical"))

For clarification:
~ = not operator
& = and operator
| = or operator

I think I have my operators [symbols] correct; refer to the documentation to see what the correct symbols are.


Offline Tefleon

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
Re: Custom Stat
« Reply #2 on: September 11, 2008, 05:28:32 PM »
Perfect!!

Thanks