06-16-2017 04:19 PM - edited 03-14-2019 05:22 PM
We currently have the Callback option for our customers and the formula is 5 minutes waiting should give you the call back option but there is a second value that if the call will be answer in less than 2 minutes then you don't get the option for callback.
I need to have it where any call on the queue is waiting for five minutes then they should get the callback option automatically.
I am new to scripting and I am looking for some guidance.
Thank you
Solved! Go to Solution.
06-17-2017 10:56 AM
This logic is inside of something called a Script. In order to read/write scripts, you need to install the CCX Script Editor on your workstation. You can get it by logging into your UCCX server's Administration page at:
https://<your uccx server>/appadmin
Then navigate to Tools > Plugins. After you download and install it, you need to reboot your workstation.
Now that you have that installed, you need to launch it from the Start menu and sign in with the same credentials you used to log into the web Administration page.
From here, you will need to open the script in question. So, keep in mind this:
So, to find the right script to edit, you need to start by knowing the Directory Number callers use to call into the system. Then track down the Application, and lastly the Script.
Once you get the script open, it should read relatively easily, from top to bottom. Try to find the Get Reporting Statistics step, where the script is getting the Callers Expected Wait Time (EWT), and subsequently an If step which checks if the EWT is 2 minutes or less (you might see it in seconds = 120).
You could delete the logic, or you could simply increase the EWT conditional from 2 minutes to say 600 minutes (36,000 seconds), which is 10 hours, an EWT you should never see, therefore all users will be offered a callback. This way you can easily revert the feature back down to 2 minutes if needed.
Once you've made the change, do a Tools > Validate in the script Editor, and fix any errors it tells you about, otherwise, it should say "success."
Then you need to save the changes and upload the script back up to the server, overwriting the existing file and refreshing the script and app when prompted.
That should get you pretty far. I hope that helps.
06-17-2017 10:56 AM
This logic is inside of something called a Script. In order to read/write scripts, you need to install the CCX Script Editor on your workstation. You can get it by logging into your UCCX server's Administration page at:
https://<your uccx server>/appadmin
Then navigate to Tools > Plugins. After you download and install it, you need to reboot your workstation.
Now that you have that installed, you need to launch it from the Start menu and sign in with the same credentials you used to log into the web Administration page.
From here, you will need to open the script in question. So, keep in mind this:
So, to find the right script to edit, you need to start by knowing the Directory Number callers use to call into the system. Then track down the Application, and lastly the Script.
Once you get the script open, it should read relatively easily, from top to bottom. Try to find the Get Reporting Statistics step, where the script is getting the Callers Expected Wait Time (EWT), and subsequently an If step which checks if the EWT is 2 minutes or less (you might see it in seconds = 120).
You could delete the logic, or you could simply increase the EWT conditional from 2 minutes to say 600 minutes (36,000 seconds), which is 10 hours, an EWT you should never see, therefore all users will be offered a callback. This way you can easily revert the feature back down to 2 minutes if needed.
Once you've made the change, do a Tools > Validate in the script Editor, and fix any errors it tells you about, otherwise, it should say "success."
Then you need to save the changes and upload the script back up to the server, overwriting the existing file and refreshing the script and app when prompted.
That should get you pretty far. I hope that helps.
06-20-2017 02:06 PM
Hi Anthony,
Thank you for your quick respond. I am changing the EWT to a higher number stead of changing or removing the logic. I think changing the EWT should work.
Thank you
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