02-17-2015 10:02 AM - edited 03-14-2019 02:26 PM
I have a Menu in a script with a Zero option to go to our operator. Internal people are abusing this option so I want to route them differently with they press Zero.
I figure I can put an IF statement before the call redirect to look to see if the caller id is 4 digits but not sure how or if I can do that.
Any help is appreciated.
I'm using UCCX 7.1
Solved! Go to Solution.
02-17-2015 02:44 PM
It looks like you have an extra close parentheses.
The value of the If statement should be "Callerid.length()==4" without the quotes. The appearance of the extra parentheses in the screenshot is a function of how UCCX script editor displays the information.
DJ
02-17-2015 01:47 PM
Hi Glenn-
1) Collect the calling number with the Get Call Contact Info step.
2) Add an If Statement that looks at the length of the calling number and if it is four change the number you're redirecting to.
See the attached screen shot.
It should be noted that this could affect people that are not only internal IF their calling number is being sent incorrectly.
DJ
02-17-2015 02:36 PM
02-17-2015 02:44 PM
02-17-2015 02:53 PM
Thank you very much DJ. I appreciate it.
02-17-2015 02:55 PM
You're welcome.
DJ
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