Hack a VOIP Box Into a Telephone Intercom by uhclem
Featured
test-setup.JPG

Ever want to use telephones as an intercom? This instructable shows you how to reconfigure a VOIP adatper to behave as a "ringdown" - meaning, when one receiver is picked up, the other rings until it is answered and vice-versa.

It's easy to find standard telephones - they are cheap and plentiful at flea markets, second-hand stores and yard sales. Telephones made prior to the AT&T breakup (1984) are also very well made - they were rented to the customer and were built to last forever. Some people (like me) even collect them!

Telephones, however, have specific needs for power supply and ringing which make them somewhat difficult for the experimenter to use. Telephones require about 20ma of talk current at 48v DC for the carbon mike and dynamic speaker to operate and they also require around 90v RMS AC at around 20 Hz to ring properly. Telephones also expect a line impedance of about 600 Ohms.

Commercial solutions exist for creating a ringdown, but they are expensive. Mass consumer technology to the rescue! Most any 2-line VOIP box has exactly what we need to power the phones and cause them to ring - for a lot less money.

See the video:
 
Remove these adsRemove these ads by Signing Up

Step 1: Items Required


This instructable requires the following:

- an unlocked 2-line Linksys PAP2T VOIP adapter. Other brands will likely work, so long as the have two lines and you can figure out the settings if the names are different. It is important, though, that your adapter be unlocked - meaning you have access to all the settings. Most VOIP providers give you a locked-down box, either through custom firmware or a password. It may be possible to flash such devices to unlock them, but that is beyond the scope of the instructable. A new, unlocked PAP2T is inexpensive.

- a pair of land-line telephones - any kind will work, even rotary, since no dialing is required.

- an ethernet hub or switch. The PAP2T will not work if it detects the ethernet interface is unplugged. It might be possible to overcome this with an ethernet loopback plug - I have not tried it.

Be careful attaching the VOIP unit to existing phone lines. You want to make sure any line you plug in is not in any way connected to another VOIP box or the phone company. Use a voltmeter to see if extra lines in your home are active or not and be careful, the ring voltage hurts!

If you run wires outside your house, consider using a lightning protector at each point where the wire enters a structure.

Wireless phone extension adapters are available but see if you can borrow one before you buy, as they don't always have the best range or clarity. I have a set purchased cheaply secondhand, and while they worked from one side of the room to the other, they would not work between floors.
kbradt says: Apr 15, 2013. 9:38 AM
i need help with a poject im trying to get 2 linksys voip adapters to call eatchor and i dont know what configerashions i need and i dont know what the dial plain is for them to work so can some one plese help me with the project
kbradt says: Mar 13, 2013. 11:45 AM
hi i need help i need to reset my linksys sipuraspa voip adapter to the factory defalt
kbradt says: Mar 9, 2013. 6:02 PM
i was wondering is there a way to get 2 linksys voip adapters to call one another the one the voip adapter that i have is a UNLOCKED Linksys SIPURA SPA1001 VoIP Phone Adapter 1 FXS that only has 1 rj11 port and the other voip adapter that i have is a
Brand New Unlocked Linksys Cisco PAP2T Internet Phone Adapter with 2 VoIP Ports so can you plese make a totoral that will help me with the project that i want to do and i also want to make a adapter that will automaticley ancer the pnone and send the audio to a pa amps 600 ohm telephone audio input connecter
uhclem (author) says: Mar 10, 2013. 11:48 AM
You should be able to do it like so:
(line1 ata1 dialplan)
<#1:> S0 <:line1@:5060>
(line1 ata2 dialplan)
<#1:> S0 <:line1@:5060>
Pirus says: May 11, 2012. 11:20 AM
You Rock!

I took an old Vonage pap2t, plugged in a phone and did the ****110# to get the IP. Then did a factory reset with ****73738# thankfully I didn't need to enter a password just 1#

Followed your directions!

