" /> Screening Rule - Use domain as USE THESE ADDRESSES - Genesys CTI User Forum

Author Topic: Screening Rule - Use domain as USE THESE ADDRESSES  (Read 2315 times)

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Screening Rule - Use domain as USE THESE ADDRESSES
« on: February 14, 2017, 07:34:50 PM »
Advertisement
[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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Screening Rule - Use domain as USE THESE ADDRESSES
« Reply #1 on: February 14, 2017, 10:26:45 PM »
Guess with a regular expression you can do that

Enviado de meu E6633 usando Tapatalk


Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Screening Rule - Use domain as USE THESE ADDRESSES
« Reply #2 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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Screening Rule - Use domain as USE THESE ADDRESSES
« Reply #3 on: February 16, 2017, 02:11:21 PM »
Why "from"?
« Last Edit: February 16, 2017, 02:12:57 PM by cavagnaro »

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Screening Rule - Use domain as USE THESE ADDRESSES
« Reply #4 on: February 16, 2017, 02:16:52 PM »
Oh yes .. Why from  ???

It should be "To" .. Right  ??? ;D

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Screening Rule - Use domain as USE THESE ADDRESSES
« Reply #5 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


Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Screening Rule - Use domain as USE THESE ADDRESSES
« Reply #6 on: February 16, 2017, 02:43:22 PM »
Do you mean like this RegExFind("@xyz.com") ?

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Screening Rule - Use domain as USE THESE ADDRESSES
« Reply #7 on: February 16, 2017, 02:53:23 PM »
Expression is working  :)

RegExFind("@xyz.com")

Thanks Cavagnaro .. You are Champ  8)