Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

script/menu question

on our menu, we have it set to repeat if no option is taken. at the end of the menu, we get the system "are you still there" then the menu repeats. is there a way to stop that system message from playing?

Thank you

2 REPLIES
Super Bronze

Re: script/menu question

Hi

Sure - there's not an option for it as far as I'm aware but you can script around it.

1) Basically create an int variable. Before the menu step set it to 0. Put a label step after it called 'loop', and then an increment step to increment the in variable

2) Set the menu repeat option to 0 so it doesn't repeat or play the annoying prompt

3) in the menu timeout and unsuccesful prompts, check the value of the int you created earlier. If it's less than 3, then go to the 'loop' label. If it's 3 or greater, then don't do your required timeout or unsuccesful logic.

Basically you're disabling the 'repeat' loop option on the menu and replacing it with a manual loop.

Regards

Aaron

Please rate helpful posts...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
New Member

Re: script/menu question

Thanks Aaron

I will give it a try!

171
Views
4
Helpful
2
Replies
CreatePlease to create content