Recent Changes - Search:


Code:


Social:


My journals will take the place of a blog. If you go to the Journal page there is an RSS feed to subscribe with.

« September 2017 
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930

Sites I take responsibility for

West Volusia, Florida

Documents

Technical

General

Me

Living

Places I frequent

Hobbies

Humor

Items for sale:


Clipboard

edit SideBar

Whole house Skype using Linux

Include our styles below Infobox - invoke as >>infobox<< ... >><<

Codebox: - invoke as >>codebox<< ... >><<

warnbox: - invoke as >>codebox<< ... >><<

editingbox: - invoke as >>codebox<< ... >><<

noticebox: - invoke as >>codebox<< ... >><<

Page bread crumbs: Welcome to ke3vin.org! - My Public Technical Notes - Tricks And HOWT Os - Whole House Skype Using Linux

Pages by tags: (:listtags:)
Subscribe to this wiki: RSS Feed RSS or subscribe to this page for changes: RSS Feed RSS
496 articles have been published so far. Recent changes
Share

2016-03-22: This site is being moved to my main site at https://kevininscoe.com/wiki as part of a consolidation to one domain.


UPDATE: Interesting note about using Google Voice with Skype incoming number.

I finally decided to disconnect my POTS telephone line in our home since everyone now has cell phones and because we no longer have children in the house below high school age. However often times folks at home forget to leave their cell phone on, it's in another room and you can't hear it ringing or sometimes there is confusion for family members to know what number to call to reach us at home. Since I already have a Skype subscription I decided to make use of the wired phones we had in the house already and make a whole house Skype ringer.

Some general notes:

http://www.blogarithms.com/index.php/archives/2007/12/23/skype-for-interviews/

What you will need:

  1. High speed internet. In fact I really recommend a broadband internet connection. However a satellite connection would also likely work but may be choppy. Dial-up modem connections in theory would work however it will likely not be practical for every day use. It is assumed that since telephone service is bundled with DSL Lines that you are likely not attempting this procedure with DSL albeit in theory it could work as long as you separate the Skype phones lines from the DSL modem. There is also "Naked DSL" and either mode of DSL would be sufficient bandwidth to handle Skype. One final option mostly used by folks in rural areas or recreational vehicle campers is to use a cellular modem or so called air card internet connection as your source of internet. I have some notes on this on my Mobile broadband and internet page. And of course WiFi if you have access to it would also work.
  2. A Skype account from http://www.skype.com. Note that you do not necessarily require a Skype subscription (used to be called Skype out) if all you plan to use is Skype to Skype calling (pc to pc).
  3. A computer (that supports Skype and a Skype adapter) running as long as you require the phones to ring. I use a Linux server that runs 24 hours a day.
  4. A Skype adapter. These are usually USB connector. I use a Yealink USB-B2K.
  5. And finally you will need self-powered phones to connect to your house's phone wiring. Note that old style phones that take power from the phone line such as the old style Bell phones (in other words wired handset phones) will not work in this case. This is because normally the phone company supplies the voltages needed. This usually means you can only use cordless phones you plug into the wall with a power wart.

Computer or server configuration:

If you choose Windows operating system (which is usually the only supported operating system using supplied software with the adapter) it's a simple matter of installing the supplied SkypeMate software (note the disc that comes with the B2K is very old be sure to get the latest version [4.0.2.2 as of 2009-09-09] from http://www.yealink.com/en/download.asp?BigClassName=USB%20VoIP%20Phone or search for SkypeMate on the Yealink site) and possibly drivers, plug in your Skype adapter to a USB port on your computer and a telephone to the telephone port of the adapter and your basically ready to go. If you go this route jump down to Network interface below for the whole house ringing part of this procedure. If you are using Linux like me however there is more work to do. read on.

Linux:

I use the Gentoo GNU/Linux distribution however in theory any distribution should work.

In my case I will be specific to the Yealink USB-B2K. If you are using something else make sure that there is a Linux driver for that device and how well it is supported before attempting to use Linuc for your host computer.

Gentoo and the Yealink B2K:

Software:

