Solved

Suggestion for implementing IVR

Posted on 2010-08-23
12
569 Views
Last Modified: 2013-11-15
I am trying to develop a IVR solution on top of asterisk. I noticed asterisk provides different interface: AGI, Manager Interface, call files..
I am confused. How should i move ahead? My requirements are:
- Receive calls
- Callback (on the basis of external events)
- Reading DTMF and Authentication in both case: inbound and outbound.
- Performance
- Scalable
0
Comment
Question by:ssapkota
  • 6
  • 4
  • 2
12 Comments
 
LVL 32

Expert Comment

by:DrDamnit
ID: 33503742
Are you a programmer?

If so, PHP / AGI is probably the best way to go. It allows you to drop in and out of dial-plan at will to enter information into a database.

Perhaps if you gave more details about what your IVR solution would do and how you need to interact with it (use cases) then I (we) can better help direct you.
0
 
LVL 3

Author Comment

by:ssapkota
ID: 33503814
Yes. I am a programmer, and I prefer to do it in java/python.
I want to have full control over outbound and inbound calls.
Can you please guide me how should i move ahead?
What should I focus on to enhance performance and to make it scalable?
0
 
LVL 2

Expert Comment

by:asternic
ID: 33506668
Take a look at asterisk-java, it provides an interface to fastagi and the asterisk manager. Fastagi is more scalable than AGI. Depending on your needs you might need to use agi or the manager.

http://asterisk-java.org/development/tutorial.html

0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 3

Author Comment

by:ssapkota
ID: 33513330
@asternic, I have already googled and read about those stuffs like dialplan, agi, fastagi, manager api.
What I am really concerned with is Scalability and Performance, which I couldn't find anywhere.

I want some suggestion from (asterisk-)experts, on what development environment should i choose?
What should I, keep in mind to achieve high performance and scalability?

I want to develop a IVR system which calls user (or receive call) and does basic authentication (keys are stored in database) and interacts with user (on the basis of DTMF keys).
0
 
LVL 32

Expert Comment

by:DrDamnit
ID: 33514604
How many users?
0
 
LVL 3

Author Comment

by:ssapkota
ID: 33515363
@DrDamnit, Expecting to keep a T1 line full busy.
0
 
LVL 2

Assisted Solution

by:asternic
asternic earned 500 total points
ID: 33526859
For a full T1 you will not have performance issues with any of the options: you can use raw dialplan, agi or fastagi. The manager connection is not for IVRs, DTMFs and Databases. If you plan to scale it further, fastagi is more suited for scalable designs as it can run on a separate server.
0
 
LVL 3

Author Comment

by:ssapkota
ID: 33530017
@asternic,
How can I originate using fastagi?
Shouldn't I use Manager Interface for it?
0
 
LVL 2

Accepted Solution

by:
asternic earned 500 total points
ID: 33530302
The easiest way to originate is by using call files. A fastagi server (or an agi script) can be writen so it also generates call files, or even connect to the AMI on a separate thread to do the originations.

http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out




0
 
LVL 3

Author Comment

by:ssapkota
ID: 33550063
I am trying this out. It will take few more days. So just bear with me.
0
 
LVL 3

Author Comment

by:ssapkota
ID: 33590663
Thanks to all who answered to my query,

I used asterisk-java for this purpose:
1. Used fastagi for call handling.
2. Used manager api just to originate the call. I didn't use call file, as I want to be aware of each stage during the call.

Any comment on this, before I close this question?
0
 
LVL 2

Expert Comment

by:asternic
ID: 33593300
You are doing it fine, and you won't face scalability or performance issues.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

813 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

11 Experts available now in Live!

Get 1:1 Help Now