Two notes for you though...
I had to set the voltage to 86 (default). Setting it to 90 caused the ata to reboot. Also I had to leave the ata plugged into my network. A loop back plug doesn't work since it doesn't activate the phones until it has an IP.
Thanks!
AxvoiceInc says: Apr 24, 2012. 7:28 AM
You get all these configuration details when you buy a new voip account. Don't worry if those instructions are a little bit different. Although most of the times, they are approximately the same as mentioned above.
dv3894 says: Mar 13, 2012. 2:16 AM
Could you create a network of phones using multiple VOIP adapters connected through the switch or hub?
uhclem (author) says: Mar 13, 2012. 3:26 AM
You can give each VOIP adapter a static IP address and then refer to it via that address in each units dialplan.

eg:
<#1:> S0 <:line2@192.168.1.5:5061>

You can also modify the dialplan so that dialing a certain number on the phone calls a certain VOIP box.

There's a limit to the size of the dialplan, so you can't become the phone company this way.
bponaugle says: Mar 1, 2012. 6:28 PM
I followed the directions and it worked like a champ. Thanks! This is a great idea.
I realized that I could make this process less painful using the linksys spc compiler. I generated a template and made the changes in the template, compiled them into a cfg file and put it on a server.

To load the file on a unlocked pap2x with internet access follow these steps:

Get access to your PAP2x web interface

1) Plug adapter in a network with DHCP.
2) Dial ****110#
3) Listen for IP Address
4) Enter IP Address into your web browser (For example. http://192.168.20.105)
5) When you see the Linksys PAP2x Web Interface select the admin login.
once authenticated enter http://(IP address from 2ed step)/admin/resync?http://dogtransport.org/profiles/ringdown.cfg
6) The adapter will reset and work as described in the instructable
gurr says: Feb 2, 2012. 5:02 AM
It works with a loopback konnection/plug instead of a network.

You may of course make experiments with dial tones, and ring cadences etc.
This gives a good old British sound. Changing the sounds a little, and it could be old style sounds from USA or Norway:
setup.jpg
uhclem (author) says: Feb 2, 2012. 6:22 AM
That's great news. I figured it would but did not have one to test. Much better than having a hub around.
richms says: Nov 5, 2011. 2:55 AM
Awesome idea.

Do you know if its possible to make a basic menu in the dialplan so I could have 2 of these connected to eachother but no internet and be able to dial the others with a single digit press?
uhclem (author) says: Feb 2, 2012. 6:16 AM
That should work. You'd have to assign a static IP to each PAP2T and reference it in the dialplan. I only have one PAP2T so I can't test it myself.
uhclem (author) says: Nov 5, 2011. 7:13 AM
In this example, each line has to dial #1 to reach the other:
(line1 dialplan)
<#1:> S0 <:line2@127.0.0.1:5061>
(line2 dialplan)
<#1:> S0 <:line1@127.0.0.1:5060>

If you set up G711u as a secondary preferred codec you can have this as part of a real dialplan where the VOIP box actually gets calls. I do this at my home. Each line can make and receive calls AND call each other internally.

Example:
(<:1508>[2-9]xxxxxxS0|*xx|0|00|[3469]11|1[1-9][0-9][0-9]xxxxxxx|1900xxxxxxx!|<#1:> S0 <:line2@127.0.0.1:5061>)

You can set this up with a pair of PAP2Ts and have it happen over the internet.
twocvbloke says: Jan 30, 2012. 8:59 AM
This is a pretty cool setup, and pretty easy to do, and I too just happen to collect old phones, so this could be handy to test the function of new acquisitions aswell as be a useful intercom, I have to try this at some point... :D

And using the Cadence options, you could have a US-style 2on-4off ring for US telephones, and for UK phones, a BT-style ring (0.4on,  0.2off, 0.4on, 2off), cos a US phone on a UK phone line just doesn't sound right (sounds nice, but not right!!)... :P
uhclem (author) says: Feb 2, 2012. 6:13 AM
Glad you like it. It is so much easier than building your own ringdown and much cheaper than buying a 'real' one.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!