# IVR script

**URL:** <https://community.asterisk.org/t/ivr-script/32519>\
**Category:** Asterisk Support\
**Created:** [September 10, 2010, 4:37am UTC](https://community.asterisk.org/t/ivr-script/32519 "2010-09-10T04:37:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [September 10, 2010, 4:37am UTC](https://community.asterisk.org/t/ivr-script/32519/1 "2010-09-10T04:37:07Z")

</div>

Hi this is my 1st post in this forum and basically new to asterisk. we are using asterisk 1.6 can someone help me with my IVR? well basically all i want is to have a last option to press that will repeat all the options. below is the sample of my script.

;English IVR  
exten =\> \_890,1,NoOp(${TIMESTAMP} ivr begins)  
exten =\> \_890,n,Set(TIMEOUT(digit)=4)  
exten =\> \_890,n,Set(TIMEOUT(response)=8)  
exten =\> \_890,n(enterext),Read(okiks,Opening\_English,1)  
exten =\> \_890,n,GotoIf($["${okiks}" = “1”]?english)  
exten =\> \_890,n,GotoIf($["${okiks}" = “2”]?chinese)  
exten =\> \_890,n,GotoIf($["${okiks}" = “3”]?thai)  
exten =\> \_890,n,GotoIf($["${okiks}" = “4”]?repeat\_option)  
exten =\> \_890,n,Goto(enterext)  
exten =\> \_890,n,Wait(3)  
exten =\> \_890,n,Hangup

if a caller press 4(repeat option) i want it to repeat from the top. if no option have been made it will go to hangup.

thanks.
