Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to make IVR in Asterisk

Posted on 2010-08-20
6
Medium Priority
?
552 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 2000 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 2000 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
Eye-catchers on the conference table

Challenge: The i-unit group was not satisfied with the audio quality during remote meetings. They were looking for a portable solution with excellent audio quality for use in their conference room but also at their client’s offices.

 

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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Ever wanted to query Cisco Call Manager CDR records from MS SQL Server? Here's how! CUCM can be configured to upload a CDR file to a given FTP server every minute. This article will show you how to set this up, schedule the import of this data an…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

660 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