09-28-2015 08:27 PM - edited 03-14-2019 03:15 PM
Hello Everyone,
I have a script which plays a emergency message right at the beginning of the script. Currently, I have blank prompt there until there is a need to put up a message. The new message replaces the blank prompt. Whenever user need to remove the urgent message, they will re record a blank prompt again. My problem is-If there is an emergency (lets assume) call center need to be CLOSE for 2 hrs, how should I handle that with this script? How can I CLOSE the call center (all the calls go to vm) in case of emergency?
Thank you
Solved! Go to Solution.
09-28-2015 11:21 PM
Hello Gerome,
My suggestion will be to
1. Create a boolean variable named emergency in the script, create the variable as a parameter so that its value can be changed from UCCX application menu.
2. In case of normal operation set the value as false, in case of emergency set it as true.
3. In the in the begining of script check the value of this variable
If(emergency)
True-->
Go to Emergency handle
False-->
Go to Normal operations
Label:Normal operations
Put your regular call flow here
Label:Emergency handle
Put your emergency call flow logic here
Hope this helps!!
Thanks,
Thilak.
09-28-2015 11:21 PM
Hello Gerome,
My suggestion will be to
1. Create a boolean variable named emergency in the script, create the variable as a parameter so that its value can be changed from UCCX application menu.
2. In case of normal operation set the value as false, in case of emergency set it as true.
3. In the in the begining of script check the value of this variable
If(emergency)
True-->
Go to Emergency handle
False-->
Go to Normal operations
Label:Normal operations
Put your regular call flow here
Label:Emergency handle
Put your emergency call flow logic here
Hope this helps!!
Thanks,
Thilak.
09-30-2015 10:14 AM
Thanks so much...I will try this solution out.
10-01-2015 11:17 AM
Hi Gerome-
To build off of Thilak boolean statement rather than using a parameter store the value in an XML document that is checked at run-time.
This will allow you to write another 'Emergency Toggler' script which can be called into from the PSTN by whoever makes the decision to declare an emergency and enable or disable the emergency logic. Setting up something like that will make the contact center a bit more self-reliant and keep you from getting a call when you're on holiday. This could also be useful if they need to shut down the contact center for other reasons, say, an all hands meeting.
Thanks,
DJ
10-01-2015 08:06 PM
appreciate your comments DJ....I am new to XML but it is certainly good language to know specially if I want to continue learning scripts. You do have better idea....any suggestions where should I begin with xml?
10-02-2015 01:35 PM
Hi Gerome-
Take a look at these links:
http://www.w3schools.com/xsl/default.asp http://www.w3schools.com/xml/xml_validator.asp
DJ
10-04-2015 08:33 AM
awesome site...thanks for the link
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