Connect the phone to the modem

I have an old landline phone and am looking for a way to call him when he connects to my home server's modem. I want to use it as a notification when the assembly is broken and something like that. Like most modems, there are two line connectors on my server, one for data and one for the phone. Since I can only programmatically manipulate the data line, I assume that I will have to connect the phone to the data line and somehow imitate the connection, but thats where I draw the space.

I read friction and telephone calls over the phone, but I'm not quite sure how this will translate into code, if at all. I cannot imagine that I am the only one who thinks about it, so I assume that it is impossible or too difficult to practice. Any help is great. Thanks.

+4
source share
4 answers

Once I put my multimeter on a telephone line and then called. This was probably 20 years ago, but I still remember: the line went up to 90+ volts (AC). Therefore, I assume that the phone expects to see a 90v signal for a call. It seems unlikely that the modem will be able to emit this signal, and it is also unlikely that the modem can provide the necessary current (as Martin said).

I have one idea, but it will depend on your telephone line provider. I don’t know if it still works, but a few years ago in Australia you could dial a certain short number and then hang up and the exchange will call you back immediately. Very useful for the phone to check the line, I think. Therefore, if you find out if your provider has a number that does this, all you have to do is get the modem to dial that number and then hang up. Then you can follow the line and call several times, tell the modem to pick up the phone and hang up to stop the call.

Here is an idea that doesn't use a modem at all. You can connect to the VOIP service (for some of them there must be an API) and just dial your phone number. You will never answer in such a way that it would not cost anything.

+3
source

Call power generation is beyond the capabilities of modems. The only way to make a phone call is to actually have two real switching lines, connect the phone to one, the modem to the other, and actually make a phone call.

+3
source

Someone asked a similar question in 2004 and received an answer in 2010. For reference: http://www.overclockers.com/forums/archive/index.php/t-283831.html

+2
source

Do you need to use a landline phone? If the server is connected to the Internet, you can call your mobile phone (or send an SMS message) whenever the build fails.

Otherwise, you can connect the speakers to the server and play a ringtone through the speakers when you need.

+2
source

Source: https://habr.com/ru/post/1379398/


All Articles