02-12-2013 09:30 AM - edited 03-14-2019 11:14 AM
I have been tasked to add an "emergency announcement turn on/off" section to an existing script for a call center. I have all items working, except the function of setting a variable (related to a specific emergency announcement - there are 9 such possibilites/announcements for the users to pick from) and having it keep it's value for all follow on calls through the system. Can anyone shed some light on how to accomplish this?
Much thanks
Mark Gerheauser
02-12-2013 09:36 AM
Hi Mark
The typical way to set a variable is to put it in an XML file. Search the forums for that and you should find some examples of how to use the XML transform and Upload Document steps to achieve it.
If it's just an announcement you want to insert, I would do it like this:
1) Have your 'main' script or scripts reference a known prompt name, such as emergency.wav
2) Have a library of your 9 pre-recorded annoucements on the system already.
3) Give your customer a new script that allows them to pick one of those 9 prompts, and based on their choice the script would upload the selected recording as 'emergency.wav' so that it overwrites the exsiting one.
4) Now when that prompt is overwritten, users will hear the new emergency prompt.
You can then enhance that with stuff like an ad-hoc message recording facility, or the ability to clear that emergency message completely. etc.
Aaron
02-12-2013 09:45 AM
I like your design approach. I am a bit of a novice with all this, so hopefully just one follow up quesion. How do I get the "selected" prompt to become the emergency.wav prompt?
02-12-2013 09:58 AM
Well... basically it'll go like this:
Menu - options 1-9, each option would set a Prompt variable ('selectedPrompt' for argument's sake) to 'prompt1.wav' or prompt2.wav etc.
Then you would need to use a sequence of Get User/Authenticate User/Upload Prompt steps all referring to the same User variable to auth a user to the system and use that user to upload the prompt to the repository as emergency.wav
Aaron
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