Solved

Dial out phone number confirmation

Posted on 2004-10-20
8
345 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

758 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

21 Experts available now in Live!

Get 1:1 Help Now