Use a raspberry pi as a POTS phone?












0














I would like to use a computer as a handset POTS telephone.



Why? - I want to use a raspberry pi on the telephone port of an Analog Telephone Adapter (ATA) just to see if I can use it to automate telephone calls through the POTS port.



Again, why? - the ObiHai ATAs are the only devices not owned by Google allowed to connect to the Google Voice SIP service directly. I want to see if I can make simple bot-calls to US Phone Numbers or custom voicemail handling for no other reason than curiosity.



How do I connect a computer to a POTS jack to use it as a handset?










share|improve this question




















  • 1




    And what is your question?
    – JakeGould
    Dec 15 at 2:55










  • @JakeGould sorry, thought it was obvious. Edit made
    – DaMaxContent
    Dec 15 at 2:57
















0














I would like to use a computer as a handset POTS telephone.



Why? - I want to use a raspberry pi on the telephone port of an Analog Telephone Adapter (ATA) just to see if I can use it to automate telephone calls through the POTS port.



Again, why? - the ObiHai ATAs are the only devices not owned by Google allowed to connect to the Google Voice SIP service directly. I want to see if I can make simple bot-calls to US Phone Numbers or custom voicemail handling for no other reason than curiosity.



How do I connect a computer to a POTS jack to use it as a handset?










share|improve this question




















  • 1




    And what is your question?
    – JakeGould
    Dec 15 at 2:55










  • @JakeGould sorry, thought it was obvious. Edit made
    – DaMaxContent
    Dec 15 at 2:57














0












0








0







I would like to use a computer as a handset POTS telephone.



Why? - I want to use a raspberry pi on the telephone port of an Analog Telephone Adapter (ATA) just to see if I can use it to automate telephone calls through the POTS port.



Again, why? - the ObiHai ATAs are the only devices not owned by Google allowed to connect to the Google Voice SIP service directly. I want to see if I can make simple bot-calls to US Phone Numbers or custom voicemail handling for no other reason than curiosity.



How do I connect a computer to a POTS jack to use it as a handset?










share|improve this question















I would like to use a computer as a handset POTS telephone.



Why? - I want to use a raspberry pi on the telephone port of an Analog Telephone Adapter (ATA) just to see if I can use it to automate telephone calls through the POTS port.



Again, why? - the ObiHai ATAs are the only devices not owned by Google allowed to connect to the Google Voice SIP service directly. I want to see if I can make simple bot-calls to US Phone Numbers or custom voicemail handling for no other reason than curiosity.



How do I connect a computer to a POTS jack to use it as a handset?







linux telephony






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 15 at 2:56

























asked Dec 15 at 2:54









DaMaxContent

1336




1336








  • 1




    And what is your question?
    – JakeGould
    Dec 15 at 2:55










  • @JakeGould sorry, thought it was obvious. Edit made
    – DaMaxContent
    Dec 15 at 2:57














  • 1




    And what is your question?
    – JakeGould
    Dec 15 at 2:55










  • @JakeGould sorry, thought it was obvious. Edit made
    – DaMaxContent
    Dec 15 at 2:57








1




1




And what is your question?
– JakeGould
Dec 15 at 2:55




And what is your question?
– JakeGould
Dec 15 at 2:55












@JakeGould sorry, thought it was obvious. Edit made
– DaMaxContent
Dec 15 at 2:57




@JakeGould sorry, thought it was obvious. Edit made
– DaMaxContent
Dec 15 at 2:57










2 Answers
2






active

oldest

votes


















1














Technically, it should be possible, but it would not be easy. It would require additional electrical design and electronics, as well as programming.



POTS lines are analog. The Raspberry Pi's GPIO pins are all digital. You would need to use an analog to digital converter, or create one yourself. Here is some info.



The second problem is POTS electrical power. On a standard Raspberry Pi, all the GPIO pins are 3.3 volts. I believe it is stated that even inputting 5 volts can cause potential damage to the Pi. POTS lines can be as low at 6 volts and spike up to 90 volts. You would need electronics to reduce the power to 3.3 volts coming in and increase it going out. Otherwise, you would fry your Pi. Here is some info on POTS power.



