Jump to content
Sign in to follow this  

On a PC with a Modem(Phone Line modem) How to get an Event when there's an Incoming Call?

Recommended Posts


If you take a PC, install a FaxModem in it, and then connect it to a phone line,

How can I get an Event whenever there's an incoming call?

Thank you

Edited by Zohar

Share this post

Link to post
Share on other sites

you might have to buy a different modem - i know that there is software out there that will popup a message when an incoming call comes in (you may even get a message in the event viewer)

you could go to the manufacture site and see if they have any software that allows you to know when an incoming message is happening, but a good sign would be when your phone picks up and you hear the all time favorite beeps ;)

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."



WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes




GDI Basics


GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post

Link to post
Share on other sites

If you mean just having it sit there waiting for a call to come in, you should be able to monitor the serial (COM) port that the modem is attached to, it's been a decade since I've used a modem but that's how I remember it working. But, if you mean it to tell you when you have an incoming call when connected to another computer, you're going to need to have a modem that recognizes Caller ID Call Waiting, and you need to have Caller ID Call Waiting enabled on the phone line.

As I don't know the relevant commands you'd need to monitor your serial port, you should do a forum search for something that will allow you to do that, I know that I have seen something in the Example Scripts section that might be useful.


Meant to say Call Waiting above and put Caller ID in there by mistake.

Also, I found the thread for the serial port UDF I had seen earlier, check out this topic.

Edited by BrewManNH

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...