Solved

Telephone key press detection and sound play

Posted on 2004-08-29
6
360 Views
Last Modified: 2010-04-17
Hi,
i need to write a program to listen on my phone line, accept incoming calls, and then play a .wav greeting sound. I need then to detect which keys are pressed and play more sounds onto the line. Basicly a telephone system in visual basic. can you please help me out? thnx,
BrakeDanceJ
0
Comment
Question by:BrakeDanceJ
  • 2
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
DrWarezz earned 500 total points
ID: 11927295
Hmm..
you'll probably need to implement TAPI, which I'm no VB pro (or even a noob), but I can't see it being AT ALL easy via VB. (Even for the most simplest TAPI programs.. It's not easy)

I recommend using Java; via  JTAPI.
Check out: http://java.sun.com/products/jtapi/

This isn't an easy project though. Unless you have the money to purchase a service that already does this; you're going to need to find someone that is a great programmer and willing.

So, until then; good luck! :o)
[r.D]
0
 
LVL 9

Expert Comment

by:DrWarezz
ID: 11927341
By the way, incase you're wondering; TAPI = Telephony API (API = Application Program Interface)..
And thus, JTAPI = Java TAPI ....  You know :o)

For more info on these words (or any other IT jargon) check out: www.webopedia.com

;o)
gL,
[r.D]
0
 
LVL 1

Expert Comment

by:fennyrules
ID: 11927706
To detect the buttons being pressed you need DTMF tone detection (DTMF (Dual Tone Multi Frequency) are specific frequency tones generated by phones). Here's a component I found that should be able to do this (though I haven't tried it):

http://www.softizer.com/show_product/software_development/activex/phone_tone_decoder/

TAPI can be implemented in VB, as it's part of Microsofts standard libraries. Try looking at:

http://www.sunny-beach.net/vbvoicetelephony.htm

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/tapitspimspi.asp

hope this helps

Mark


0
 
LVL 1

Author Comment

by:BrakeDanceJ
ID: 12159684
Can you please split the points between all participants, Venabili
0
 
LVL 1

Author Comment

by:BrakeDanceJ
ID: 12159698
sry, i have no clue how to split this stuff...Admin, can u help?
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 108
firstswap challenge 20 77
How to get boolean result of md5sum from two files in powershell 8 77
Formula for calculating ROI on training 6 27
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

809 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