This is what I got when I want to repeat an audio for n number of times. In my requirement, I need to prompt a menu which took dtmf as input, if user enter 9 as dtmf , I need to prompt an audio n number of times. The number of iterations can get from configuration of Voice element. I attached my code with this post, can any one guide where I went wrong.
this how my code look likes, I used for loop to repeat a menu for n number of times.