Solved

How to make IVR in Asterisk

Posted on 2010-08-20
6
542 Views
Last Modified: 2013-11-12
How to make IVR in ASTERISK and  What are the prerequisite for IVR
0
Comment
Question by:pawanopensource
  • 3
  • 3
6 Comments
 
LVL 7

Accepted Solution

by:
nauliv earned 500 total points
ID: 33490816
Hello Pawan,

Asterisk will allow you to have IVR right out of the box. When you install Asterisk, make sure you include the sample sound files so that you can start testing IVR without having to record sound files yourself.

You do not need any particular hardware on your Asterisk server; a simple PC with a network card, asterisk installed, allows you to run an Asterisk SIP server, create an IVR, and connect with an IP Phone or Soft phone.

This book will guide you through the steps of creating your first IVR. See page 127.
http://cdn.oreilly.com/books/9780596510480.pdf

Have Fun !
0
 

Author Comment

by:pawanopensource
ID: 33494379
hi friend,
in asterisk i had made pbx. now i want to complete IVR so that i can give solutions to my clients.

here is what i want. suppose my compnay name is oss

A - when some one calls to my PSTN line he should hear the gretting welcome to oss
B - Press 1 to go to sales
C - Press 2 to go to accounts
D - Press 3 to go to marketing
E - Press 4 to go to support
F - or wait for operators assistance

Thx
0
 
LVL 7

Assisted Solution

by:nauliv
nauliv earned 500 total points
ID: 33498563
Hello Pawan,


I'm going to assume that:
* you have an analog TDM card (such as the TDM410P), and the context of your card is "incoming".
* the phone for your operator is SIP/100
* you have recorded your welcome sound file in the /var/lib/asterisk/sound/welcome-oss

Your dialplan will look like this:

[incoming]
exten => s,1,Answer()
exten => s,n,Background(welcome-oss)
exten => s,n,Exten(15)
exten => s,n,Hangup()

exten => 1,Goto(sales,s,1)
exten => 2,Goto(accounts,s,1)
exten => 3,Goto(marketing,s,1)
exten => 4,Goto(support,s,1)

exten => t,1,Goto(operator,s,1)

[sales]
exten => s,1,[your code for sales]
exten => s,n,[...]

[account]
exten => s,1,[your code for account]
exten => s,n,[...]

[marketing]
exten => s,1,[your code for marketing]
exten => s,n,[...]

[support]
exten => s,1,[your code for support]
exten => s,n,[...]

[operator]
exten => s,1,Dial(SIP/100)
exten => s,n,Hangup()


Let us know if you have any question :)
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:pawanopensource
ID: 33499696
i am using Sangoma Fxo, using Centos, plz tell me how to record my voice in centos which software should i use for recording my voice for ivr.
thx
0
 

Author Comment

by:pawanopensource
ID: 33540423
waiting for ur guidance.
0
 
LVL 7

Expert Comment

by:nauliv
ID: 33556202
Hello Pawan,

You have a couple of options to record your voice prompts. Either create an extension on your phone that will allow to record a sound file. A very trivial example would be:

[record-sound]
exten => s,1,Answer()
exten => s,n,Playback(dictate/record_mode)
exten => s,n,Record(pawan.wav)
exten => s,n,Playback(auth-thankyou)
exten => s,n,Playback(pawan.wav)
exten => s,n,Hangup()

This example, when you dial the corresponding extension, you will hear "record mode" then you can record your announcement an press # when you are done. You will hear "thank you" and your message playing. If you are satisfied with it, you can rename the "pawan.wav" file to its final name.

You can also record a sound file on your computer. Do you have a microphone, and if yes which operating system are you using ?



Are you using the CentOS machine as your workstation as well, or are you using a Microsoft Windows ?
Let me know what the operating system you have on the machine that has a m
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The point of this post is to give you a copy/paste installation solution to setting up Asterisk 1.6 on Ubuntu 9.04 (or similar) server. # Setup the system apt-get install subversion apt-get install make apt-get install linux-source kernel-p…
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now