02-27-2017 03:00 PM - edited 03-14-2019 05:05 PM
I'm doing a UCCX scripting project and I'm trying to find a way to create a loop counter that can increment between a main script, and subscripts. So I have main script that calls out 8 subscripts. I'd like a new call to have a loop counter of 0, then the caller chooses an option in a menu which sends them to a sub-script. In that menu, they can press 9 to go back to the main menu. However, I'd like to increment the counter either before or when they go back to the main menu/script. If the main script sees a counter of 3, then it takes them to voicemail. I am learning about SESSIONS, but I'm not sure if I can change a session variable inside a submenu.
I hope I made that question clear. Thank you!
02-28-2017 01:27 PM
02-28-2017 07:49 PM
What's the thought behind this? What are you trying to accomplish with this setup?
Tanner Ezell
ContactView - Visually Create AEFs for Cisco's UCCX
02-28-2017 07:57 PM
I'm trying to prevent a malicious caller from tying up my phone lines indefinitely. I figured that a loop counter that survived between scripts would be a good method. The goal is to let someone who entered the wrong menu hit 9 to take them back to the main menu. Thanks!
02-28-2017 08:00 PM
Curious, is this a problem you are having currently? If so, how are you determining that this is what's happening?
ContactView - Visually Create AEFs for Cisco's UCCX
02-28-2017 08:27 PM
I'm trying to be sure I don't go down a rabbit hole and get lost. I want to be sure that sessions are the way to go for my need or if there's something better.
02-28-2017 08:29 PM
If you have some time tomorrow I'd be happy to run through it with you if you'd like.
Let me know.
Regards,
Tanner Ezell
ContactView - Visually Create AEFs for Cisco's UCCX
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