Solved

Dial out phone number confirmation

Posted on 2004-10-20
8
351 Views
Last Modified: 2010-07-27
My goal is to write a Delphi program for displaying the phone number which is dialed from a computer and continuing uppon confirmation or stoping the dialing on canceling. It's targeted for both Win 9X and NT/2K/XP.

I need some directions where to look and how to catch the dial attempt. For a working code without using any (or just commercial) components I'm ready to raise the question difficulty and award more points.
0
Comment
Question by:hhamster
  • 3
  • 3
8 Comments
 
LVL 45

Expert Comment

by:aikimark
ID: 12357266
hhamster,

1. do you want the Delphi program to do the dialing?
2. do you want the Delphi program to only monitor for dialing activity?
3. how many phone ports might be in use for which you need phone number information?
4. do you need to support any special phone devices?

===================
I would recommend that you look at Exceletel software (ExceleTools).  I've seen what they had to do to make it work and wouldn't want you to experience their pain.
0
 
LVL 2

Author Comment

by:hhamster
ID: 12360243
1) no
2) yes
3) only one (phone line)
4) it would be enough to work on analog modems and ISDN TAs

As stated in the question, I would like to avoid commercial products. Only freeware with source is acceptable.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 12360803
I'm not sure I will be able to answer your question, but I can supply some questions whose answers will help other experts.  (and comments too)

* getting access to a port in use by another application is difficult
* In order to trap all the phone numbers, you will need to do one of the following:
   -> hook the Windows interface (RAS or TAPI) or ports (devices)
   -> provide your own interface that applications/users must use to dial out.  Their data needs to be passed through to the system dialer.  Your application would 'own' the port.
   -> replace the system dialer with your own
   -> read the system dialer's log files or system event logs.

* You may have problems if there are multiple modems on the PC
* You may have problems hooking/intercepting ISDN activity
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 6

Expert Comment

by:vadim_ti
ID: 12362965
i know for sure you cannot monitor outgoing calls via TAPI with UNIMODEM TSP
0
 
LVL 2

Author Comment

by:hhamster
ID: 12367259
I found that my need are the same what "anti-dialers" already do.

So the question goes more specific - how to write an anti-dialer?
0
 
LVL 2

Author Comment

by:hhamster
ID: 12488687
Aikimark how do you hook the Windows interface (RAS or TAPI)?
0
 
LVL 45

Accepted Solution

by:
aikimark earned 125 total points
ID: 12492958
Probably the most applicable discussion for you:
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20346222.html

Finding RAS connections:
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20756865.html

here are some suggested RAS components links:
http://swiss.torry.net/vcl/comms/ras/rasmonitor.zip
http://swiss.torry.net/vcl/comms/ras/rasmg.zip
http://swiss.torry.net/vcl/comms/ras/mrasobj.zip (source $145)
  * latest version* http://www.magsys.co.uk/delphi/ (source $190)

For TAPI, I'd recommend using a REALLY GOOD WRAPPER component, such as ExceleTools from Exceletel software.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using idhttp to login to instagram 2 106
control image tags in a string ? 12 142
CheckListBox usage 3 71
Wincontrol not (correctly) drawn 15 40
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

861 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