Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: raza990 on February 14, 2017, 07:34:50 PM

Title: Screening Rule - Use domain as USE THESE ADDRESSES
Post by: raza990 on February 14, 2017, 07:34:50 PM
[b]Hi Experts,[/b]

Is it possible to configure domain instead of email address in "USE THESE ADDRESSES" in screening rule ?

For example; We define domain "@xyz.com" so when ever the email comes to *@xyz.com then Genesys will select the specific category belongs to *@xyz.com screening rule.
Title: Re: Screening Rule - Use domain as USE THESE ADDRESSES
Post by: cavagnaro on February 14, 2017, 10:26:45 PM
Guess with a regular expression you can do that

Enviado de meu E6633 usando Tapatalk

Title: Re: Screening Rule - Use domain as USE THESE ADDRESSES
Post by: raza990 on February 16, 2017, 02:09:58 PM
I already tried regular expression but it didnt work  ???

RegExFind("from: (.*)@xyz\.com")

where xyz.com is the domain.

Can you please confirm if expression seems OK for you or is there any other expression you think it would work.
Title: Re: Screening Rule - Use domain as USE THESE ADDRESSES
Post by: cavagnaro on February 16, 2017, 02:11:21 PM
Why "from"?
Title: Re: Screening Rule - Use domain as USE THESE ADDRESSES
Post by: raza990 on February 16, 2017, 02:16:52 PM
Oh yes .. Why from  ???

It should be "To" .. Right  ??? ;D
Title: Re: Screening Rule - Use domain as USE THESE ADDRESSES
Post by: cavagnaro on February 16, 2017, 02:24:29 PM
Aside that, the value of the KVP is the email address only, doesn't contain the To or From word, check your URS logs. Therefore... Just apply against the email address, not the whole key and value

Enviado de meu E6633 usando Tapatalk

Title: Re: Screening Rule - Use domain as USE THESE ADDRESSES
Post by: raza990 on February 16, 2017, 02:43:22 PM
Do you mean like this RegExFind("@xyz.com") ?
Title: Re: Screening Rule - Use domain as USE THESE ADDRESSES
Post by: raza990 on February 16, 2017, 02:53:23 PM
Expression is working  :)

RegExFind("@xyz.com")

Thanks Cavagnaro .. You are Champ  8)