Can someone point me to some reasonable example / starting point to implement a basic IVR menu? Looking for something rather simple like the press 1 for sales, 2 for tech support, and probably an option to list the voicemail directory kind of thing. Nothing elaborate needed, just basic menu. (Yes, I did look at the wiki and google searched for "ivr menu".)
Rich- Chapter 4 of the (so-called) draft handbook, details what you need to know pretty well. Here's the link: http://www.digium.com/handbook-draft.pdf Regards, Scott Scott M. Stingel Emerging Voice Technology Inc. Email: scott@evtmedia.com <mailto:scott@evtmedia.com> URL: www.evtmedia.com <http://www.evtmedia.com>> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > Rich Adamson > Sent: Saturday, December 20, 2003 2:37 PM > To: Asterisk-a-users-list > Subject: [Asterisk-Users] IVR sample config? > > > > Can someone point me to some reasonable example / starting > point to implement > a basic IVR menu? Looking for something rather simple like > the press 1 for > sales, 2 for tech support, and probably an option to list the > voicemail > directory kind of thing. Nothing elaborate needed, just basic menu. > > (Yes, I did look at the wiki and google searched for "ivr menu".) > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >
exten => _X., Goto(ivrmenu,s,1) [ivrmenu] exten => s,1,Ringing exten => s,2,DigitTimeout,30 exten => s,3,Background(something) ; press 1 for sales.... exten => t,3,Goto(business,0,1) include => business ;map yourl extens here... [business] exten => 0,1,....... exten => 1,1, ..........>From: Rich Adamson <radamson@routers.com> >Reply-To: asterisk-users@lists.digium.com >To: Asterisk-a-users-list <asterisk-users@lists.digium.com> >Subject: [Asterisk-Users] IVR sample config? >Date: Sat, 20 Dec 2003 08:37:26 -0600 > > >Can someone point me to some reasonable example / starting point to >implement >a basic IVR menu? Looking for something rather simple like the press 1 for >sales, 2 for tech support, and probably an option to list the voicemail >directory kind of thing. Nothing elaborate needed, just basic menu. > >(Yes, I did look at the wiki and google searched for "ivr menu".) > > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users_________________________________________________________________ Don’t miss out on jobs that are not advertised. http://go.msnserver.com/IN/38902.asp Post your CV on naukri.com today.
Rich, This is in response to your question about and IVR Menu. Below is the dial-plan from the * at SAI. If you dial 1-800-747-9111 and the Extension 2998, you'll be able to hear this one in action. The key to creating it is to use Extension 205 (defined below) to record your menu prompts. This will put the sound file in /tmp/asterisk-recording.gsm. You'll have to move that file each time its created to /var/lib/asterisk/sounds and rename it to something pertinent to your design so it can be called from the dial-plan. Notice the line under [mainmenu] "exten => s,5,Background(sai-welcome)". The sai-welcome is one of those .gsm sound files. The rest of the dial-plan just defines what happens when each option is pushed. Hope this helps. Joe ****************** extensions.conf *************** [mainmenu] exten => s,1,Answer exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,10 exten => s,5,Background(sai-welcome) exten => s,6,Background(sai-choose) ; Tech Support exten => 1,1,AGI(dima-test.agi) exten => 1,2,SetGlobalVar(ACCOUNTCODE=${callerid}) exten => 1,3,SetVar(testcallerid=${callerid}) exten => 1,4,Background(sai-reptech-welcome) exten => 1,5,Queue(rep-tech) ; Leave Voicemail exten => 2,1,VoicemailMain() exten => 2,2,Hangup ; Echo Test exten => 3,1,Playback(demo-echotest) exten => 3,2,Echo exten => 3,3,Playback(demo-echodone) exten => 3,4,Goto(mainmenu,s,6) ; EAGI Test exten => 4,1,Answer() exten => 4,2,Wait(1) exten => 4,3,AGI(sai-repid.agi) exten => 4,4,Wait(1) exten => 4,5,Hangup ; Play Music-on-Hold exten => 5,1,MusicOnHold(default) exten => 5,2,Goto(mainmenu,s,6) exten => #,1,Playback(sai-thanks) exten => #,2,Hangup exten => t,1,Goto(#,1) ; If they take too long, give up exten => i,1,Playback(invalid) ; "That's not valid, try again" [default] include => mainmenu include => local include => longdistance include => joe-iax include => npi-iax exten => 205,1,Wait(2) ; Call 205 to Record new Sound Files exten => 205,2,Record(/tmp/asterisk-recording:gsm) exten => 205,3,Wait(2) exten => 205,4,Playback(/tmp/asterisk-recording) exten => 205,5,wait(2) exten => 205,6,Hangup -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Rich Adamson Sent: Saturday, December 20, 2003 8:37 AM To: Asterisk-a-users-list Subject: [Asterisk-Users] IVR sample config? Can someone point me to some reasonable example / starting point to implement a basic IVR menu? Looking for something rather simple like the press 1 for sales, 2 for tech support, and probably an option to list the voicemail directory kind of thing. Nothing elaborate needed, just basic menu. (Yes, I did look at the wiki and google searched for "ivr menu".) _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.550 / Virus Database: 342 - Release Date: 12/9/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.550 / Virus Database: 342 - Release Date: 12/9/2003
Rich Adamson wrote:> Can someone point me to some reasonable example / starting point to implement > a basic IVR menu? Looking for something rather simple like the press 1 for > sales, 2 for tech support, and probably an option to list the voicemail > directory kind of thing. Nothing elaborate needed, just basic menu. > > (Yes, I did look at the wiki and google searched for "ivr menu".)Rich, I've started with the sample in the distribution. Check the file extensions.conf in the configs directory. And I'll add something to the wiki. /O