You will need four pieces of software to connect the telbox to Skype:

  1. usbb2k_api. A small driver daemon that converts simple human-friendly commands to the binary whatsit language used by the telbox, and likewise returns responses sent back by the box in human-friendly (or at least, programmer-friendly) form.
  2. kb2kskype. A bridge application that, using the simplified command set groked by usbb2k_api on one side, and the Skype Public API on the other, causes incoming Skype calls to ring the phone, and keypresses on the telephone to be fed through to Skype.
  3. Skype. You should install version 1.4 (or later) of Skype (version 1.3 will work, but 1.4 is superior software). In my case with Gentoo I emerged stable version 2.0.0.72.
  4. Alsa drivers and software. Alsa USB sound drivers configured to use the B2K. Also CONFIG_SND_USB=y and CONFIG_SND_USB_AUDIO=y need to be compiled into the kernel and NOT as modules (at least for Gentoo). emerge alsa-lib. It's a good idea to emerge alsa-utils. http://www.gentoo.org/doc/en/alsa-guide.xml is a good resource to review. Follow this setup also: http://forums.gentoo.org/viewtopic.php?t=97157
 (source: http://www.mythtv.org/wiki/Integrating_Skype_with_a_MythTV_system)

Driver:

Download source from CVS:

 $ cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/usbb2k-api co usbb2k-api

Refer to the install instructions at http://kb2kskype.sourceforge.net/downloads/install_skype_bk2k_en.pdf (mirror below).

Attach:install_skype_bk2k_en.pdf

Compile:

 $ sh ./autoconf.sh
$ ./configure --prefix=/usr/local $ make
$ sudo make install

Start driver (must be run as root):

 $ sudo /usr/local/bin/usbb2k_api

This will stay running in the background and create a socket at /tmp/usbb2k.sock.

 $ ls -l /tmp/usbb2k.sock
 sr-xr-xr-x 1 root root 0 2009-08-28 13:42 /tmp/usbb2k.sock

You can test the socket by using the api_connect command that comes with usbb2k_api:

 $ sudo api_connect /tmp/usbb2k.sock
 Trying to connect...
 Connected.
 SEND> RECV> USB NOT FOUND

If you see "USB NOT FOUND" it means the API could not find your B2K device, either USB support is not in the kernel or the port may be bad. Test the device in Windows first to make sure it works ok.

You should see

 Trying to connect...
Connected.
SEND> RECV> USB DEVICE FOUND 003
RECV> HANDSET OFF

Hit Control-C to exit the api_connect program.

Driver interface:

http://sourceforge.net/projects/kb2kskype/

Linux external requirements:

The following packages are needed for this software to work:

    * A recent 2.6 kernel with snd-usb-audio compiled in.
* libusb
* alsa
* kdelibs
* qtlibs
* automake17
* libjpeg
* g++
* Recommended: o amixer
o usbview for debugging only

I downloaded kb2kskype-0.3.8.tar.bz2 from:

http://sourceforge.net/projects/kb2kskype/files/kb2kskype/kb2kskype-0.3.8/kb2kskype-0.3.8.tar.bz2/download

Follow the install instructions from http://kb2kskype.sourceforge.net/

http://kb2kskype.sourceforge.net/install.html

 $ ./configure --prefix=/usr/local
$ make
$ sudo make install

Install Skype client:

 # emerge -av net-im/skype

Start Skype client:

 $ skype (or run from KDE)

Note that you need to have X Windows running and possibly a windows manager as well. In my case I use KDE.

Run the driver as root:

 $ sudo /usr/local/bin/kb2kskype

You will first see this screen:

Make sure to allow the connection to Skype and check "Remember this selection".

Then you will be presented with this screen which may be minimized in the KDE panel:

Make sure to select USB mode for whole house Skype we won't be using PSTN at all.

Network interface:

First I had to disconnect the street telephone lines from the rest of the house.

WARNING this will remove your ability to dial 911 or 611 (repair) from your wired phones. I recommend you write down the emergency and non-emergency direct numbers of your local fire, police and ambulance services some where central where everyone in the house can see them in case you have need of their services. Calling 911 from Skype is not really supported and there is no telling which dispatch center you are likely to end up on.

Usually disconnecting the service is as easy as unplugging the telephone line in what is usually referred to as the "Network Interface". Here is a picture of what I mean:

Simply disconnect the RJ-11 telephone jack which will disconnect you from the "street" or phone company. This will not cause harm to the phone company or to your equipment.

Now the next step is to connect the Skype adapter to a phone jack in your house using the telephone interface and NOT the line interface. The difference being that the line side of the adapter is meant for POTS line (telephone company) service. Since they are all wired in essentially in parallel to the outside NID this will cause all phones to ring when ever the Skype adapter sends a ring signal down the line to all the phones in the house.

And that's basically it you are ready to use your whole house Skype system as if it were the phone company. Of course you will need to read your software manual that came with your Skype adapter (or the Linux documentation that came with the driver) for actual use. In Skype receiving calls is easy just make sure to use FSK caller id mode and the actually caller id will be your

Update:

You can make essentially free in bound calls to Skype without paying for Skype In with this recipe:

http://www.ehow.com/how_5356107_set-through-gizmo-then-skype.html

Bill Bradford says:

"I use SIPgate's free phone number as an endpoint phone for Google Voice; I can have incoming AND outgoing calls completely free, ignoring the cost of the Internet connection at home."

Page tags: (:tags skype, phone :)


Kevin's Public Wiki maintained and created by Kevin P. Inscoe is licensed under a
Creative Commons Attribution 3.0 United States License.

Back to my web site - http://kevininscoe.com

Edit - History - Print - Recent Changes - Search
Page last modified on January 25, 2012, at 08:16 AM EST