cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1485
Views
5
Helpful
5
Replies

scripting with UCCX

GWaldbin
Level 1
Level 1

Hello everyone,

I am new to scripting and I have a question to ask---

currently, I have a MAIN script which does the following-checks for the holiday (using XML doc)  TOD, Select the resource, redirect calls to a CSQ and if no agents found, script will send the call to VM. I am working on another script which will allow a manager to call in and put in a Emergency messages. Of course, he will be recording it first. After the outage, he would be taking the message off.

My question is-How can I have these 2 scripts work together? Do I need to use Sub Flows? What would be the best way of achieving this? Thanks a lot

 

1 Accepted Solution

Accepted Solutions

There are couple different ways you can handle it:

1. have a place holder in the routing script to play prompt 1000 for example and if it is recorded it will, otherwise it will skip. This would require that the prompt be deleted after it is no longer needed

2. create an XML file with a prompt status, and in the recording prompt after you record the prompt either set it automatically or prompt user to trigger it on. Then in the routing script check the value of the trigger in the XML file and if set play the prompt, otherwise move on with the script logic.

View solution in original post

5 Replies 5

Chris Deren
Hall of Fame
Hall of Fame

You need to create a script that allows you to record a prompt and upload to prompt repository, I believe there are examples on Cisco script repository portal.

Then in your routing script you add "Play prompt" step that plays the prompt to be recorded, if it's blank it won't play anything, if it's recorded it will play it.  

Hi Chris,

just got my Prompt Recording working. So, user calls in and records a prompt (emergency prompt or whatever) and it gets uploaded to Prompt management. In my main routing script, I have added a Play Prompt step as well. How can I configure 'plays the prompt to be recorded' as you mentioned above!!! Any help would be great. Thanks

There are couple different ways you can handle it:

1. have a place holder in the routing script to play prompt 1000 for example and if it is recorded it will, otherwise it will skip. This would require that the prompt be deleted after it is no longer needed

2. create an XML file with a prompt status, and in the recording prompt after you record the prompt either set it automatically or prompt user to trigger it on. Then in the routing script check the value of the trigger in the XML file and if set play the prompt, otherwise move on with the script logic.

Thanks I will try out your suggestion

jbach2003
Level 1
Level 1

I had that issue as well. I created a separate "emergency closure" script, and integrated the "closed/not-closed" variables as a switch in what you are calling the MAIN script. In other words, if emergency status is enabled, it plays the supervisor's recording (that is recorded in the emergency script) and sends the caller to VM. If emergency status is disabled, the script functions normally.