Jump to content
  • Advertisement
Sign in to follow this  
kyron21

automated phone call program

This topic is 3614 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need to write a program in C++ for a linux server to call my cell phone depending on certain conditions passed to the program. Can anyone point me in the right direction as to what I should research to do this? Thank you, J. Fluhmann

Share this post


Link to post
Share on other sites
Advertisement
There is a Telephony API for windows called TAPI... but obviously this is no good for linux, so you'll have to search for it's competitors. "Telephony application" will probably be a decent search term to begin with.

Alternatively, check out the specs for your dial-up/voice modem, and see if it lists any APIs that it is compatible with.

Share this post


Link to post
Share on other sites
You're going to need some point of interface between your software and the public phone network. There are two main ways to accomplish this: one is to get a hardware interface (technically called an FXO) that plugs into a standard analog phone line, and communicates with your software via a kernel driver. The other is to subscribe to a voice-over-IP provider and communicate with their server over the Internet, probably using the SIP protocol. As far as I know, either one of these approaches can be used with Asterisk.

Share this post


Link to post
Share on other sites
If you have a modem plugged in I believe it should be as simple as sending "ATDT <phone number>" to the appropriate COM port. You can hang up with +++ (standard escape sequence) followed by ATH.

A more complete list of commands is at http://www.zoltrix.com/support_html/modem/USEMODEM.HTM

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!