Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Tefleon on September 11, 2008, 05:05:54 PM

Title: Custom Stat
Post by: Tefleon on September 11, 2008, 05:05:54 PM
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?
Title: Re: Custom Stat
Post by: K 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.

Title: Re: Custom Stat
Post by: Tefleon on September 11, 2008, 05:28:32 PM
Perfect!!

Thanks