Click here to Skip to main content
14,920,371 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I have a list of phone numbers, some of them are valid and some of them aren't. I have to write a simple program, which will check which phone number is valid and which isn't.
I thought to use SerialPort for this, but how can I disconnect directly after the first beep (before somebody answers the phone) or after I got message from the carrier that the phone number isn't valid?
Or may be there is some other way to solve it?

Thanks in advance
AspDotNetDev 14-Sep-10 15:44pm
Try to avoid cross-posting the same question in multiple forums.

1 solution

I don't think the serial port is what should be used here. It would be better to use a voice modem and use the telephone api to do the calling for you. This can also provide you with feedback about the status of the call you're making.

Good luck!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900