Assuming you could manage to do all of the above, you would need to convert digital data into analog tones that a phone actually uses. You would need to recreate DTMF tones for dialing. You would also need to convert digital audio out to analog and vice versa.



Then there is the programming to manage any of the mentioned processes if they arent handled by the electronics.



Again, its possible, but probably not worth the hassle. A dedicated device seems like a much better solution.






share|improve this answer





























    1














    You can't (easily). An ATA is an analog device, and a Pi is digital. You might be able to build some kind of converter for it, (which would be very hard to get right ) but then you may as well just buy additional hardware to Interface with the ATA.



    There are really 2 kinds of ATA - an FXS device which allows you to plug a handset into a digital(VoIP) system and an FXO which does the opposite. You can thus probably mate your ObiHai (which sounds like an fxs) device with an FXO device and then use something like Asterisk/FreePBX from your Pi to drive it. Note that you may have to iron out impedance / echo issues.



    (Btw, I believe you have used the term POTS incorrectly as you are not connecting to the "plain old telephone network" and the ATA is not an FXO device)






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1383745%2fuse-a-raspberry-pi-as-a-pots-phone%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Technically, it should be possible, but it would not be easy. It would require additional electrical design and electronics, as well as programming.



      POTS lines are analog. The Raspberry Pi's GPIO pins are all digital. You would need to use an analog to digital converter, or create one yourself. Here is some info.



      The second problem is POTS electrical power. On a standard Raspberry Pi, all the GPIO pins are 3.3 volts. I believe it is stated that even inputting 5 volts can cause potential damage to the Pi. POTS lines can be as low at 6 volts and spike up to 90 volts. You would need electronics to reduce the power to 3.3 volts coming in and increase it going out. Otherwise, you would fry your Pi. Here is some info on POTS power.



      Assuming you could manage to do all of the above, you would need to convert digital data into analog tones that a phone actually uses. You would need to recreate DTMF tones for dialing. You would also need to convert digital audio out to analog and vice versa.



      Then there is the programming to manage any of the mentioned processes if they arent handled by the electronics.



      Again, its possible, but probably not worth the hassle. A dedicated device seems like a much better solution.






      share|improve this answer


























        1














        Technically, it should be possible, but it would not be easy. It would require additional electrical design and electronics, as well as programming.



        POTS lines are analog. The Raspberry Pi's GPIO pins are all digital. You would need to use an analog to digital converter, or create one yourself. Here is some info.



        The second problem is POTS electrical power. On a standard Raspberry Pi, all the GPIO pins are 3.3 volts. I believe it is stated that even inputting 5 volts can cause potential damage to the Pi. POTS lines can be as low at 6 volts and spike up to 90 volts. You would need electronics to reduce the power to 3.3 volts coming in and increase it going out. Otherwise, you would fry your Pi. Here is some info on POTS power.



        Assuming you could manage to do all of the above, you would need to convert digital data into analog tones that a phone actually uses. You would need to recreate DTMF tones for dialing. You would also need to convert digital audio out to analog and vice versa.



        Then there is the programming to manage any of the mentioned processes if they arent handled by the electronics.



        Again, its possible, but probably not worth the hassle. A dedicated device seems like a much better solution.






        share|improve this answer
























          1












          1








          1






          Technically, it should be possible, but it would not be easy. It would require additional electrical design and electronics, as well as programming.



          POTS lines are analog. The Raspberry Pi's GPIO pins are all digital. You would need to use an analog to digital converter, or create one yourself. Here is some info.



          The second problem is POTS electrical power. On a standard Raspberry Pi, all the GPIO pins are 3.3 volts. I believe it is stated that even inputting 5 volts can cause potential damage to the Pi. POTS lines can be as low at 6 volts and spike up to 90 volts. You would need electronics to reduce the power to 3.3 volts coming in and increase it going out. Otherwise, you would fry your Pi. Here is some info on POTS power.



          Assuming you could manage to do all of the above, you would need to convert digital data into analog tones that a phone actually uses. You would need to recreate DTMF tones for dialing. You would also need to convert digital audio out to analog and vice versa.



          Then there is the programming to manage any of the mentioned processes if they arent handled by the electronics.



          Again, its possible, but probably not worth the hassle. A dedicated device seems like a much better solution.






          share|improve this answer












          Technically, it should be possible, but it would not be easy. It would require additional electrical design and electronics, as well as programming.



          POTS lines are analog. The Raspberry Pi's GPIO pins are all digital. You would need to use an analog to digital converter, or create one yourself. Here is some info.



          The second problem is POTS electrical power. On a standard Raspberry Pi, all the GPIO pins are 3.3 volts. I believe it is stated that even inputting 5 volts can cause potential damage to the Pi. POTS lines can be as low at 6 volts and spike up to 90 volts. You would need electronics to reduce the power to 3.3 volts coming in and increase it going out. Otherwise, you would fry your Pi. Here is some info on POTS power.



          Assuming you could manage to do all of the above, you would need to convert digital data into analog tones that a phone actually uses. You would need to recreate DTMF tones for dialing. You would also need to convert digital audio out to analog and vice versa.



          Then there is the programming to manage any of the mentioned processes if they arent handled by the electronics.



          Again, its possible, but probably not worth the hassle. A dedicated device seems like a much better solution.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 15 at 7:27









          Keltari

          50.8k18117169




          50.8k18117169

























              1














              You can't (easily). An ATA is an analog device, and a Pi is digital. You might be able to build some kind of converter for it, (which would be very hard to get right ) but then you may as well just buy additional hardware to Interface with the ATA.



              There are really 2 kinds of ATA - an FXS device which allows you to plug a handset into a digital(VoIP) system and an FXO which does the opposite. You can thus probably mate your ObiHai (which sounds like an fxs) device with an FXO device and then use something like Asterisk/FreePBX from your Pi to drive it. Note that you may have to iron out impedance / echo issues.



              (Btw, I believe you have used the term POTS incorrectly as you are not connecting to the "plain old telephone network" and the ATA is not an FXO device)






              share|improve this answer




























                1














                You can't (easily). An ATA is an analog device, and a Pi is digital. You might be able to build some kind of converter for it, (which would be very hard to get right ) but then you may as well just buy additional hardware to Interface with the ATA.



                There are really 2 kinds of ATA - an FXS device which allows you to plug a handset into a digital(VoIP) system and an FXO which does the opposite. You can thus probably mate your ObiHai (which sounds like an fxs) device with an FXO device and then use something like Asterisk/FreePBX from your Pi to drive it. Note that you may have to iron out impedance / echo issues.



                (Btw, I believe you have used the term POTS incorrectly as you are not connecting to the "plain old telephone network" and the ATA is not an FXO device)






                share|improve this answer


























                  1












                  1








                  1






                  You can't (easily). An ATA is an analog device, and a Pi is digital. You might be able to build some kind of converter for it, (which would be very hard to get right ) but then you may as well just buy additional hardware to Interface with the ATA.



                  There are really 2 kinds of ATA - an FXS device which allows you to plug a handset into a digital(VoIP) system and an FXO which does the opposite. You can thus probably mate your ObiHai (which sounds like an fxs) device with an FXO device and then use something like Asterisk/FreePBX from your Pi to drive it. Note that you may have to iron out impedance / echo issues.



                  (Btw, I believe you have used the term POTS incorrectly as you are not connecting to the "plain old telephone network" and the ATA is not an FXO device)






                  share|improve this answer














                  You can't (easily). An ATA is an analog device, and a Pi is digital. You might be able to build some kind of converter for it, (which would be very hard to get right ) but then you may as well just buy additional hardware to Interface with the ATA.



                  There are really 2 kinds of ATA - an FXS device which allows you to plug a handset into a digital(VoIP) system and an FXO which does the opposite. You can thus probably mate your ObiHai (which sounds like an fxs) device with an FXO device and then use something like Asterisk/FreePBX from your Pi to drive it. Note that you may have to iron out impedance / echo issues.



                  (Btw, I believe you have used the term POTS incorrectly as you are not connecting to the "plain old telephone network" and the ATA is not an FXO device)







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Dec 15 at 9:19

























                  answered Dec 15 at 6:14









                  davidgo

                  42.1k75086




                  42.1k75086






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1383745%2fuse-a-raspberry-pi-as-a-pots-phone%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Probability when a professor distributes a quiz and homework assignment to a class of n students.

                      Aardman Animations

                      Are they similar matrix