Solved

How to make IVR in Asterisk

Posted on 2010-08-20
6
549 Views
Last Modified: 2013-11-12
How to make IVR in ASTERISK and  What are the prerequisite for IVR
0
Comment
Question by:pawanopensource
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How To Create Custom / Distinctive Ring Tones on Polycom Phones Purpose and Overview When creating a custom ring tone, you have simple aspirations: to make your phone cooler than everyone else's. Perhaps you need a louder ringer. Perhaps you w…
Although VoiceOver IP has been around for a while, internet connections have only recently become fast enough to provide good call quality. Now, VoIP has become a real option for businesses looking at ways to improve their business model. In this ar…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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