Asterisk : Creating a Simple IVR Menu

[demo-menu]
exten => s,1,Answer(500)
   same => n(loop),Background(press-1&or&press-2)
   same => n,WaitExten()
exten => 1,1,Playback(you-entered)
   same => n,SayNumber(1)
   same => n,Goto(s,loop)
exten => 2,1,Playback(you-entered)
   same => n,SayNumber(2)
   same => n,Goto(s,loop)
[from-pstn]
exten => 6598,1,Goto(demo-menu,s,1)

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: