PDA

View Full Version : Convert a rotary phone to voip using raspberry pi



wraggster
March 9th, 2015, 18:45
https://hackadaycom.files.wordpress.com/2015/03/phone1.jpg?w=800
There’s something so nostalgic about the rotary phone that makes it a fun thing to hack and modernize. [Voidon] put his skills to the test and converted one to VoIP using a Raspberry Pi (http://imgur.com/a/HECDL). He used the RasPi’s GPIO pins to read pulses from the rotary dial – a functional dial is always a welcome feature in rotary (http://hackaday.com/2015/03/09/convert-a-rotary-phone-to-voip-using-raspberry-pi/hackaday.com/2014/07/22/usb-rotary-phone-a-lync-to-the-past/) phone (http://hackaday.com/2015/03/09/convert-a-rotary-phone-to-voip-using-raspberry-pi/hackaday.com/2014/06/16/the-rotary-cell-phone/) hacks (http://hackaday.com/2015/03/09/convert-a-rotary-phone-to-voip-using-raspberry-pi/hackaday.com/2012/09/07/rotary-and-cordless-phones-mashup/). An old USB sound card was perfect for the microphone and handset audio.
As with any build, there were unexpected size issues that needed to be worked around. While the RasPi fit inside the case well, there was no room for the USB power jack or an ethernet cable, let alone a USB power bank for portability. The power bank idea was scrapped. [voidon] soldered the power cord to the RasPi before the polyfuse to preserve the surge protection, used a mini-USB wifi dongle, and soldered a new USB connector to the sound card. [Voidon] also couldn’t get the phone’s original ringer to work, so he used the Raspberry Pi’s internal sound card to play ringtones.
The VoIP (SIP (http://en.wikipedia.org/wiki/Session_Initiation_Protocol)) was managed by some Python scripting, available at GitHub (https://github.com/hnesland/aselektriskbureau). [voidon] has some experience in usingAsterisk (http://www.raspberry-asterisk.org/) at his day job, so it will be interesting to see if he incorporates it in the future.

http://hackaday.com/2015/03/09/convert-a-rotary-phone-to-voip-using-raspberry-pi/