04-18-2012 12:15 AM - edited 03-14-2019 09:43 AM
Hi,
I want to write a script ,
For instance if contact info starts with '053' I want to redirect a specified group of agent ,
if starts with '021' redirect another group of agent .
I could get contact info but I couldn't get contact info if starts a specified number .
Thanks in advance
Solved! Go to Solution.
04-18-2012 07:01 AM
Hi,
create a String type variable, named ani for instance, then use the Get Call Contact Info step, where you map the "Calling Number" attribute to the ani variable.
Then just use an If node like if ani.startsWith("022") etc
G.
04-18-2012 05:47 AM
You'll need premium licensing but you can do:
Switch CallerANI.subString(0,2)
Case "052": Set CSQ == "someCSQ1"
Case "053": Set CSQ == "someCSQ2"
// ...
Select Resource (CSQ)
HTH
Tanner Ezell
My new book is now available! Get it here: http://amzn.to/GH4NdI
04-18-2012 12:39 PM
FEI (for everyone's information) - You don't need Premium licensing to use Java methods. enhanced and premium will both work fine.
04-18-2012 07:01 AM
Hi,
create a String type variable, named ani for instance, then use the Get Call Contact Info step, where you map the "Calling Number" attribute to the ani variable.
Then just use an If node like if ani.startsWith("022") etc
G.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide