Solved

How to make IVR in Asterisk

Posted on 2010-08-20
6
550 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

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…
So you think no one can listen in on your VOIP conversations, eh? Well... if you haven't setup Secure Real Time Transport (SRTP), your voice communications can be hacked into by just about anyone! First, let's talk about the intended audience for…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

636 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