LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-11-2007, 04:39 AM   #1
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Rep: Reputation: 15
DTMF applications for IVR surfing


Hi all,
Wanted to know if something like this is achievable without pouring in unlimited amounts of resources. thanks.

Application:
A touchtone IVR spider for data extraction. Preferably on the LAMP platform.
Scenario:
Require to navigate an IVR to extract some information,
E.g. Say Train timings and booking tickets.

It may mean entering input, such as Date of Travel, Class of travel etc, English/spanish and so on at predetermined times.

We are assuming that the IVR is pretty much constant in terms of navigation. And we are not going to respond based on voice recognition. Rather on time delay mechanism. Meaning, I would know that the moment I dial in, after 3 seconds i need to press 1 for english, then after 4 seconds press 2 for train tickets and so on.

At the final step, when I reach the information I want, it will record that bit.

This if done programmatically (imagine 100 tickets to be booked the details of which are in a database), would save a lot of time.

I believe a DTMF digital card would need to be installed.
an application written by us would pass information to the DTMF card from the mysql SB which would pass ahead the required tones to the phone line.

Does any of this make any sense?
Is this something you guys have worked on?

What kind of hardware, etc are we looking at?

curious.
 
Old 08-11-2007, 09:36 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You'll need a plain old voice modem for the hardware. The software you'll need to write yourself.

Voice modems will send voice messages, perform DTMF decoding, and record responses for you.

Update: take a look at 1-800-555-TELL (TellMe).

Last edited by macemoneta; 08-11-2007 at 09:39 PM.
 
Old 08-11-2007, 11:19 PM   #3
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Original Poster
Rep: Reputation: 15
what equipment would i need if the phone line is a digital line. i.e. Vonage.
 
Old 08-12-2007, 01:51 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You'd need a phone/fax adapter (listed on the Vonage products page). Then just plug in your modem to one of the phone jacks.
 
Old 08-13-2007, 11:40 PM   #5
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Original Poster
Rep: Reputation: 15
oh ok. i mistook vonage as a digital phone service. Actually it is an analog service for end users ( we use analog phones) which is converted to digital and then reconverted to analog.

So ok, i will use a plain fax modem. Now, Question is, what code/application to use to interact with the modem? our platform of choice is LAMP. Someone suggested Asterisk. I looked up asterisk, but thats a full blown app which I dont think i need for my implementation.
Do i need asterisk?

thanks!
 
Old 08-13-2007, 11:41 PM   #6
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Original Poster
Rep: Reputation: 15
got it. now the programming part.

oh ok. i mistook vonage as a digital phone service. Actually it is an analog service for end users ( we use analog phones) which is converted to digital and then reconverted to analog.

So ok, i will use a plain fax modem. Now, Question is, what code/application to use to interact with the modem? our platform of choice is LAMP. Someone suggested Asterisk. I looked up asterisk, but thats a full blown app which I dont think i need for my implementation.
Do i need asterisk?

thanks!
 
Old 08-14-2007, 12:08 AM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Not a Fax modem, a Voice modem - different feature set. The application you'll have to write or purchase. IVR systems tend to be customized for specific uses. There are commercial systems available (customized by the company selling them), but if you want to roll your own look at the instruction set for your voice modem.

Last edited by macemoneta; 08-14-2007 at 12:11 AM.
 
Old 08-14-2007, 03:37 AM   #8
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Original Poster
Rep: Reputation: 15
the approach i am taking would be to look at the instruction set of the modem as you pointed you.
pass command line arguments (AT command?) to dial the number desired.
pass touch tones at the desired intervals.
final step would be to record the information when required.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
point me in a right direction for ivr solution nephish Linux - General 0 06-02-2006 12:43 PM
web surfing Seith Linux - Networking 4 01-28-2006 01:18 AM
DTMF detection jspenguin Programming 1 08-03-2005 04:59 PM
linmodem (Dell Inspiron 2100) with SmartLink (slmdm 2.7.14) generate ERROR DTMF ¨6¨ makutpong Linux - Security 1 07-22-2003 03:53 PM
linmodem (Dell Inspiron 2100) with SmartLink (slmdm 2.7.14) generate ERROR ´6´ DTMF makutpong Linux - Networking 0 07-22-2003 03:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration