Cheap and Easy Guide to Building a Private Telephone System

100,920

718

82

About: Every week two geeky people in Rochester MN spend every ounce of their freetime creating educational videos, podcasts, articles, and music. They publish it all on the internet, free to anyone in the whole un...

Intro: Cheap and Easy Guide to Building a Private Telephone System

Due to the proliferation of cellular networks, most homes have abandoned their land line telephone plan. The infrastructure is still there though, hidden in our walls. Why let all that copper go to waste? Let's talk about how inexpensive and easy it is to reclaim this technology, making it useful again in today's internet connected world.

For detailed information for taking what you learn in this Instructable and building it directly into the phone lines in your home check out another one of our Instructables Retrofit a PBX to Existing Phone Lines (opens in a new tab).

Needed:

  • PBX
  • Old phones, modems, answering machines, etc.
  • Voice Over IP gateway
  • Modular telephone cables

Step 1: What Is a Private Branch Exchange (PBX)?

You may have run into these at work, at a hotel, or have seen references to them in television shows and film.

"Dial 9 to get an outside line"

"My extension number is 604"

"Let me transfer you to billing"

The magic box that makes all of this possible is a PBX. In large organizations, in order to limit the number of phone lines required (and to keep switching in-house), a private branch exchange system is installed. You can dial out to the larger phone network. People from the larger network can dial the number of the organization and then the extension they want to ring inside the private network. Or an incoming call might ring the secretary's phone, and they can in-turn transfer your call manually. Another great feature of these systems is the ability to dial other extensions on your network directly, never connecting to the outside network at all!

Until recently, this kind of technology was very expensive and difficult to set up. Ironically (now that most of us do not use our wired telephones) it is now embarrassingly easy and inexpensive to set and use systems that, not too long ago, would cost thousands and require staff to maintain.

So let's take a look at how, with less than $50USD, I was able to set things up so that I can now put telemarketers on hold (rickroll hold music?), transfer friends who annoy me over to my fax machine, make free internet calls, and ring the kitchen from my workshop to see how long I have until the cookies come out of the oven. Mmm cookies... (priorities).

Step 2: Collect All of Your Devices

Along with the 'Direct from China Ebay Special el-cheapo PBX', we need some devices to hook up to it. For my network, I collected the following:

  • Cheap Voice over IP gateway (for making and receiving calls over the internet)
  • A basic wall mount touch tone (for the shop)
  • A modern cordless phone with a built in answering machine
  • My restored antique telephones (so pretty!)
  • A Raspberry Pi 2 with an external Fax Modem
  • An acoustic coupler modem from the 1970s (because I'm just that cool)

Step 3: Connect the PBX to the Outside World

I really don't have any use for a traditional landline account but it is important to know that even if you do not have telephone service active on your landline it does still work for emergency calls. My particular PBX happens to have three outside lines. So I use one outside line to connect up to the old landline for 911. Though the only time I ever called, I got a busy signal, of course. Next time I'm going to try 0118 999 881 999 119 7253.

For daily use, what actually makes more sense these days is a voice over ip gateway. I have an inexpensive voip gateway connected to the PBX's principle outside line. This allows people to call the PBX from a traditional telephone number and allows me to make calls around the world at effectively no cost. These boxes have gotten very inexpensive and well integrated into all sorts of nice internet based phone services. Set up of the voip gateway generally involves syncing it with which ever online service you use (with the gateway plugged into power and to your local area network / wifi) and it 'just works'.

As you can see from the photos, getting the PBX to use the VoIP Gateway is as simple as connecting a short modular cord from the jack on the back of the gateway to the first outside line on the PBX.

You can complicate things by setting up what to do with incoming and outgoing calls in very great detail via your PBX's settings. However, these cheap PBX's come default from the factory to route any incoming call to ring all of the extensions, and to allow any extension to dial out on any outside line. I do not have any reason to change this behavior, so set up here was super silly simple.

Step 4: Connect All of Your Devices

Now connect modular cords between each of your devices to one of the EXT (extension lines).

The EXT lines act like a traditional telephone jack. They provide power, ring, voice, fax, whatever just like a real phone line would.

At this point you can provide power to your PBX and you have just set up your own private telephone system. If you pick up one phone and dial the ext number of one of the other phones, it should ring normally. Congratulations, you now have the coolest (and most over engineered) string and two tin cans intercom system ever!

Note: You absolutely do not need a voip gateway for any of the internal PBX functionality to work. You can dial extensions, transfer calls, party line, and put your significant other on hold all while blissfully disconnected from the outside world. On my PBX I can very easily make every single phone in the house ring from mine. This is perfect at dinner time when you want to let every one know.

Step 5: Applications!

So there is the basic set up. To wrap up, let's take a moment to talk about a few fun projects that having your own PBX enables.

A red 'hotline' phone. If you work from home and have kids, this is a great way to let them know that they can always reach you while you are in your office but with just enough of a 'it has to be important' barrier to keep the distraction level down.

A Raspberry Pi virtual fax machine. Even in this internet based world, you still run into situations where you need a fax machine. It is surprisingly easy to set up a Raspberry Pi to send or receive faxes.

A real telephone ringer. Find an old telephone 'subset' box to connect to your PBX. Early telephones did not have a ringer inside the phone. They relied on external subset boxes with big brass bells. When a call comes in, hear that jangling ring from the good old days again.

A dial up internet service provider. Here is another one that a Raspberry Pi works great for. With a Raspberry Pi and an external usb modem connected up to one of your PBX EXT lines, you can 'dial up' from any of the other EXT lines on your network to your own ISP. It's a quick "sudo apt-get install pppd", editing a few lines of config text, and you are there. If you have your PBX set up with VoIP, you could even dial into your ISP from anywhere.

A Bulletin Board Service (BBS). Have any vintage computers in the attic? A PBX can be the simplest way to get them on the internet. Old modems work great over a PBX. An Atari's 300 baud acoustic coupler, a Commodore 64's 1200 baud modem, or even the 14.4k modem in a 486 dos box ... any old machine that you would have run your BBS on back in the day can be easily set up so that people can dial into it over the internet.

Let us know what ideas you have!

I hope you find this Instructable helpful or at least interesting. Don't let old phones collect dust in the garage, hook them up and have some fun!

Share

    Recommendations

    • Audio Contest 2018

      Audio Contest 2018
    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge
    • Optics Contest

      Optics Contest

    82 Discussions

    0
    None
    crdero

    Question 7 weeks ago on Step 5

    A few years back, there was a phone advertised that would automatically answer the caller, without ringing) and prompt him/her to dial a three digit number for a specific person. The phone could handle two different extensions. If the caller did not have the person's three digit number (or the intended person was not available), the phone would automatically direct the caller to leave a message message. This would eliminate wrong or crank call. Unfortunately, I did not take advantage of this merchandise and now I can't find it in the internet. Could I come up with a system such as this through you equipment/

    0
    None
    1Aardwolf

    Question 2 months ago

    I know this discussion thread is old, but I'm connfused. From this article, it sounds as if you can make and receive calls over the internet with a land line phone and voip gateway device. Is it not necessary to be subscribed to and paying for a VoIP service? The author says you plug in the gate way and it "just works". Can anyone clarify please?

    0
    None
    RichardS485

    Question 8 months ago on Step 5

    Do you know what kind of device I could use to enable a tannoy type speaker arrangement on one of the extensions. The objective is to dial that extension from a different extension and it would automatically answer so I could just relay a message to be 'broadcast' from that device (a speaker basically but with the capacity to automatically answer whatever 'calling' signals the PABX sends to it when I dial it).

    0
    None
    VojtěchO1

    9 months ago

    So, if I have 3+ phones and a PBX, can I dial between the 3+ phones without the PBX being connected to the outside world? My idea is setting up an intercom system between the floors (basement, 1st, 2nd) and between two parts of the basement.

    0
    None
    ДимоБ

    1 year ago

    Okay... So can I just grab some phones, connect them to the pbx and make calls? And am I required to have anything plugged to Line 1,2,3?

    2 replies

    if you only have one set of phone lines from the phone company then you can only make one call. You could make one outside call and one internal call calling from one phone to another inside your office.

    0
    None
    rtionghoy1

    2 years ago

    im new in the instructables and i want to build your project, let say i have all the equipment needed,i notice that you use raspberry pie and i have zero knowledge on setting it up or programming it. can you help me with that?

    0
    None
    Mitjak4

    2 years ago

    Hi is there a cheap Telephone PBX that will also allow ISDN Phones to work and allow puslse and tone dialing and will ring old rotary phone?

    Thanks for Anwsering and Best Regards

    1 reply
    0
    None
    TymkrsMitjak4

    Reply 2 years ago

    Sorry, not sure on that...

    0
    None
    Dhayes100

    3 years ago on Step 5

    I wonder if it would be possible to hook this system up to some python code. I have always wanted a phone with blacklisting/whitelisting features. Let's say you wanted a whitelisted phone. Only numbers that are on a pre-approved list (in a formatted text file) would cause the phone to ring. An incoming number that is not on the pre-approved list could go to a pre-recorded message and then disconnect.

    5 replies
    0
    None
    TechPaulDhayes100

    Reply 3 years ago on Introduction

    there is no caller id built into these systems, they rely on DTMF signalling to active features. the call routing is based on the number dialled from the PBX handsets.

    0
    None
    jtetreault2Dhayes100

    Reply 3 years ago

    Just get/use the open source Asterisk based pbx system.... i like the freepbx distribution...www.freepbx.org

    0
    None
    TymkrsDhayes100

    Reply 3 years ago on Introduction

    If your landline/voip supports caller id and your pbx passes caller id through (our cheap one does), then your raspberry pi / fax modem can get the caller id data (with python, etc.) and transfer the incoming call to an extension that actually rings a phone. Though, if you are using voip, there may be white listing features built into your service (there is on ours).

    0
    None
    rickkeil

    2 years ago

    It should be noted that this idea is awesome but this particular PBX system cannot interpret the dialing of a rotary phone. That means that you cannot simply plug in a rotary phone and dial other phones on the internal network, nor can you dial the outside world with a rotary phone and this system. The Panasonic 308 PBX system can interpret a rotary phone, so if you want to use this with old rotary phones search on ebay for a Panasonic easa-phone 308 system.

    0
    None
    bblack6

    3 years ago on Introduction

    I'm new to all this but it looked like fun. (It was.) Got the same PABX box. The directions take a while to digest. I assume C.O. means Call Out? It never says... And I still don't know what Flash Time Settings is for. Had a problem with only getting a dial tone from a receiver every other time but that went away when I eliminated the calling limits. Was hoping I could find a way to have the option to call in ring all extensions, but I can live with it. Ironic that I'm going to have to find a land line to use to record a decent sounding message. I don't have one anymore!

    2 replies
    0
    None
    TechPaulbblack6

    Reply 2 years ago

    CO means Central Office which is the telephone exchange most of the time.

    0
    None
    Tymkrsbblack6

    Reply 3 years ago on Introduction

    I believe that CO is technically 'central office', but yeah they are the trunk connections that get you out of your local pool into something else.

    Flash Time is how long of a 'flash' or 'pad' the pbx expects from the ext phones when they want to trigger things like adding another ext to a party call etc. A flash is when an exention hangs up for a very brief moment but comes right back off hook

    In ours, you can set up all kinds of behavior as to what extensions to ring when a call comes in on a CO line. If you did indeed track down the same model then it's in there (hidden among the commands listed in the mysterious and baffling manual hahaha).