Professional Documents
Culture Documents
By Andrew Sheppard
...............................................
Publisher: O'Reilly
Pub Date: December 2005
Print ISBN-10: 0-596-10189-9
Print ISBN-13: 978-0-59-610189-3
Pages: 342
I f you've heard about Skype- - and who has n't with all the rec ent
media attention devoted to internet telephone s ervic es - -
c hanc es are you've been mighty tempted to try it out. Skype
Hacks tells you what all the Skype hype is about, explains the
bas ic s , and s hows you more than 1 0 0 c lever tips and tric ks for
tweaking and tuning Skype to make it do jus t what you want and
more.
I ntegrate Skype with des ktop tools like M ic ros oft O ffic e
and your web brows er
Copyright
Credits
About the Author
Contributors and Review ers
Acknow ledgments
Preface
Why Skype Hacks?
How This Book Is Organized
Financial Exchange (FX) Rate
Skype Softw are Versions
Colophon
Index
C opyright © 2 0 0 6 O 'Reilly M edia, I nc . A ll rights res erved.
O 'Reilly books may be purc has ed for educ ational, bus ines s , or
s ales promotional us e. O nline editions are als o available for
mos t titles (s afari.oreilly.com). For more information, c ontac t our
c orporate/ins titutional s ales department: (8 0 0 ) 9 9 8 - 9 9 3 8 or
c orporate@ oreilly.c om.
M arc ia
Series Editor: Rael D ornfes t Cover Designer:
Friedman
Printing
History:
D ec ember
Firs t E dition.
2005:
N uts hell H andbook, the N uts hell H andbook logo, and the
O 'Reilly logo are regis tered trademarks of O 'Reilly M edia, I nc .
T he Hacks s eries des ignations , Skype Hacks , the image of an
antique telephone, and related trade dres s are trademarks of
O 'Reilly M edia, I nc .
While every prec aution has been taken in the preparation of this
book, the publis her and author as s ume no res pons ibility for
errors or omis s ions , or for damages res ulting from the us e of the
information c ontained herein.
I SBN : 0 - 5 9 6 - 1 0 1 8 9 - 9
[M ]
Credits
A c knowledgments
About the Author
A ndrew Sheppard has been fas c inated by tec hnology and
s c ienc e s inc e c hildhood, and it's an indulgenc e that has
c ontinued to this day.
M ike L oukides , my editor, was the ins piration for this book. When
M ike s ugges ted I write a book on Skype hac ks , I didn't know
what a great undertaking the book would be, or how muc h I would
learn from the experienc e. N or, frankly, how muc h fun Skype as a
tec hnology would be. M ike was als o (together with L awrenc e
H uds on, mentioned earlier) a c ons tant pillar of s upport and
enc ouragement, and was s omeone to bounc e ideas off of during
my early days before s itting down to write the book, when I was
c ompletely replac ing my home phone s ys tem and otherwis e
hac king around with Skype.
Kelly L arabee at Skype was a joy to work with. She was very
profes s ional, and s he c ut through a lot of red tape to get the
book reviewed by the Skype development team. M any thanks go
to her, to Kat J ames , and to the team at Skype.
I 've been enamored with O 'Reilly as a publis her s inc e the days
of its X- Windows book s eries , and I 've been a c ons tant reader of
all things O 'Reilly s inc e then. So, when the opportunity to
ac tually write for O 'Reilly c ame about, I felt both flattered and
privileged by the opportunity. T he c rew at O 'Reilly didn't
dis appoint. I n terms of both the c aliber of the s taff and their
profes s ionalis m, O 'Reilly made Skype Hacks a reality in rec ord
time.
A s you get to know Skype, you will bec ome aware that Skype is
unlike any telephone s ys tem you have known before. A nd after a
s hort while, like D orothy in TheWizard of Oz, you might find
yours elf mouthing the words : "Toto, I have a feeling we're not in
Kans as anymore."
Skype has very little in the way of doc umentation, partic ularly
for the Skype us er taking any s teps beyond the bas ic s . So in one
s ens e, Skype Hacks is a how- to guide for getting things done with
Skypelike a road map to Skype's bas ic features and beyond.
O n the other hand, it is als o a book that s hows you how, with a
little imagination, you c an make Skype do interes ting and new
things filling in the details on the map where before, there was
only "here be dragons ." H ac king around with Skype is eas y, fun,
and rewarding. Skype is a tec hnology that enc ourages
experimentation, s o the book helps to equip youthe readerwith
the minds et and tools et for you to hac k around with Skype on
your own.
Sec urity and privac y s hould be a c onc ern for anyone who
is part of the Skype online c ommunity. Some hac ks in
this c hapter will help you to have only the vis ibility you
des ire within the Skype c ommunity, and other hac ks will
help s ec ure you agains t s ome of the more c ommon ris ks
enc ountered by Skype us ers .
C hapter 1 0 , Quirks , Gotchas , and Workarounds
FX rates are not c ons tant. I n fac t, they c an and do move around
a lot. But bec aus e a book is not a "live" doc ument, it mus t us e a
fixed exc hange rate. T herefore, unles s s tated otherwis e, euro-
to- dollar c onvers ions were c arried out at this FX rate: 1 E U R =
1 .2 5 U SD .
Skype Software Versions
Skype is advanc ing very quic kly and new releas es are frequent
for all of Skype's s upported platforms : Windows , L inux, M ac O S
X, and P oc ket P C , at the time of this writing. Without a doubt,
this is good news for you, the Skype us er. But, from an author's
point of view, it makes the job of keeping the book up- to- date
very diffic ult. E ven during the writing of this book, on s everal
oc c as ions , I had to retes t hac ks already written for c ompatibility
with new releas es of Skype. Table P - 1 outlines the vers ions of
Skype I was us ing as the book went to pres s , together with the
minimum s ys tem requirements for eac h platform.
Windows
Linux
A pple O S X 1 0 .4 (T iger)
Skype Widget 1 .0 .2
Pocket PC
Skype
Skype 1 .4 .0 .5 6 Skype
Skype 1 .3 .0 .8 1 .2 .0 .4
(beta) 1 .2 .0 .1 1 _A P I
(beta)
WiFi
1 2 8 M B of RA M 1 2 8 M B of RA M 1 2 8 M B of RA M
enabled
1 5 M B of dis k 1 0 M B of dis k 2 0 M B of dis k
s pac e s pac e s pac e
I talics
Constant width
You s hould pay s pec ial attention to notes s et apart from the text
with the following ic ons :
I f you feel your us e of c ode examples falls outs ide fair us e or the
permis s ion given here, feel free to c ontac t us at
permis s ions @ oreilly.c om.
How to Contact Us
We have tes ted and verified the information in this book to the
bes t of our ability, but you may find that features have c hanged
(or even that we have made mis takes ! ). A s a reader of this book,
you c an help us to improve future editions by s ending us your
feedbac k. P leas e let us know about any errors , inac c urac ies ,
bugs , mis leading or c onfus ing s tatements , and typos that you
find anywhere in this book.
O 'Reilly M edia, I nc .
1 0 0 5 G ravens tein H wy N .
Sebas topol, C A 9 5 4 7 2
(8 0 0 ) 9 9 8 - 9 9 3 8 (in the U .S. or C anada)
(7 0 7 ) 8 2 9 - 0 5 1 5 (international/loc al)
(7 0 7 ) 8 2 9 - 0 1 0 4 (fax)
Got a Hack?
http://hac ks .oreilly.c om
Safari® Enabled
H ac k 1 0 . Forward C alls
A node mus t regis ter and authentic ate its elf with a Skype s erver
during login. O nc e a c all is es tablis hed between two nodes ,
where pos s ible, a direc t I nternet link between the two is us ed.
By direc tly c onnec ting two nodes for c alls , Skype minimizes
network routing overhead and therefore c an deliver better voic e
quality.
I f this were all that Skype offers , Skype would be an is land unto
its elf and of rather limited interes t. H owever, Skype als o offers
s ix prepaid add- on s ervic es all at extremely low c os tthat allow
Skype us ers to make and rec eive c alls to regular phones (as
well as make free c alls to other Skype us ers ), and muc h more. I n
brief, here are the s ix s ervic es :
SkypeOut
SkypeI n
Voicemail
A llows you to rec eive voic email mes s ages from anyone
and lis ten to them at any time and from anywhere you
are logged onto Skype. U s ing this s ervic e, you c an als o
s end voic email to other Skype us ers , even if they are
not s ubs c ribers to Skype voic email.
Skype Zones
Skype Groups
T his Skype s ervic e s implifies the management of, and
payment for, other Skype s ervic es for groups of people.
U s ing Skype G roups , an adminis trator for a group c an
alloc ate SkypeO ut c redits , SkypeI n numbers , and
voic email to all members of a group. A nd all this c an be
done without the need for multiple c redit c ards and
s eparate payments ! P lus , reports c an be generated to
keep the managers and ac c ountants happy.
Skype delivers s urpris ingly good voic e quality c alls over the
I nternet us ing s urpris ingly low data- rate requirements . T he data
rate that an I nternet c onnec tion c an s upport us ually is referred
to as its bandwidth. D ial- up modems have typic al c onnec tion
bandwidths in the range of 2 8 .8 to 5 6 kilobits per s econd (Kbps ),
or 3 .6 to 7 .0 kilobytes (KB) per s econd, where 1 byte equals 8
bits . Broadband c onnec tion s peed is typic ally meas ured in
hundreds of kilobits per s ec ond, and pos s ibly in megabits per
s econd (M bps ) for fas t c onnec tions , where 1 M bps equals 1 ,0 0 0
Kpbs . Skype typic ally c ons umes between 3 and 1 6 kilobytes per
s ec ond (2 4 Kbps to 1 2 8 Kbps ). H owever, obvious ly your Skype
experienc e will improve with higher available bandwidths . T his is
es pec ially true if you are doing other things s uc h as brows ing the
Web or downloading files while making a Skype c all.
Skype works with almos t any type of I nternet c onnec tion: dial-up
(where you c onnec t with a modem over a regular telephone line);
broadband Digital Subs criber Line (D SL , or its c ous in, As ymmetric
DSL or A D SL ); cable broadband; local area network (L A N ); Pers onal
Area Network (P A N , us ually us ing Bluetooth, whic h is a s hort-
range wireles s tec hnology); Wireles s Fidelity (WiFi) or hots pot (a
public wireles s c onnec tion); and even s atellite I nternet s ervic es
(whic h us ually c onnec t through a radio dis h pointing s kyward at
a geos ync hronous s atellite in s pac e). G iven any one of thes e
types of I nternet c onnec tions with enough bandwidth, and
c hanc es are you'll be Skyping in no time! H owever, you s hould
unders tand that good c all quality depends a great deal on having
s uffic ient bandwidth and low latenc y, whic h is a c hallenge if your
c onnec tion is through dial- up (poor bandwidth) or s atellite (poor
latenc y).
A s you will no doubt dis c over, you c an do things with Skype that
you s imply c annot do us ing your exis ting telephone s ys tem or
other VoI P offerings . T hes e "things " are not jus t tec hnologic al,
either, as many of them repres ent ways to s ave money that were
jus t impos s ible before. Skype is revolutionary bec aus e of the
tec hnology it us es . For that reas on, you are limited only by your
imagination. H appy hac king!
If you're new to Skype, this hack will have you talking online
quickly and with a minimum of f uss.
J us t like when you tes t- drive a c ar, the goal is to get you on the
road as quic kly as pos s ible and put Skype through its pac es , all
the while avoiding the potholes and other obs tac les that might
get in the way.
Follow thes e s teps and make your firs t Skype c all with a
minimum of aggravation and fus s :
Options
Platf orm category What to look at…
C hec k that the audio- in and
audio- out devic es are the
Windows Sound D evic es
ones you want to us e to make
c alls .
If you're new to Skype, this hack will have you chatting online
quickly and with a minimum of f uss.
For this hac k, I as s ume that you already have Skype up and
running, you've made your firs t Skype c all with "M ake Your Firs t
Skype C all" [Hack #1], and you're ready to explore Skype's c hat
feature. So, if you're ready to c hat, let's begin:
Check out how chat works online
Skype provides online vis ual guides that explain s pec ific
Skype features . Before embarking on a c hat s es s ion, you
would do well to get to know Skype's c hat features by
reviewing the c hat vis ual guide, loc ated at
http://www.s kype.c om/help/guides /mes s age.html.
Configure s ettings
Chat
Troubles hoot
Touc h and
C ontac ts
hold s tylus ,
Selec t a c all, rightc lic k,
then c hoos e
and c hoos e Start Send
"Send an
C hat…. I ns tant
I ns tant
M es s age…
M es s age"
C ontac ts
Selec t multiple c ontac ts , rightc lic k,
and then c hoos e Start C hat… Start
M ultic hat
If you're new to Skype, this hack will help you set up and make
a conf erence call quickly and with a minimum of f uss.
So, you've made your firs t Skype c all ("M ake Your Firs t Skype
C all" [Hack #1]), you're c hatting online ("C hat U s ing Skype"
[Hack #2]) with friends and family as though there's no
tomorrowwhat's next? Setting up and making a c onferenc e c all is
a s nap if you follow thes e s teps :
Configure s ettings
Talk
Troubles hoot
C ontac ts
Selec t a c ontac t, right- c lic k, and A dd
then c hoos e I nvite to C onferenc e. to
C onferenc e
T here are three eas y ways to try SkypeO ut. Firs t, you c an
purc has e s ome SkypeO ut c redits . Sec ond, you c an purc has e an
item of Skype- c ompatible hardware bundled with whic h is a
vouc her for SkypeO ut c all minutes . T hird, you c an us e a Skype
G ift C ertific ate that you've been given (vis it the web page for
Skype G ift C ertific ates at
http://s hare.s kype.c om/blog/produc ts _ands ervic es /we_bring_you…
_s kype_gift_c ertific ates / for details ).
You c an buy SkypeO ut c redits direc tly from the Skype web s ite,
http://www.Skype.c om/, us ing a variety of payment methods (but
s ee "A void P roblems P aying for Servic es " [Hack #15]). With
s ome c redits in hand, you c an s tart dialing regular telephone
numbers (s ee "D ial L ike a Wizard" [Hack #11]).
over the 1 thres hold for a full refund, it's not a total los s if you
c hange your mind about SkypeO ut, as you c an reques t a refund
of the unus ed balanc e of your c redits . I n fac t, you c an c laim a
refund at any time on thes e terms for your las t SkypeO ut c redit
purc has e, regardles s of whether it's your firs t c redit purc has e or
a s ubs equent top- up purc has e. H owever, SkypeO ut c redits do
expire, s o don't wait too long to reques t your refund (s ee "A void
Forfeiting SkypeO ut C redits " [Hack #21]).
Skype Voic email has a neat feature that allows you to s end
voic email to any Skype us er, regardles s of whether they are a
Skype Voic email s ubs c riber. Both Skype us ers and c allers that
us e your SkypeI n number, if you have one (s ee "Try SkypeI n,
Ris k Free" [Hack #5]), c an leave voic email mes s ages for you.
I ndeed, Skype Voic email is c urrently bundled for free with a
SkypeI n s ubs c ription.
A fter 3 0 days , Skype will refund only the unus ed portion of your
las t s ubs c ription payment on a pro rata bas is . I n fac t, you c an
c laim a refund on thes e terms at any time for a Skype Voic email
s ubs c ription, regardles s of whether it is a new s ubs c ription or a
renewal.
Using the Skype Zones service, you can wander the globe and
use Skype at any of the 18,000+ wireless hotspots available.
rather than euros ( ). Sec ond, trying the s ervic e is not ris k
free in the s ens e that there is no full refund option s hould you
dec ide that Skype Zones is not for you. H owever, on the plus
s ide, there is no long- term c ontrac t c ommitment, and in the
c as e of the Skype Zones U nlimited plan, you c an terminate your
s ubs c ription at any time by notifying Skype and Boingo at leas t
five days before the end of your billing c yc le.
You c an find full terms and c onditions for the Skype Zones
s ervic e at http://www.s kype.c om/produc ts /s kypezones /. You will
have to c lic k on the "Sign up for Skype Zones now to get
s tarted" link to get to a page with the text of the terms and
c onditions .
Hack 8. Transfer a File Using Skype
Using Skype, you can transf er f iles quickly and securely, even
while you talk or chat.
C ontac ts
Selec t the c ontac t, right- c lic k, and
then c hoos e Send File. Send
File
C ontac ts
Selec t the c all, right- c lic k, and
then c hoos e Send File. Send
File
C ontac ts
Selec t the c hat partic ipant, right-
c lic k, and then c hoos e Send File. Send
File
D rag- and- drop the file onto the
c hat window.
I n a multipers on c hat…
P ull- down
Selec t an individual c hat menu
partic ipant, right- c lic k, and then oppos ite
c hoos e Send File. T his initiates partic ipant's
file trans fer to only that pers on. name
Send File
P ull- down
D rag- and- drop the file onto an menu
individual c hat partic ipant. T his oppos ite
initiates file trans fer to only that partic ipant's
pers on. name
Send File
Figure 1-10. Icons for sending a file to one
Skype user, or to many at once
You c an initiate file trans fers at any time, but they will not s tart
until the rec ipient of a file ac c epts the trans fer (s ee Figure 1 -
1 1 ). You c an c arry out s everal file trans fers at the s ame time,
but eac h will open a new window on the rec ipient's mac hine,
as king to ac c ept the file trans fer. H aving to c onfirm eac h file
trans fer c an bec ome tires ome very quic kly if you have a large
number of files to trans fer. So, if you have large numbers of files ,
or whole direc tories to trans fer, you might want to c ons ider
"Trans fer Folders , N ot J us t I ndividual Files " [Hack #84] ins tead.
T he great virtues of Skype file trans fer are that it's eas y, it's
s ec ure, it works among different mac hines running different
operating s ys tems , and it will often work behind a
firewall/N etwork A ddres s Trans lation (N AT )/router and other
obs tac les when other methods s imply won't.
Hack 9. Make Toll-Free Calls
Most regular phone plans don't charge f or toll-f ree numbers you
call in your own country, but what about toll-f ree numbers in
other countries? Skype allows you to make f ree toll-f ree calls
f or your own country, and f or other countries! !
M any VoI P plans c harge for what would otherwis e be toll- free
c alls (1 - 8 0 0 and the like in the U .S. and other numbers
els ewhere) under a regular phone plan. I ndeed, until rec ently,
Skype als o c harged for thes e types of c alls .
N ow, many toll- free c alls are free when made us ing Skype. E ven
better, you don't have to be a SkypeO ut s ubs c riber to take
advantage of making toll- free c alls without paying a penny.
Regular phone plans normally don't c harge for c alling toll- free
numbers in your own c ountry, but that is not us ually the c as e for
toll- free numbers in other c ountries . I n fac t, s uc h numbers might
s imply be bloc ked. With Skype toll- free c alling, there is no s uc h
res tric tion.
Support for all types of toll- free numbers in all c ountries is not
yet available. Skype c urrently s upports the following c ountries
and number prefixes :
France
+3 3 - 8 0 0 , +3 3 - 8 0 5 , +3 3 - 8 0 9
Poland
+4 8 - 8 0 0
United Kingdom
+4 4 - 5 0 0 , +4 4 - 8 0 0 , +4 4 - 8 0 8
+1 - 8 0 0 , +1 - 8 6 6 , +1 - 8 7 7 , +1 - 8 8 8
You c an obtain toll- free direc tory as s is tanc e for s ome U .S. toll-
free numbers by c alling +1 - 8 0 0 - 5 5 5 - 1 2 1 2 . T he s ervic e is free,
but not all U .S. toll- free numbers are lis tedonly thos e for
s ubs c ribers that c hoos e to lis t them.
L as tly, if you've c onnec ted to a toll- free number and you have
problems navigating an automated phone s ys tem us ing Skype's
keypad (the "pres s 4 to get your ac c ount balanc e" s ort of thing),
"A void P roblems with I nterac tive Telephone Servic es " [Hack
#79] s hould help you.
Hack 10. Forward Calls
O ffline I mmediately
Skype M e Between three to five rings
To forward c alls you mus t firs t s pec ify the forwarding Skype
names or regular phone numbers (s elec t Skype Tools
O ptions … C all Forwarding & Voic email), as s hown in Figure
1 - 1 2 . To ac tivate c all forwarding you mus t put a c hec kmark in
the c hec kbox oppos ite "Forward c alls when I 'm not on Skype."
as s ome SkypeO ut rates are more than 1 per minute, and all
c alls are rounded up to whole minutes .
P erhaps the leas t error- prone method of finding the right digit
s equenc e to c all is to us e the Skype D ialing Wizard (s ee Figure
1 - 1 3 ), whic h you c an find at
http://www.s kype.c om/produc ts /s kypeout/rates /dialing.html.
T his wizard als o has the added advantage of giving you the per-
minute c all rate for the number you want to dial. A nd if your web
brows er is c onfigured properly (s ee "M ake C alls from Your Web
Brows er" [Hack #43]), you c an dial the number direc tly from
your brows er with jus t one c lic k.
A fter making the c all, you c an add the number to your C ontac ts
lis t if it's a number you are likely to c all often in the future. For
the Windows vers ion of Skype, you c an do this by navigating to
the C all L is t tab, right- c lic king on a c all entry, and s elec ting A dd
to C ontac ts . For the P oc ket P C vers ion of Skype, navigate to the
L og tab, s tylus touc h and hold on a c all entry, and s elec t A dd to
C ontac ts .
Is Skype ref using to play ball? Use these resources and tips to
troubleshoot problems with Skype.
T his hac k provides plac es to look for information and s eek help,
and s ome things to try for s ome of Skype's more- c ommon
problems .
T hes e online s ourc es of information and help are both us eful and
free! When res earc hing a problem, you s hould vis it thes e
information s ourc es in the s equenc e pres ented in the following
lis t.
Us er guides
Skype has put together a number of vis ual guides for its
s oftware, loc ated at http://www.s kype.c om/help/guides /.
T hes e vis ual guides are very good, as they break eac h
Skype ac tivity into s mall, eas y- to- follow s teps . O ften, a
quic k review of your ac tions for a partic ular Skype
ac tivity us ing one of thes e guides will pinpoint where,
and s ometimes how, things went wrong.
Troubles hooter
Knowledgebas e
Support reques t
1.13.2. Troubleshoot
E rror number: N /A
Skype dial keys don't work with phone s ys tems having interactive
menus
E rror number: N /A
1.13.2.2. Windows.
E rror number: N /A
E rror number: N /A
Sound is s tuttering
E rror number: N /A
E rror number: N /A
M os t likely c aus e: you are running 6 4 - bit L inux and
don't have 3 2 - bit vers ions of the Q t and other runtime
libraries ins talled on your mac hine.
H ac k 2 4 . M anage Bandwidth C os ts
2.1. Hacks 1324: Introduction
For s ome people, Skype might be a s uffic iently interes ting
applic ation of VoI P tec hnology to jus tify playing with it. For mos t
people, however, the motivation for bringing Skype into their life
will be bas ed on s imple ec onomic s . Skype has the potential to
s ave you money; in fac t, quite a lot of money!
I n this c hapter, I will help you get a handle on whether Skype will
s ave you money and, s pec ific ally, how muc h money. G iven the
wide range of telephone s ervic es that Skype c an potentially
replac e, or c omplement, I c annot c over every s c enario. But this
c hapter does provide s ome ways of looking at the potential
s avings and s ome tools to quantify thos e s avings . Your goal is
to es timate thes e s avings with a s uffic ient margin for error s o
that you will feel c onfident enough to make a dec is ion: s witc h to
Skype, or s tic k with what you've got.
Switc hing to Skype is not an all- or- nothing propos ition. You may
c hoos e to us e Skype merely as an adjunc t to your exis ting
phone s ervic es . A lternatively, you may c hoos e to run Skype in
parallel with your exis ting s etup for a while before s witc hing fully
to Skype. I f you're bold, you may leap right in and make Skype a
full- blown replac ement to your exis ting telephone s ys tem.
Whatever approac h you take, when figuring s avings your foc us
will nec es s arily be on the long- term s avings of your telephone
s ys tem as it will look s ometime in the future. For this reas on,
and as an aid for c omparis ons , I will expres s s avings on an
annual bas is .
When thinking about s avings that s tretc h far into the future, it is
nec es s ary to think like an ec onomis t to gauge your true lifetime
s avings . Savings from us ing Skype are likely to pers is t long into
the future, s o a $ 1 0 0 annual s avings is $ 1 0 0 s aved this year,
next year, and every year beyond that. Suc h a s eries of c as h
s avings s tretc hing as far as the eyeor at leas t the
imaginationc an s ee is termed a perpetuity. A $ 1 0 0 perpetuity is
c learly worth muc h more than jus t $ 1 0 0 , as it is really $ 1 0 0
s tac ked on top of $ 1 0 0 , on top of another $ 1 0 0 , and s o on, as
the years pas s by. For example, if you figure that by s witc hing to
Skype you will s ave $ 5 0 0 per year, jus t imagine having twenty-
five $ 2 0 bills c ounted into the palm of your hand at the end of
the firs t year, and then again at the end of the s ec ond year, and
then again and again year after year.
Hack 13. Back-of-the-Envelope Estimate
of Skype Savings
O n the Skype Hacks web s ite, you will find a hac k"Save M oney
with Skype"that leads you through a rather c omplete explanation
of how to determine how muc h you'll s ave by s witc hing to Skype.
H owever, if you s imply want to get a rough idea of your potential
s avings , you c an do s o with nothing more than a penc il, a
c alc ulator, and a blank s heet of paper (or an envelope).
I f you look at your c urrent telephone bill, you c an logic ally divide
it into two parts : variable c alls , and fixed c harges and taxes . I t
is not unc ommon for the latter, fixed c harges and taxes , to
c ompris e the major part of your phone bill. I ndeed, they
repres ented fully 5 6 % of my old phone bill!
Bas ic ally, the per- unit rate for anything other than 1 - minute
rounding is the per- minute c all rate (in your home c urrenc y),
times the rounding interval meas ured in s ec onds , and divided by
6 0 s ec onds . Shorter c all- rounding intervals are to your
advantage, s o you s hould know that SkypeO ut c alls are rounded
to the full minute. To unders tand more about c all rounding, you
may want to look at "Round C all T ime to Your A dvantage" [Hack
#23].
0 :1 7 3 1
0 :5 0 9 1
1 :1 2 12 2
1 :5 4 19 2
3 :0 4 31 4
1 6 :1 7 163 17
1 5 s ec onds 1 5 minutes 6%
1 5 s ec onds 3 0 minutes 3%
For the c alls for whic h you'd like to c ons ider us ing SkypeO ut,
es timate their average duration, their monthly total, and their
average c all rate (in your home c urrenc y per minute). You c an
es timate thes e averages by reviewing one or more pas t
telephone bills , or if you don't hang on to old bills , by gues s ing
your average c all duration and your total c all minutes per month
and getting an average c all rate from your phone c ompany's web
s ite. L et me remind you that for this bac k- of- the- envelope hac k,
we're not s triving for abs olute ac c urac y, only numbers with whic h
you feel c omfortable. Remember, you c an always c ome bac k later
with new numbers and redo the analys is . E nter your es timates in
Table 2 - 3 .
1 5 s ec 1 0 min
1 5 s ec 1 5 min
1 5 s ec 3 0 min
1 5 s ec 1 0 min
1 5 s ec 1 5 min
1 5 s ec 3 0 min
N ow go to the Skype web s ite and find an equivalent c all rate (or
an average of c all rates ) that matc hes your exis ting c all
des tination(s ). For example, if mos t of your c alls are to regular
U .S. phones , us e the SkypeO ut rate for the U .S. You c an find
SkypeO ut rates for all c all des tinations at
http://www.s kype.c om/produc ts /s kypeout/rates /all_rates .html.
A t the top of the SkypeO ut rates web page is a pull- down lis t
from whic h you c an c hoos e to have the rates quoted in your
home c urrenc y. E nter your es timate for the average SkypeO ut
rate in terms of your home c urrenc y in Table 2 - 5 .
Table 2-5. Calculating your effective SkypeOut
rate based on expected level of unused call time
A verage SkypeO ut rate ______________ _ per minute
N ow you're at the eas y part, bec aus e you've done all the hard
work.
Firs t, c opy your previous entries and res ults into Table 2 - 1 5 .
Your total c urrent phone bill is s imply the s um of your c os t of
c alls and your fixed c harges and taxes . L ikewis e, your total
es timated s avings are the s um of your es timated c all s avings
and fixed c harges and taxes s avings . To expres s your total
s avings as a perc entage, divide them by your total c urrent
phone bill. Total es timated s avings on an annual bas is are 1 2
times your total monthly s avings .
per
Total c urrent phone bill ______________
month
per Table 2 -
C os t of c all s avings ______________
month 7
Fixed c harges and taxes per Table 2 -
______________
s avings month 13
per
Total es timated s avings ______________
month
per
…as a % ______________
month
per
Total annual s avings ______________
year
per
Total c urrent phone bill $125
month
per
C os t of c all s avings $ 2 1 .6 0 month Table 2 - 8
per Table 2 -
Fixed c harges and taxes s avings $ 4 0
month 14
per
Total es timated s avings $ 6 1 .6 0
month
per
…as a % 49%
month
When making a dec is ion, you s hould als o fac tor in s ome margin
for error to c over the pos s ibility that your bac k- of- the- envelope
analys is is wide of the mark. C learly, the more unc ertain your
data, the more margin for error you s hould allow in your dec is ion
making. O f c ours e, another option is to improve your s avings
es timate by doing a more thorough analys is .
Pay the proper Sales and Use taxes and Value A dded Taxes
(VA T) to avoid the wrath of the taxman. Some people may even
qualif y to claim back VA T!
By s witc hing to Skype, you c an eas ily and legitimately s ides tep
many of the fixed c harges and fees . A ls o, you c an legally avoid
many, but alas not all, of the taxes .
What you c annot avoid are the "c ons umption" taxes that are
applic able to all produc ts and s ervic es you c ons ume, inc luding
thos e from Skype. I n the U .S., thes e c ons umption taxes are
typic ally known as Sales and U s e taxes , and may be levied at
the s tate and loc al level. I n the European Union (E U ), they are
known as Value A dded Tax, or more s imply, V AT. Similar taxes
apply the world over, though under different names .
O ften, thes e taxes are c ollec ted at the s ourc e and are folded
into the pric e of the produc t or s ervic e and c ollec ted on behalf of
the taxman by the vendor. H owever, when they are not s o
c ollec ted, your obligation to pay them does not go away.
Typic ally, Skype does not c harge V AT or any other tax on its
s ervic es if you res ide outs ide the E U . T hat means U .S. buyers of
Skype s ervic es are not c harged any tax.
I n the U .S., eac h s tate has its own Sales and U s e tax rate (for
s ome s tates , the rate is 0 % ). I f this tax is not c ollec ted (as a
s ales tax) by the vendor of a produc t or s ervic e you buy, you are
s till liable for it (as a us e tax) and mus t remit the tax owed. You
have, in effec t, been nominated by your s tate as your own tax
c ollec tor. I ndividuals us ually remit this tax as part of their
individual s tate annual tax return, and bus ines s es us ually remit
s pec ific Sales and U s e tax forms and payments quarterly. I n
addition, your loc al tax juris dic tion (town, c ity, c ounty, or
borough) may als o levy a Sales and U s e tax. V is it your s tate
and loc al tax authority's web s ites for more details .
What follows are s ome tips and guidelines on how to avoid muc h
of the aggravation as s oc iated with paying for Skype s ervic es .
2.4.2.1. Verification.
Before you c an make any Skype purc has es , you mus t go through
a proc es s of verifying your email addres s , during whic h you mus t
als o explic itly agree to Skype's Terms of Servic e.
When you firs t buy Skype c redits you are limited to buying only
1 0 worth. Subs equently, you c an buy c redits in inc rements of
1 0 and 25.
2.4.2.6. Delays.
2.4.2.9. VAT.
I f at any time and for any reas on, you are unhappy with any
Skype s ervic eSkypeO ut, SkypeI n, or Voic emailyou c an reques t
a refund of your las t s ubs c ription payment.
For SkypeO ut, if you have s pent les s than 1 of your las t
s ubs c ription payment, Skype will refund the whole amount of that
For SkypeI n and Voic email, if you as k for a refund within 3 0 days
of your las t payment, Skype will refund the whole amount of that
payment. A fter more than 3 0 days , Skype will refund only the
amount remaining for your s ubs c ription on a pro rata bas is .
A gain, if your reques t is granted, this type of refund will take five
to s even bus ines s days to appear in your online financ ial
s tatements . I f your reques t is not granted, and you s till think
you're in the right, you c an report the problem to your c redit c ard
or online payment proc es s ing c ompany.
I f you paid for Skype s ervic es us ing P ayP al or a c redit c ard and
Skype has refus ed to refund your money, you have the option of
initiating a charge back (a c harge bac k oc c urs when you, the
c us tomer, try to rec over your money from your financ ial
ins titution, whic h will then, in turn, try to rec over the money from
Skype).
Before making a c harge- bac k reques t, you typic ally mus t s how
that you have made a good- faith effort to res olve the is s ue with
the merc hantin this c as e, Skype. Keep a good paper trail and be
s ure to do things in a timely fas hion as your option to initiate a
c harge bac k might be time limited (you mus t typic ally dis pute a
c harge within 6 0 days of rec eiving the s tatement on whic h the
c harge appears ).
For a c harge bac k to work, you mus t prove that Skype has
breac hed s ome c ontrac tual terms , ac ted in blatant bad faith, or
been s o outrageous that the vas t majority of people would find
their behavior reprehens ible. Bas ic ally, you mus t pers uade your
financ ial ins titution that you are right and Skype is wrong.
SkypeO ut rates vary by c all des tinationwhere you are c alling to,
not where you are c alling from. A c all to your next- door neighbor
is c harged the s ame SkypeO ut rate whether you are c alling from
your home or from a vac ation hotel thous ands of miles away.
M oreover, SkypeO ut rates do not depend on the time of day or
anything like that.
SkypeO ut rates for mobile phones vary not jus t by des tination
c ountry, but als o by mobile network c arrier. So, for example, the
SkypeO ut rate for c alls to mobile phones in Belgium might
depend on whic h mobile c arrier is the provider for the c all
rec ipient.
O bvious ly, as Skype- to- Skype c alls are always free, one way of
avoiding higher SkypeO ut rates c ompletely is to c onvert friends ,
family, and others to Skype. From Skype's menu bar, jus t s elec t
Tools Share Skype with a Friend (C ontac ts Share
Skype with a Friend…on M ac O S X; the option is not available on
P oc ket P C ), and follow the ins truc tions . I t's as s imple as that.
C learly, if you c an't c onvert others to Skype, another obvious
way to avoid SkypeO ut rates for c alls that are higher than their
lowes t global rate is not to make s uc h c alls ! T his might s eem a
rather fatuous piec e of advic e, were it not for the fac t that it is
eas y to c all a higher rate number inadvertently (for example, a
mobile phone or U K s hared c os t number).
I n an ideal world, Skype would tell you if it will bill for the number
you are dialing at a rate higher than its global rate, and as k you
whether you want to proc eed before plac ing the c all. A las , we
live in a les s - than- ideal world.
Before making the c all, you c an either look up the rate on the
Skype web s ite, or plac e the c all through Skype's D ialing Wizard
(or through the Skype Widget on M ac O S X; s ee "D ial L ike a
Wizard" [Hack #11]). H owever, doing this for every c all would be
overkill, s o you might want to c ons ider doing this only when you
are c alling a number you have not c alled before, or if you are
s imply uns ure.
When s hopping around for the very lowes t rates , you may want to
trade off s ome potential s avings agains t the c os t in terms of
your time s pent hunting down the very bes t deal. O nc e you are
down into s ingle- digit euro c ent rates ( 0 .0 1 to 0 .0 9 ),
unles s your c all volume is exc eedingly high, s hopping around is
mos t dis tinc tly an ac tivity of diminis hing returns .
Hack 18. Avoid Additional Mobile Phone
Charges
The rate charged f or both the Skype caller and a mobile phone
recipient can vary depending on what mobile phone is called and
where it is geographically located.
Join the Skype A f f iliate Program and have Skype pay you!
I f you have your own web s ite or blog, you c an refer people to
Skype and get paid for it under Skype's A ffiliate P rogram. You
get paid a perc entage of the money s pent by thos e people whom
you refer to Skype via your web s ite or blog, and who
s ubs equently buy Skype s ervic es within 9 0 days of being
referred. H ere's how it works :
Skype will trac k who buys , how muc h they buy, and when they
buy. E very c us tomer who c lic ks through to Skype from your web
s ite is c ounted, even if he vis its Skype's web s ite direc tly later
on. P rovided he purc has es Skype s ervic es within 9 0 days from
c lic king through from your s ite, you will get a piec e of the ac tion.
Before inves ting the time and effort to s ign up for the Skype
A ffiliate P rogram and modifying your web s ite or blogall of whic h,
inc identally, took me les s than 1 5 minutes you might want to do
s ome s imple money c alc ulations .
C ons ider this what- if s c enario. Suppos e that with jus t a little
effort promoting your web s ite, and Skype s ervic es s pec ific ally,
you judge that 3 ,0 0 0 referrals per month and a 1 0 % c onvers ion
rate are not unrealis tic . T hat means 3 0 0 c onverts to Skype
s ervic es per month. Furthermore, of thes e c onverts , s uppos e
2 5 0 buy 1 0 of SkypeO ut c redits , 1 0 0 of thos e als o buy a
one- year s ubs c ription to SkypeI n, and 5 0 buy voic email only.
C runc hing the numbers , here's what we get:
For thos e who want to look at different s c enarios and how they
might profit from the Skype A ffiliate P rogram, a Skype A ffiliate
I nc ome E s timator s preads heet is available from this book's web
s ite at http://www.oreilly.c om/c atalog/SkypeH ac ks /index.html.
P rogramming us ing the Skype A P I is not diffic ult, and there are
s ome free c omponents that allow you to c all the A P I from
different languages . For thos e too intimidated by the Skype A P I ,
an alternative is s c ripting languages for extending Skype's
func tionality. O r, you c an us e s c ripting in c onjunc tion with the
A P I , whic h is dealt with in C hapter 1 2 .
M any Skype add- ons are free, but many are als o being s old.
O bvious ly, add- ons with "mus t have" func tionality are more
likely to s ell. To get s ome idea of what s orts of add- ons for
Skype already exis t and how they are being s old, s ee C hapter
11.
You will los e your SkypeO ut c redits only if you are an infrequent
SkypeO ut us er. I f you keep a SkypeO ut balanc e only for
emergenc ies , travel, or whatever, you mus t make the oc c as ional
c all jus t to avoid forfeiting your remaining SkypeO ut balanc e. A s
the Skype "Terms of Servic e" (M ay 2 0 0 5 ) s tates :
M ake at leas t one c all every 1 8 0 days and keep your SkypeO ut
c redits s afe.
Hack 22. Get the Best Deal for VoIP
Telephony
Skype is not your only option f or VoIP telephony. You may want
to consider other providers instead of or as a complement to
Skype, based on your needs.
Skype offers free Skype- to- Skype c alls and s ome of the lowes t
rates available for c alls to regular phones . H owever, other VoI P
providers offer rates lower than Skype for s ome c all
des tinations . Some even offer free c alling to des tinations for
whic h Skype c harges . M oreover, there might be other s ervic es
(for example, 9 1 1 emergenc y s ervic e) that Skype does not
provide and whic h are important to you.
http://www.jajah.c om/
O ver the long run, the way in whic h c all times are rounded c an
make a big differenc e. T his is partic ularly true if your c all volume
is large, as it might be for medium to large organizations that
us e SkypeO ut.
To illus trate why, c ons ider this example. Ten thous and c alls are
made with a random duration of between 1 5 and 6 0 s ec onds .
Firs t, c alls are rounded up to the next 6 - s ec ond interval, and
then c alls are rounded up to the whole minute. U s ing jus t one s et
of randomly generated data, you s hould get res ults s imilar to
thes e: 6 - s ec ond rounding 6 6 ,2 4 0 (approx.) billing units ,
and 1 - minute rounding 1 0 ,0 0 0 (exac t) billing units .
Furthermore, s uppos e c alls are uniformly pric ed at $ 0 .1 0 per
minute (that's $ 0 .0 1 per 6 - s ec ond interval). C learly, 1 - minute
rounding will res ult in a total bill of $ 1 ,0 0 0 . H owever, by
c ontras t, 6 - s ec ond rounding will bring the total bill down to
about $ 6 6 0 . T hat's a big differenc e. Remember, the per- minute
c all rate is the s ame in both c as es ; rounding alone ac c ounts for
the differenc e.
When c alls are rounded not to the next s ec ond, but up to s ome
other time interval, for s ome frac tion of your c alls that fall s hort
of the next full time inc rement, you are effec tively paying for c all
time that you don't us e. To s ee the s ignific anc e of this effec t,
let's again look at s ome res ults from making 1 0 ,0 0 0 random
c alls bas ed on a minimum and maximum time limit for the c alls
(s ee Table 2 - 1 9 ).
15 1 6% 38%
15 3 2 .5 % 22%
15 10 1% 9%
15 15 0 .5 % 6%
15 30 0 .3 % 3%
E ven though SkypeO ut rates are s ome of the lowes t there are,
the downs ide is that Skype rounds c alls to the neares t minute.
So, a c all between 5 s ec onds (not 1 s ec ond, for reas ons
dis c us s ed s hortly) and 6 0 s ec onds will be rounded up to 1 whole
minute for billing purpos es . L ikewis e, a c all of N minutes plus 1
to 6 0 s ec onds will be rounded up to N + 1 minutes and billed
ac c ordingly.
P ay s pec ial attention to the fac t that only the firs t 4 s ec onds of
a c all are free. O nc e a c all is 5 s ec onds or longer you will be
billed for a full minute. T hereafter, all frac tions of a minutefrom 1
s ec ond to 6 0 s ec onds are rounded to a whole minute for billing
purpos es . So, for example, a c all las ting 6 minutes , 1 s ec ond will
be billed as a 7 - minute c all.
A minute s aved here and a minute s aved there, and pretty s oon
you're into s ome s erious s avings . J us t remember, the
s ys tematic applic ation of thes e rules for c all rounding will s ave
you plenty in the long run.
For thos e readers who would like to analyze the ec onomic effec ts
of c all rounding in more detail, perhaps in c omparis on with an
exis ting c all plan, a Skype C all M inutes Rounding E s timator
s preads heet is available from the book's web s ite at
http://www.oreilly.c om/c atalog/SkypeH ac ks /index.html.
Hack 24. Manage Bandwidth Costs
2.13.1. Monitoring
2.13.2. Metering
I f you need Skype for only a limited part of the days ay, 9 a.m. to
5 p.m., or whatever your bus ines s hours areyou c an s tart and
s top Skype bas ed on the time of day (s ee "Run Skype Bas ed on
T ime of D ay" [Hack #41]). T hat way, Skype will be running for
only that part of the day for whic h you need it.
U nles s s tated otherwis e, this c hapter will as s ume that you have
a broadband c onnec tion that is provided through c able, your
phone line (typic ally s ome flavor of D SL ), or a WiFi or Bluetooth
wireles s link. N ote that while it is pos s ible to us e Skype over a
dial- up c onnec tion, c all quality in that c as e is s uc h a hit- or-
mis s affair that it won't be c ons idered a viable option in this
c hapter.
M oreover, bear in mind while you read the hac ks in this c hapter
that your I nternet c onnec tion s ometimes determines how you
c an and c annot c onfigure Skype the way you want. For example,
if you obtain your I nternet c onnec tion through s ome flavor of
D SL , you will almos t c ertainly have to retain at leas t one regular
phone line no matter what. T he s ame may als o be true if you get
your I nternet c onnec tion through s atellite bec aus e many
s atellite I nternet s ervic es us e a dial- up c onnec tion for s ending
data and a s atellite dis h for rec eiving data (whic h, of c ours e, is
highly as ymmetric and not good for VoI P ).
H ome and offic e us ers of Skype really have to dec ide firs t
whether they only want to make and rec eive c alls while they're
s itting at their c omputer, or whether they want the s ame
flexibility that their c urrent phone s ys tem affords . Your c hoic e of
s ound devic e will dic tate into whic h of thes e two c ategories of
Skype us ers you will fall. Sound devic es that tie you to your
c omputer are ones that plug into your mac hine and provide only
one voic e c hannel; and, as thes e devic es typic ally c onnec t to
your c omputer by means of a c able, your freedom of movement
during a c all is nec es s arily c ons trained to the length of that
c able. "C hoos e and C onfigure a M ic rophone and Speakers "
[Hack #27] and 'C hoos e and C onfigure a U SB H ands et or
H eads et" [Hack #28] dis c us s c onfigurations of this kind. Sound
devic es bas ed on Bluetooth or that interfac e to exis ting phone
equipment s pread throughout your home or offic e do not tie you
to your c omputer. Suc h devic es provide func tionality that more
c los ely res embles a regular phone s ys tem; namely, limited
mobility within the c onfines of your home or offic e. 'C hoos e and
C onfigure a Bluetooth H eads et" [Hack #29] des c ribes a hands -
free way of making and rec eiving c alls while walking about, and
'C onfigure Skype to U s e Regular P hones " [Hack #30] des c ribes
a c onfiguration that c an, if you take it to the limit of its
pos s ibilities , res ult in a phone s ys tem driven by Skype that is
almos t indis tinguis hable from your exis ting phone s ys tem.
T his c hapter inc ludes hac ks that will have you playing around
with hardware and pos s ibly tinkering with your exis ting phone
s ys tem and wiring. T herefore, a few guidelines are in order.
3.5mm plug
USB plug
Bluetooth dongle
Windows
Linux
Mac OS X
Pocket PC
M y experienc e has been that it always pays to s pec ify explic itly
the s ound devic es that Skype us es . N owhere is this truer than
for U SB devic es , as oftentimes the las t U SB s ound devic e to be
plugged into your c omputer s eems to as s ume it has a G od- given
right to bec ome your default s ound devic e. T his s ometimes als o
means that it will bec ome your default s ound devic e for Skype
regardles s of whether that was what you wanted. T his is
es pec ially the c as e if your c omputer has s everal s ound devic es
of various types c onnec ted to it.
To c ut your inc oming phone wires s afely you will need a pair of
wire c utters (or s harp s c is s ors ) with ins ulated handles and a roll
of elec tric al ins ulation tape, and you will need to follow a s imple
proc edure to do the ac tual c utting, as s hown in Figure 3 - 3 .
Windows
General
Sound-out
Sound-in
Linux
General
Sound-in
Mac OS X
General
Sound-out
Sound-in
I f you have jus t ins talled Skype and want to give it a try, or if
you're having problems with your s ound s ys tem or s ound quality,
there is no better way to tes t Skype than to us e its ec ho s ervic e.
I f your ec ho1 2 3 tes t does n't work, you have a problem. While it
is impos s iblegiven the s heer variety of hardware availableto give
s pec ific advic e on how to repair or c onfigure your s ound s ys tem,
there are s ome general guidelines that, if followed, are likely to
fix the problem with the leas t pain (s ee "Troubles hoot Skype"
[Hack #12]).
Hack 27. Choose and Configure a
Microphone and Speakers
I f you don't have a s peaker s ys tem and you mus t buy one,
almos t any s peaker will do, as the demands for voic e
c ommunic ation are quite low. Bear in mind that you don't s peak
in s tereo, s o a mono s peaker is perfec tly adequate to make and
rec eive c alls with Skype. P erhaps of more c onc ern is how you
want to c onnec t a s peaker to your c omputer. A 3 .5 mm plug is
the mos t c ommon way to c onnec t to a s ound c ard. But if you
don't have a s ound c ard and you do have a s pare U SB port,
s peakers are available that plug into a U SB port and are s elf-
c onfiguring (as a s ound- out devic e), and may indeed be powered
only by the port its elf (needing one les s main power s oc ket).
U s ing a mic rophone and s peaker with Skype will mean s etting up
a c onfiguration like one of thos e s hown in Figure 3 - 6 .
Us age
Pros
Cons
Us age
Pros
Cons
Bas ic hands et
Advanced hands et
Heads et
Wireles s heads et
Us age
Cons
Option 3
Us age
Cons
By making your existing phones work with Skype, you not only
eliminate the expense of buying new ones, but you also end up
with a phone system that largely looks and f eels the same as
bef ore.
C onnec ting your exis ting phones to Skype is eas y. U s ing this
hac k, you c an hac k around with your exis ting phone s ys tem in a
variety of interes ting ways , from s imply having the c onvenienc e
and familiarity of a regular phone next to your c omputer for
making and rec eiving Skype c alls , to driving all the exis ting
c opper wiring throughout your hous e us ing Skype in what is
bas ic ally a replac ement of your regular phone s ervic e. I f all this
s ounds s omewhat daunting, don't worry, as even the mos t
advanc ed hac king requires little more than a pair of wire c utters ,
a roll of elec tric al ins ulation tape, and a little c ommon s ens e!
O ptions for c onfiguring Skype with regular phones run the whole
gamut from s imply us ing a regular phone hands et while s itting at
your c omputer, to driving your home phone s ys tem with Skype
(s ee Figure 3 - 1 1 ). L ook at the available c hoic es and how you
would like to us e Skype with your exis ting phone infras truc ture.
A nd, as perhaps a key part of your dec is ion making, c ons ider
how muc h money you want to s have off your c urrent phone bill.
C harac teris tic ally, the more you do with Skype and the les s you
us e the s ervic es of your regular phone c ompany, the more
money you c an s ave. L as tly, bear in mind that Figure 3 - 1 1 and
Figure 3 - 1 3 merely s how s ome of the c onfiguration options you
might want to try; don't be afraid to experiment and let your
imagination run free, as Skype and its underlying tec hnologies
are almos t begging to be hac ked!
Us age
Pros
Us age
Pros
Cons
A dapting your exis ting phone infras truc ture to work with Skype,
in whole or only in part, c an be a c hallenge. But then again, the
payoff c an make the effort worthwhile. I ndeed, with a little
planning, s ome s mall expenditures on new equipment (whic h you
rec oup through your s avings within a matter of months ), and a
willingnes s to experiment, you c an in large meas ure replic ate
your exis ting phone s ys tem and s ervic es , but at a frac tion of
what you pay now. I des c ribe my Skype phone s ys tem in "Build a
Skype Server" [Hack #35]; my es timated s avings us ing this
s ys tem are a little s hy of $ 7 0 0 per year. T hat's $ 7 0 0 this year,
next year, the year after that, and in s ubs equent years big
s avings ! M oreover, with a little ingenuity, there are workarounds
for mos t of Skype's 'limitations "9 1 1 , 4 1 1 , fax, and s o forthand I
pres ent thes e workarounds as hac ks in C hapter 1 0 .
So, pic k a c onfiguration option and get hac king! (A nd s aving! )
Hack 31. Configure Skype on a Laptop
M uc h, but not all, of your Skype data is now s tored on the Skype
network. E xamples of the s tuff you leave behind are voic email
his tory, c hat his tory, and your c all lis t.
So, if when you next log onto Skype on your laptop, you want to
s ee exac tly what you las t s aw on your des ktop, s ync hronize the
Skypename folders on the two mac hines :
Windows
C:\Documents and Settings\Username\Application
Data\Skype\Skypename
Linux
/home/Username/.Skype/Skypename
Mac OS X
/Users/Username/Library/Application
Support/Skype/Skypename
Username is your login name for the mac hine and Skypename is the
name you us e to log in to Skype.
Comfort
Size
Cos t
Skype has not made public the rules by whic h partic ular
mac hines bec ome s uper nodes . H owever, if you dis able Skype's
us e of ports 8 0 and 4 4 3 , you c ertainly lower the probability that
your mac hine will bec ome a s uper node. To dis able ports 8 0 and
4 4 3 , s elec t Skype Tools O ptions … C onnec tion
on Windows and unc hec k the "U s e port 8 0 and 4 4 3 as
alternatives for inc oming c onnec tions " box (s elec t Skype
Tools O ptions … A dvanc ed on L inux; the option is not
available on M ac O S X).
Hack 32. Configure Skype on a Pocket
PC
M ore and more public plac es have s ome form of free wireles s
ac c es s (for example, public libraries and c offee s hops ), and
others have paid wireles s ac c es s (for example, Skype's own
Skype Zones s ervic e). M os t workplac es have s ome form of
wireles s c onnec tivity to the I nternet, and the s ame is true of
many homes .
M any web s ites offer to meas ure your I nternet c onnec tion s peed
free of c harge. G oogling on "meas ure I nternet c onnec tion
bandwidth" will produc e a long lis t of s uc h s ites . O ne of the more
c omprehens ive, and free, s ervic es is available at
http://www.numion.c om/. T his s ervic e meas ures the upload and
the download s peeds of your I nternet c onnec tion and, as an
added bonus , meas ures your c onnec tion's latenc y (s ee Figure
3 - 1 3 ).
Figure 3-13. Measuring the bandwidth and
latency of your Internet connection
T he M axSpeed tes t at
http://www.numion.c om/ requires that you
have the J ava 2 P latform, Standard E dition
(J 2 SE ) ins talled on your mac hine. J 2 SE is
free, and you c an download it at
http://java.s un.c om/.
Hack 34. Test Your Internet Connection
Latency
Skype works by c onnec ting one mac hine to another over great
dis tanc es , s ometimes on oppos ite s ides of the globe. Between
the two mac hines is the I nternet. N ot s urpris ingly, depending on
the s peed of your I nternet c onnec tion and how data is routed
over the I nternet, end- to- end or one- way latenc y (between
c aller and rec ipient) c an grow quite long. A nything over 0 .3
s ec onds will make your c onvers ation more and more forc ed, in
the s ens e that you will have to paus e to know with c ertainty that
the s peaker has s topped s peaking, or ris k talking over one
another. A latenc y of between 0 .1 5 and 0 . 3 s ec onds is
notic eable, but c an be ac c ommodated fairly eas ily provided the
c allers c ooperate; this is es pec ially true if the c allers know eac h
other, as eac h will be s omewhat familiar with the other's
s peaking habits . A nything below 0 .1 5 - s ec ond latenc y and your
c onvers ation will be little different from a good landline
c onnec tion.
You have two c hoic es when building a Skype s erver: build one, or
c onvert an old mac hine you have c onveniently at hand.
Whic hever route you take, there are a number of c hec kpoints
worth addres s ing firs t:
1. A re Skype's minimum hardware requirements met? See
Table P - 1 in this book's P refac e for Skype's minimum
hardware requirements at the time of this writing.
O C Z value s eries 5 1 2 M B (2 x 2 5 6 M B) 1 8 4 - P in D D R
SD RA M unbuffered D D R 3 3 3 (P C 2 7 0 0 ) dual- c hannel $ 4 3 .7 5
kit s ys tem memory
Total $ 2 5 3 .4 9
H ere's a s tep- by- s tep guide to getting your Skype s erver up and
running:
10. C onnec t the adapters to your home phone lines via the
RJ 1 1 s oc kets in your wall (in the U .S.; other c ountries
us e different s oc ket types ). Tes t Skype again us ing
phones plugged in throughout your hous e.
12. I f all has gone well, you now have 2 4 /7 phone s ervic e on
two phone lines all provided by Skype. You'll never
rec eive a phone bill from your regular phone c ompany
againnow ain't that s omething!
I nc identally, the prec eding s tep- by- s tep guide is not s ome
theoretic al mus ing on how to s et up and c onfigure a Skype
s erver. Q uite the c ontrary, it's the proc edure I us ed to replac e
my exis ting home phone s ys tem c ompletely with Skype (s ee
Figure 3 - 1 5 ).
For thos e readers who are s ec urity c ons c ious and don't trus t
Skype yet, building a Skype s erver has an added advantage. By
plac ing the Skype s erver on your I nternet c onnec tion outs ide
your firewall, you gain the piec e of mind that s hould a hac ker
break into your s erver or c ompromis e Skype s omehow, as the
s erver interfac es with nothing more than c opper phone lines
beyond the firewall, any damage will nec es s arily be c ontained
and limited to the Skype s erver outs ide the firewall. T he wors t
c as e is that you'll need to do a reins tall on your Skype
s erverand, perhaps , a better job of loc king it down from a
s ec urity point of view s o that it c an protec t its elf. I ndeed, if your
firewall is s uffic iently res tric tive that Skype won't work on the
ins ide, plac ing your Skype s erver outs ide your firewall is the
only way in whic h you c an take advantage of Skype's phone
s ervic es .
Hack 36. Make Skype Work with
Personal Firewalls
M any VoI P applic ations s imply don't work from behind a firewall
or N etwork A ddres s Trans lation (N AT ) devic e. A nd many, if not
mos t, broadband I nternet us ers operate from behind one or the
other, or both!
Telnet
Software firewalls run on your mac hine and monitor inc oming and
outgoing I nternet traffic for malic ious ac tivity. M oreover,
applic ations that c onnec t to the I nternet from your mac hine are
als o monitored and, indeed, are us ually bloc ked from c onnec ting
until you give them explic it permis s ion. Windows XP (SP 2 ) and
M ac O S X c ome with their own firewalls that are turned on by
default. M os t L inux dis tributions have a firewall inc luded, though
it may not be enabled by default. M oreover, s everal firewall
applic ations are available from independent vendors and from
open s ourc e projec ts .
Windows XP SP 2 Firewall
ZoneA larm P ro
M c A fee Firewall P ro
You c an find thes e guides at
http://www.s kype.c om/help/guides /firewall.html.
To have s everal phone lines you mus t have s everal ins tanc es of
Skype running. T hes e ins tanc es c an run on different mac hines ,
or on a s ingle mac hine. For this to work, eac h ins tanc e of Skype
mus t run independently from the others . T his hac k gives s ome
s ugges tions on how to s et up and c onfigure multiple phone lines
us ing Skype.
You c an have multiple phone lines through a s ingle mac hine, but
it will require a little bit of forward planning, s etup, and
c onfiguration. H ere's the proc edure:
Before tes ting your I nternet c onnec tion for Skype friendlines s ,
it's worth s ummarizing what an ideal P 2 P - friendly c onnec tion
s hould look like:
Table 3-2.
TCP RESULTS:
TCP unsolicited
filtered:
connections YES (GOOD for security)
UDP RESULTS:
UDP consistent translation: YES (GOOD for peer-to-peer)
Simultaneous open
A lot of the more up- to- date s ound hardware has built- in ec ho
c anc ellation and nois e reduc tion, often implemented through
digital s ignal proces s ing (D SP ). T his is partic ularly true for array
mic rophones . H aving dec ent s ound hardware is always a good
inves tment for the Skype us er. So, depending on your budget,
upgrading your s ound hardware in the fac e of pers is tent and
inc urable ec ho and nois e is a worthwhile c ons ideration,
partic ularly if the remainder of this hac k does n't c ure the
problem.
A s for any problem, you s hould firs t try to is olate it. Tes t your
s ound s ys tem outs ide of Skype (s ee "Tes t Your Sound Sys tem"
[Hack #25]). I f you s till have ec ho and/or nois e problems
outs ide of Skype, there's s omething wrong with your s ound
s etup. O therwis e, you know the problem is with Skype.
Symptom: echo
Windows
C:\Documents and Settings\Username\Application
Data\Skype\Skypename\config.xml
Linux
/home/Username/.Skype/Skypename/config.xml
Mac OS X
/Users/Username/Library/Application
Support/Skype/Skypename/config.xml
Pocket PC
\Application Data\Skype\Skypename\config.xml
Username is your login name for the mac hine and Skypename is the
name you us e to log in to Skype.
Linux
/home/Username/.Skype/shared.xml
Mac OS X
/Users/Username/Library/Application
Support/Skype/shared.xml
Pocket PC
\Application Data\Skype\shared.xml
Windows
Linux
DISPLAY=:0
0 9 * * 1-5 /usr/bin/skype
0 17 * * 1-5 killall skype
N ote that if you omit DISPLAY=:0, you will likely find that
Skype won't be dis played on your s c reen.
Mac OS X
For M ac us ers who s hun the c ommand line, or s imply don't know
what crontabs is and don't want to knowthere is a s imple way to
have Skype s tart and s top on the days and at the times you
c hoos e. T hat way, you c an c ontrol when you are available to
rec eive c alls and, at the s ame time, ration Skype's c ons umption
of I nternet bandwidth, whic h may be important if you need it for
other things or if you pay for your I nternet traffic by the
megabyte or gigabyte.
-- File: skype_start.scpt
-- File: skype_stop.scpt
For example, to run Skype only from 9 a.m. to 5 p.m. eac h day,
open iC al and define a new event (iC al File N ew
E vent). Set the event for 9 a.m. and make it repeat every day.
Set the alarm for this event to run the s c ript s kype_s tart.s cpt "on
date" at exac tly 9 a.m. Set a s imilar event for 5 p.m. and
as s oc iate it with s kype_s top.s cpt. Your c alendar s hould now have
two events that brac ket the period for whic h you want Skype to
run, and it s hould look s omething like Figure 3 - 1 7 .
Conf igure Internet Explorer so that you can make calls directly
f rom a web page or f rom the browser toolbar.
T here are three ways in whic h you c an make c alls direc tly from
within a web brows er. T he firs t method us es the U RL prefix
s kype: (note the mis s ing //, as this method won't work if you
inc lude //) to c ontrol Skype from within a brows er. T he s ec ond
method us es the callto:// U RL prefix and c an be us ed in a number
of ways to make c alls , inc luding from your brows er's addres s bar
or from a link embedded in a web page. T he third method us es
the Skype Toolbar, whic h is an add- on applic ation for I nternet
E xplorer (and is available for M ic ros oft O utlook as well) that you
c an download at http://www.s kype.c om/produc ts /s kypetoolbars /.
4.2.1. skype:
<head>
<title>skype: URL</title>
</head>
<body>
<p><a href="skype:echo123?call">
Skype's sound test service (echo123)</a>
</p>
</body>
</html>
You c an even enter s kype: U RL s from the run line (but not from
the c ommand prompt window), and from the Windows E xplorer
addres s bar! For example, s elec t Start Run …, enter
"s kype:ec ho1 2 3 ? c hat", and pres s E nter or c lic k O K. A c hat
window will open, enabling you to c hat with Skype's s ound- tes t
s ervic e (ec ho1 2 3 ). E ntering the s ame U RL in the Windows
E xplorer addres s bar will ac hieve the s ame res ult.
4.2.2. callto://
When you ins tall Skype on Windows , you are given the c hoic e to
as s oc iate callto:// with Skype. H owever, if you failed to make that
c hoic e during ins tallation, or if callto:// s imply is n't working
properly, you c an eas ily fix it us ing one of two methods .
Firs t, s elec t Skype Tools O ptions … A dvanc ed,
and then under the O ther c ategory c hec k the "A s s oc iate Skype
with c allto: links " c hec kbox. I f that fails to work for you, you may
want to try the s ec ond method (a third method us es the Windows
regis try, but I don't rec ommend it).
Sec ond, from within Windows E xplorer (the file brows er that
c omes with Windows ), s elec t Tools Folder O ptions … and in
the dialog that opens c lic k on the File Types tab. Sc roll down the
lis t of file types until you find U RL : C allTo P rotoc ol; highlight it,
and then c lic k on the A dvanc ed button. I n the E dit File Type
dialog that opens , highlight the "open" ac tion and c lic k E dit….
T hat will open the dialog s hown in Figure 4 - 2 . U nder
"A pplic ation us ed to perform ac tion," enter the c ommand
C:\Program Files\Skype\Phone\Skype.exe "/callto:%1" (replac ing
the path to Skype.exe with your own, if required). C lic k O K, and
now, any time I nternet E xplorer (or, indeed, Windows E xplorer)
enc ounters callto://, it will pas s the reques t on to Skype.
Windows Explorer
Web-page link
<head>
<title>Skype Callto</title>
</head>
<body>
<p><a href="callto://echo123">Call echo123</
</body>
</html>
Skypename c an be a Skype us ername or, if you are a SkypeO ut
s ubs c riber, a regular telephone number.
A ll this func tionality is pac ked into a s urpris ingly s mall s pac e on
your I nternet E xplorer toolbar (s ee Figure 4 - 4 ). A nd bes t of all,
the Skype Toolbar is free.
Figure 4-3. Fragment of a web page showing
how the Skype Toolbar makes calling easy from
web pages with phone numbers
Figure 4-4. The Skype Toolbar
Hack 44. Accelerate Skype Using Your
Keyboard
Ctrl-Shift-S, Alt-T, L
Will repeat the las t c all you made from the Skype
addres s bar.
D on't be afraid to experiment, as it often takes a little trial and
error (and s ometimes a notepad and penc il) to find the right key
s equenc e for what you want to do. T his method works bes t, of
c ours e, when key s equenc es are s hort, as they're obvious ly
eas ier to remember. H owever, even c omplex key s equenc es c an
be put to good us e, and I 'll s how how next.
L et's look at s ome examples and the powerof this s imple s c ript:
drive_skype.vbs "^+S|%(TO)|{TAB}|{TAB}|{DOWN}|{DOWN}|
{DOWN}|{DOWN}| {TAB}|{TAB}|L|{TAB}|L|{TAB}|L|{TAB}|
{TAB}|{TAB}|{ENTER}" will, in my c as e, s et the s ound input
and output devic e us ed by Skype to L ogitec h U SB
H eads et (note the L in the s c ript). A n identic al key
s equenc e, but with L replac ed with C, will, again in my
c as e, s et the s ound input and output devic e us ed by
Skype to C - M edia U SB H eadphone Set. T hes e two key
s equenc es enable me to hot- s witc h between s ound
devic es in a s napeven during the middle of a c all! To us e
the key s equenc e yours elf, s imply experiment with
replac ing the L.
drive_skype.vbs "^+S|%(TC)|Progress_Report|{TAB}|{DOWN}|
{UP}| +({DOWN}{DOWN}{DOWN}{DOWN})|{TAB}|{TAB}|{ENTER}|
{ENTER}" will s tart a c onferenc e c all with the topic
P rogres s _Report for the firs t four c ontac ts in your
C ontac ts lis t.
C learly, s ome of the examples given here would s tretc h anyone's
memory c apac ity, but when you us e them in c ombination with the
s imple s c ript pres ented in this hac k, as well as with s hortc uts ,
they c an be extremely us eful and great times avers .
To help you explore the full power and pos s ibilities of us ing
drive_s kype.vbs to drive Skype's G U I , here's a s hort c rib s heet
of the pos s ible key s equenc es :
Letter keys
A Z and numbers 0 9 .
Special keys
Function keys
Arrow keys
{U P }, {D O WN }, {L E FT }, and {RI G H T }.
Mis cellaneous keys
Sequence of keys
Windows
Linux
/home/Username/.Skype/Skypename/config.xml
Mac OS X
/Users/Username/Library/Application Support/Skype
Pocket PC
\Application Data\Skype\Skypename\config.xml
Username is your login name for the mac hine and Skypename is the
name you us e to log into Skype.
Linux
/home/Username/.Skype/shared.xml
Mac OS X
/Users/Username/Library/Application Support/Skype/
Pocket PC
\Application Data\Skype\shared.xml
T he firs t line tells any applic ation that us es this file that it is an
XM L file. From then onward, data is s tored in a hierarc hic al
fas hion, with individual data elements and groups of elements
always brac keted between two matc hing tags . Tags that have no
data element are the exc eption and look like this : <NoDataTag
attrib="value"/>. For tags with a data element, there's always an
opening tagfor example, <Call>and a c orres ponding c los ing tagin
this example, </Call>. Whatever you do, don't break this
matc hed tag s truc ture. O ther than that, XM L files are eas y to
edit. I n fac t, XM L was s pec ific ally des igned to be both eas y to
unders tand and eas y to edit for a human, not jus t for a mac hine.
T his hac k deals with only a s ubs et of the whole config.xml file, as
it is olates only thos e tags that c ontain c onfiguration data that
does s omething us eful from the pers pec tive of a Skype us er.
Table 4 - 2 s ummarizes the tags we'll hac k in this c hapter. You
c an download a more c omplete table of config.xml tags and their
meanings from the book's web s ite,
http://www.oreilly.c om/c atalog/SkypeH ac ks /index.html.
<Call> A utomatic
<AGC> W 1 0 ,1
<General> gain c ontrol
A utomatic
<AEC> <General> ec ho W 1 0 ,1
c orrec tion
<EC> <Call> E c ho
P 1 0 ,1
c orrec tion
M ic rophone
<MicVolume> <Call> volume WL M P 0255
c ontrol
P op- up
<Calls>
<FriendsPopup> and notific ation W 1 0 ,1
<Messages> from friends
<Calls> P op- up
<OthersPopup> and notific ation W 1 0 ,1
<Messages>
from others
Linux
E mac s or V im.
Mac OS X
V i and E mac s .
4.4.3. Tweaks
<?xml version="1.0"?>
<config version="1.0" serial="327" timestamp="1125
<Lib>
<Call>
<AGC>0</AGC>
<IncomingPolicy>everyone</IncomingPoli
<MicVolume>173</MicVolume>
<SkypeInPolicy>everyone</SkypeInPolicy
</Call>
.
.
.
</Lib>
.
.
.
<General>
<AEC>1</AEC>
<AGC>0</AGC>
<AdvancedFaF>0</AdvancedFaF>
<AutoAudioSettingsAdjust>1</AutoAudioSetti
.
.
.
</General>
.
.
.
</config>
<?xml version="1.0"?>
<config version="1.0" serial="327" timestamp="1125
.
.
.
<UI>
<Calls>
<AllowMultiCalls>0</AllowMultiCalls>
<FriendsAutoAnswer>0</FriendsAutoAnswe
<FriendsPopup>0</FriendsPopup>
<OthersAutoAnswer>0</OthersAutoAnswer>
<OthersPopup>0</OthersPopup>
<PopupOnAll>0</PopupOnAll>
</Calls>
.
.
.
<Messages>
<AuthPopup>1</AuthPopup>
<CafeMode>0</CafeMode>
<DisplayCallInfo>0</DisplayCallInfo>
<DisplayCallLogLimit>0</DisplayCallLog
<FriendsFlash>1</FriendsFlash>
<FriendsPopup>0</FriendsPopup>
<ImChatStyle>0</ImChatStyle>
<OthersFlash>1</OthersFlash>
<OthersPopup>0</OthersPopup>
<PopupOnAll>0</PopupOnAll>
<ShowTime>1</ShowTime>
</Messages>
.
.
.
</UI>
</config>
Refres hing your lis t of s uper nodes will c hange the way
in whic h your Skype c lient interac ts with the Skype
network. I t may c hange how c alls are routed and have an
impac t on how many relays (hops from Skype c lient to
Skype c lient) you have. H aving a new and different
s uper- node lis t s ometimes improves how Skype runs . To
refres h your s uper- node lis t, s imply rename or delete
s hared.xml. T he next time Skype s tarts it will build
s hared.xml, and your s uper- node lis t, anew.
E ven for thos e les s er mortals who are c omfortable with the G U I
in general, and with Skype in partic ular, running Skype from the
c ommand line offers s ome dis tinc t benefits in terms of additional
flexibility. C ommand- line options c an be partic ularly us eful when
you c ombine them with s hortc uts (s ee "A dd Fas t- D ial Shortc uts
to Your M enu or D es ktop" [Hack #49]).
/callto:
<Skype user or
telephone P lac es c all to the s pec ified us er or number
number>
H ere are s ome things to try with c ommand- line options entered
in a c ommand window (Start A ll P rograms
A c c es s ories C ommand P rompt) or from the run line (Start
Run, but if you c hoos e this method, enter c ommands us ing
quotes , like this : "Skype.exe" "/c allto:ec ho1 2 3 "). A ll of the
following examples as s ume you have put the folder c ontaining
Skype.exe on your path:
4.5.2. Linux
To make a c all from the c ommand line on L inux, enter this at the
prompt in a terminal window, and pres s E nter:
Fortunately, it's eas y to s witc h c all tec hnic al details bac k on. A ll
you need to do is make a one- line c hange to your Skype
c onfiguration file, config.xml. M aking this c hange is s imple,
es pec ially if you follow the guidanc e provided in "Tweak Skype
by E diting c onfig.xml" [Hack #45].
N ote that you will have to quit Skype (right- c lic k on Skype in the
Windows s ys tem tray, and then c hoos e Q uit; s elec t File
C los e on L inux) and res tart Skype for the c hanges to take effec t.
E diting config.xml while Skype is running will res ult in your
c hanges being ignored by Skype. Q uit Skype, and then in your
config.xml file loc ate the appropriate tag and s et its value to 1 ,
like this :
Windows
<DisplayCallInfo>1</DisplayCallInfo>
Linux
<TechCallInf>1</TechCallInf>
Obj I D
Codec
Jitter
P ac ket los s and "Send pac ket los s " s hows the
proportion of data pac kets los t at both ends of a c allthat
is , by you and the other partyfor pac kets that are s ent
out. L ikewis e, "Rec v pac ket los s " s hows the proportion
of data pac kets los t at both ends of a c all, for pac kets
that are rec eived. "P ac ket los s " is a meas ure of the
overall number of pac kets los t during the c all. L os s of
data pac kets is the bane of VoI P ! H igh levels of pac ket
los s mean poor voic e quality and even dropouts , where
the c onnec tion goes s ilent for s ec onds at a time. T he
ideal is to have zero pac ket los s , but this is rarely
ac hieved in the real world unles s you and the other
c aller have an outs tanding network c onnec tion. A s a rule
of thumb, a pac ket los s of les s than 5 % (that is , 5 % of
data pac kets s ent, or rec eived, are "los t," and typic ally
have to be res ent) has very little notic eable effec t on
c all quality. A pac ket los s of greater than 5 %
progres s ively degrades voic e quality, to the point that
when pac ket los s ris es higher than 2 5 % , c all quality is
s ignific antly degraded and s oon thereafter bec omes
unus able. You c an addres s high pac ket los s by
improving your network c onnec tion, s pec ific ally by
giving Skype data pac kets higher priority than other
data pac kets , whic h is a tec hnique c ommonly referred to
as Q uality of Servic e (Q oS). See "I mprove Servic e
Q uality" [Hack #59] for ways in whic h you c an improve
your Skype Q oS.
Roundtrip
Corr
Relays
UDP s tatus
CPU us age
T his dis plays both your (loc al) and the other party's
(remote) c urrent C P U us age. H igh C P U us age numbers
on either end of a c all s pell problems bec aus e Skype
might not be able to get the proc es s ing power it needs to
do its real- time job of enc ode enc rypt s end
rec eive unenc rypt dec ode. Very high
C P U us age (greater than 9 0 % ) may impac t c all quality.
O ftentimes , high C P U us age is the res ult of other
proc es s es running on your or the other party's mac hine.
I n this c as e, you c an improve things by s hutting down
the other non- Skype proc es s es . Sometimes the problem
is with Skype its elf, in whic h c as e you s hould inves tigate
and troubles hoot (s ee "Troubles hoot Skype" [Hack
#12]).
Hack 48. Remove Unused Names from
the Login List
O nc e the direc tory is gone, res tart Skype, and your unwanted
Skype us ername is banis hed from the Skype login s c reen, as
s hown in Figure 4 - 8 .
Firs t, if you already have fas t- dial s hortc uts in your menu, you
c an s imply right- c lic k on any of them and c hoos e Send To
D es ktop. T hat will c reate an identic al s hortc ut, but one that
lives on your des ktop ins tead (s ee Figure 4 - 1 1 ). D ouble-
c lic king on a fas t- dial des ktop s hortc ut will s tart a c all to
whomever you have entered as the /callto: name (or to the
regular phone number, if you're a SkypeO ut s ubs c riber).
N ote that a c areful naming c onvention for your Skype des ktop
s hortc uts will pay dividends when it c omes to organizing your
des ktop. T his is partic ularly true if you have more than a few
s hortc uts . U s ing a s hort prefix, s uc h as Skype, for s hortc ut
names will mean that when you organize your des ktop ic ons by
name or file type, all your fas t- dial s hortc uts will group together
nic ely as a bloc k. T his s hould make finding and c alling your
mos t frequent Skype c ontac ts quic ker and eas ier s till.
With this hac k, c alls are now jus t a double- c lic k away!
Hack 50. Fix Windows Wireless
D uring operation, the WZC S c ons tantly hunts around for a better
WiFi c onnec tion, and if it finds one, it s witc hes you to that
c onnec tion and away from your c urrent c onnec tion. H owever, this
s witc h is not ins tantaneous . T his is not a problem if you are, s ay,
brows ing the I nternet, as the momentary dis ruption to your
I nternet c onnec tion is not notic eable. H owever, Skype is
s ens itive to both latenc y and pac ket los s , both of whic h are
advers ely affec ted during the s witc h. if you are in a WiFi "nois y"
loc ation, the WZC S might c ons tantly try to s witc h your mac hine
from one ac c es s point to another, and pos s ibly bac k again. E ven
the WZC S's habit of c ontinuous ly hunting around for a better
wireles s c onnec tion by hopping from ac c es s point to ac c es s
point c an degrade c all quality, as latenc y is injec ted into your
c onnec tion and pac kets are los t.
HKEY_CURRENT_USER
Software
Microsoft
Windows
Current Version
Run
WZCS-Killer REG_SZ "c:\windows\system32\net
US Robotics router
G o to the c onfiguration s ettings , and under
A c c es s /Spec ial A pp, look for a s etting named P C - to-
P hone. E nable it.
Other routers
Port s canning
Port forwarding
Upgrade firmware
T his is always worth a try and it c os ts you nothing. By
upgrading to the lates t firmware for your router (vis it the
manufac turer's web s ite), you might not only c ure all
s orts of problems , but als o boos t your router's
performanc e.
T his is always a las t res ort, but it's worth c ons idering if
all els e has failed and you're fairly s ure that the problem
is with your router.
Walking from mac hine to mac hine and ins talling Skype c an be a
thankles s tas k. A utomating the ins tallation proc es s makes the
job a lot more palatable, and enables you to c us tomize the
ins tallation eas ily.
U s ing thes e c ommand- line options , you c an very eas ily c reate a
Windows batc h file that will s implify the whole ins tallation
proc es s . H ere's a s tep- by- s tep how- to guide:
MKDIR C:\Apps\Skype
S:\Shared\Install\SkypeSetup.exe /VerySilent /Lang
NoIcons
3. Send an email to all the us ers whom you want to ins tall
and run Skype. A t a minimum, this email s hould s pec ify
how to run ins tall_s kype.bat and how to s et up a Skype
name. I f you are rolling out Skype, not as a trial, but in a
rather more s ys tematic fas hion, this s ame email s hould
als o perhaps inc lude additional information, s uc h as the
Skype name to be us ed by eac h us er, and advic e on how
bes t to c onfigure their s ound hardware to us e Skype,
among other things .
T his proc edure might look like s omething that Rube G oldberg
(http://www.rube- goldberg.c om/) might dream up, but it beats
wandering from mac hine to mac hine, es pec ially if thos e
mac hines are in different offic es , or even different buildings !
I f you want to roll out Skype, but with res tric ted
func tionalitys uc h as with file trans fer and Skype's A P I
dis abledyou c an ins truc t the batc h file ins taller to do this at the
time of ins tallation.
; File: skype_disable.reg
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Skype\Phone]
"DisableFileTransfer"=dword:00000001
"DisableApi"=dword:00000001
N ext, add a line to the exis ting batc h file to c reate a new
ins tallation files ay, ins tall_s kype_reg.bats o that the appropriate
regis try keys to dis able Skype file trans fer and its A P I are
c reated during the ins tallation proc es s :
MKDIR C:\Apps\Skype
S:\Shared\Install\SkypeSetup.exe /VerySilent /Lang=en /Dir
NoIcons
RegEdit.exe /s S:\Shared\Install\skype_disable.reg
For Skype file trans fer and the Skype A P I to be dis abled, the
us ers who run ins tall_s kype_reg.bat mus t have the nec es s ary
privilege to edit the regis try under
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies. I nc identally, this als o
means that they c an s witc h thes e features bac k on if they're
willing to hac k around in the regis try! C learly, this method of
ins talling Skype is not the mos t foolproof if your us ers are
relatively s ophis tic ated and experienc ed with Windows .
Toll- free numbers are free to the c aller, but are not free to you,
the rec ipient. E ven s o, c ons ider the advantages of providing
your U .S. c us tomers with a toll- free number:
T his als o means that if you're a non- U .S. c ompany, you c an have
a toll- free number in the U .S. (that is , a number with the prefix
8 0 0 , 8 8 8 , 8 7 7 , or 8 6 6 whic h is linked to a U .S. SkypeI n
number), but have thos e c alls redirec ted to wherever you are
loc ated around the globe. N ow, how's that for c onvenienc e for
your U .S. c us tomers ! P lus , it s ays volumes for the global reac h
of your c ompany!
Firs t, you mus t get a U .S. SkypeI n number. T his number will look
like any regular P ublic Switc hed Telephone N etwork (P ST N )
number to a toll- free s ervic e provider. I f as ked whether you have
a P lain O ld Telephone Sys tem (P O T S) or P ST N number (s ee
C hapter 1 ), you c an s imply ans wer yes and give your SkypeI n
number.
N ext, you need to find a toll- free s ervic e provider to give you a
toll- free number and have c alls to that number redirec ted to your
SkypeI n number. G oogle on "" and you'll find yours elf s poiled
with c hoic es . H owever, beware that s ome toll- free plans require a
c ontrac t, perhaps als o an up- front fee, and a rec urring monthly
maintenanc e fee; other plans are s uc h that you pay only for what
you us e (or rather, what your c us tomers us e, to be prec is e). So
s hop around to get the bes t deal bas ed on your needs ; you
s hould find, without effort, a plan that c os ts les s than 5 c ents
per minute. To get you s tarted, here are a handful of toll- free
plans to look at:
http://www.teliax.c om/
http://www.get1 8 0 0 .c om/
I f you have an exis ting c all c enter, or are thinking of s etting one
up on the c heap, you might be s urpris ed at how s imple Skype
makes this . P res umably, you already have the c omputers and
network infras truc ture in plac e, as no modern- day c all c enter
c an do without thos e, s o it's jus t a ques tion of c onfiguring Skype
to c onnec t your c all c enter with your c us tomers .
3. Fit eac h mac hine with heads ets or hands ets . I f us ers are
expec ting to s pend prolonged periods in c alls with
c us tomers , heads ets are probably bes t, as they're both
c omfortable (if well c hos en) and hands free.
What I 've des c ribed s o far is merely the mos t obvious way of
c onfiguring Skype to ac hieve the func tionality c ommonly
as s oc iated with a c all c enter. But don't be afraid to experiment,
bec aus e if you do, you will s urely find new and innovative ways
to us e Skype's tec hnology to rais e to a new level the s ervic es
offered by your c all c enter.
U s ing our exis ting example, s uppos e that whoever is talking with
the c us tomer on c all 2 dec ides that tec hnic al s upport is needed.
I n this c as e, here are the s teps required to bring tec hnic al
s upport into the c all:
C hat with Skype names that appear in email you rec eive
(s elec t O utlook Skype pull down C hat with
<Skypename>); s ee Figure 5 - 7 .
Skype's import fac ility for c ontac ts als o works with c ontac t lis ts
s tored in M SN M es s enger, O pera, and O utlook E xpres s .
I ns erting hypertext links into offic e doc uments that, if c lic ked,
will s tart a Skype c all to the s pec ified Skype name requires
nothing more than a few c lic ks and keys trokes . O f c ours e, for
the links to work, Skype mus t be ins talled and properly
c onfigured to us e callto:// (s elec t Skype Tools
O ptions … A dvanc ed, and c hec k the "A s s oc iate Skype with
c allto: links " c hec kbox) on the mac hine on whic h the doc ument
is opened.
5.5.3.1. Word.
P lac e your c urs or at the point where you want to ins ert the
Skype link, and then go to I ns ert H yperlink…, whic h will
open an I ns ert H yperlink dialog into whic h you c an enter the text
for the link and its addres s (U RL ). L ater, if nec es s ary, you c an
edit the link by right- c lic king on it and c hoos ing E dit H yperlink…
(s ee Figure 5 - 1 0 ).
5.5.3.2. Excel.
Selec t the c ell into whic h you want to ins ert the Skype link, and
then go to I ns ert H yperlink…, whic h will open an I ns ert
H yperlink dialog into whic h you c an enter the text for the link
and its addres s (U RL ). L ater, if nec es s ary, you c an edit the link
by right- c lic king on the c ell and c hoos ing E dit H yperlink… (s ee
Figure 5 - 1 1 ).
To ins ert a Skype hyperlink into a P owerP oint pres entation, you
mus t firs t ins ert an objec t that c an then be as s oc iated with the
link. T he s imples t objec t is a text box with the link text you want
to dis play (s elec t I ns ert Text Box, c lic k on a s lide, and
enter text). N ext, c lic k on that objec t to s elec t it (and s elec t the
text in the box, if you're us ing a text box). T hen from the
P owerP oint menu, c hoos e I ns ert H yperlink…, whic h will
open an I ns ert H yperlink dialog into whic h you c an enter the text
for the link and its addres s (U RL ). L ater, if nec es s ary, you c an
edit the link by right- c lic king on the text and c hoos ing E dit
H yperlink… (s ee Figure 5 - 1 2 ).
<HTML>
<HEAD>
<TITLE>Skype Hacks Button</TITLE>
</HEAD>
<BODY>
<P>Skype Hacks
<A href="callto://skypehacksbook>">
<img src="http://goodies.skype.com/gr
border="0">
</A>
</P>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>Skype Hacks Outlook Signature</TITLE>
</HEAD>
<BODY>
<P>Skype Hacks
<A href="callto://skypehacksbook>">
<img src="http://goodies.skype.com/gr
border="0">
</A>
</P>
</BODY>
</HTML>
I n the C reate N ew Signature dialog, c lic k N ext. T hat will dis play
an E dit Signature dialog that will allow you to edit the s ignature
further, us ing fonts and other elements of your c hoic e. O nc e
you're done editing your s ignature, c lic k Finis h and then c lic k
O K in the C reate Signature dialog. I n the O ptions dialog, c hoos e
the name of your newly minted s ignature in the "Signature for
new mes s ages " pull- down menu and c lic k O K. N ow, any email
you s end will have a s ignature that inc ludes a Skype M e button
on whic h the rec ipient c an c lic k to plac e a Skype c all to you. You
c an c hec k out what your s ignature will look like by s ending
yours elf a tes t email (s ee Figure 5 - 1 4 ). T he rec ipient of an email
from you c an c lic k on the Skype M e button to plac e a Skype c all
to you.
I f you are us ing the Skype toolbar for O utlook (as dis c us s ed
earlier), there's an even eas ier way to ins ert a Skype M e button
as part of your email s ignature. Selec t O utlook Skype pull
down C onfigure E mail, and then us e the s ettings
under Signatures (s ee Figure 5 - 1 5 ).
T here are many reas ons why you might want to rec ord phone
c onvers ations . H ec k, if the FBI does it all the time, why not the
average c itizen!
H ere are s ome s ugges tions for ways of rec ording and arc hiving
c onvers ations , by Skype platform:
Windows
Linux
JACK
os s 2j ack
Mac OS X
T his is a low- tec h, but utterly reliable, way to rec ord your voic e-
c all c onvers ations . A lot of s oftware s olutions for rec ording
Skype c onvers ations c an be a pain to c onfigure and a pain to
us e, and may let you down when you need them mos t.
I f your home or offic e has a divers ity of mac hines , trans ferring
files among them is a s nap if you us e Skype. With Skype
ins talled on eac h mac hine, Windows , L inux, and M ac O S X c an
finally "play nic e" together in terms of s eamles s file trans fer.
To trans fer files among mac hines in, s ay, a hous ehold where D ad
runs Windows , M om runs M ac O S X, and J unior runs L inux, jus t
go to the mac hine that will be the s ourc e of the file, open Skype,
and initiate a file trans fer (there are s everal ways of doing this ;
s ee "Trans fer a File U s ing Skype" [Hack #8]). T hen, walk over to
the des tination mac hine, where a c onfirmation window will be
dis played (s ee Figure 5 - 2 0 ). C lic k on Save A s … and s ave the
file to the loc ation of your c hoic e. Figure 5 - 2 1 s hows an example
of a home having a mix of different mac hines running different
operating s ys tems ; however, the s ame princ iples apply whether
you're trans ferring files among mac hines in a home, a s mall
bus ines s , or a department in a large organization.
M oreover, the mac hines among whic h you want to trans fer files
do not have to be in the s ame phys ic al loc ation; they c an be
s pread around the globe. I n that c as e, it's worth remembering
that Skype file trans fer is enc rypted end to end and therefore is
s ec ure.
I f any of the mac hines to whic h you want to trans fer files is
loc ated behind a res tric tive P eer to P eer (P 2 P )- unfriendly
firewall or router, Skype will us e what it c alls "relayed trans fer"
and your file trans fer will s low to a c rawl. Relayed trans fer is
s ignaled by "Your trans fer is being relayed" appearing in the
"Sending file" window (s ee Figure 5 - 2 2 ).
"Sc an Files Rec eived via Skype for V irus es " [Hack #75]
Hack 58. Disable Skype File Transfer
With the releas e of vers ion 1 .4 for Windows , Skype inc luded the
ability to dis able file trans fer s elec tively. I n many bus ines s es ,
dis abling this func tion may be dic tated by c orporate polic y, or it
might be at the reques t of your network adminis trator. P rovided
you're willing to hac k the Windows regis try, s elec tively dis abling
file trans fer is a s nap.
O pen RegE dit (s elec t Start Run…, enter "RegE dit," and
pres s Return or c lic k O K) and add this key:
HKEY_LOCAL_MACHINE\Software\Policies\Skype\Phone. U nder this key,
add a new DWORD value having the name DisableFileTransfer.
Setting DisableFileTransfer to 1 will dis able Skype file trans fer
(s ee Figure 5 - 2 3 ), and s etting it to 0 (or omitting or deleting the
key altogether) will leave file trans fer enabled. N ote that you
don't have to s top and res tart Skype for this c hange to take
effec t.
I f you don't want to hac k this regis try s etting yours elf, or if you
have to roll Skype out ac ros s a large number of mac hines , you
might find the following V BSc ript (dis able_file_trans fer.vbs )
helpful:
Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.RegWrite "HKLM\Software\Policies\Skype\Phone\Disa
1, "REG_DWORD"
Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.RegWrite "HKLM\Software\Policies\Skype\Phone\Disa
0, "REG_DWORD"
N ote that both s c ripts will, if nec es s ary, c reate the regis try entry
if it does not exis t already.
Hack 59. Improve Service Quality
M eas uring, budgeting, and enforc ing bandwidth limits with a tool
s uc h as N etL imiter c an bec ome tedious and c an be a les s - than-
optimal way to manage your overall bandwidth when more than a
handful of mac hines are involved. Fortunately, network devic es
are c oming onto the market (s ee Figure 5 - 2 6 ) that effec tively
implement Q oS in hardware by prioritizing I nternet traffic bas ed
on monitoring data pac ket c harac teris tic s , rather than us ing
fixed port numbers .
1. C reate a Skype ac c ount for the des ired des tination; for
example, aunt_ peg_in_paris.
M obile only
Total annual c os t $ 1 3 3 .5 0
C os t c omparis on
M obile only
C os t c omparis on
General Packet Radio Service (G P RS) and Enhanced Data rates for
Global E volution (E D G E ) are two mobile phone tec hnologies that
allow mobile phones to c onnec t to the I nternet, but at data rates
ins uffic ient to s upport Skype's voic e- c all features . E ven s o,
when your devic e lac ks the proc es s ing power and/or I nternet
c onnec tion bandwidth for voic e, you c an s till us e Skype c hat.
To make Skype voic e c alls , even over G P RS, follow thes e s teps
us ing the U s eful G P RS- 3 G Skype add- on s oftware:
Your c all s hould be routed to its des tination, with the firs t leg of
the c all being relayed between your mobile phone and your home
P C by the add- on over G P RS, and thenc e from your home P C to
its final des tination by Skype.
Use SkypeIn and call f orwarding to give your mobile phone one
or more international dial-in telephone numbers.
U nfortunately, all of this is not free, and you mus t dec ide for
yours elf whether the benefits of having an international dial- in
number for your mobile phone outweigh the c os ts (s ee Table 6 -
3 ).
Total annual c os t $ 7 3 .5 0
6.4.1. See Also
You can take Skype with you wherever you go, by putting it on
a USB memory stick that hangs on your key ring, and then
connecting through any machine having a USB port and Internet
connection.
For this hac k, you will need a U SB memory s tic k with enough
s pare memory to ins tall Skype and s ome extra files , and to s tore
your downloaded files s ay, a minimum of 3 2 M B. A nd, unles s you
are c ertain the mac hine you will be plugging your U SB s tic k into
has a mic rophone and s ound output, you will als o need a U SB
hands et or heads et too.
L oad Skype and your Skype data onto the memory s tic k by
following thes e s teps :
5. C opy your Skype data from your des ktop mac hine to the
memory s tic k by running this c ommand: XCOPY /E /H /Y
"%appdata%\Skype\ Skypename" F:\Skypename.
I f Skype is n't ins talled on the borrowed mac hine, ins tall it by
running the c ommand U:\SkypeSetup.exe, and following the
ins truc tions of the Skype s etup program.
With Skype ins talled on the borrowed mac hine, here's all you
need to do now to get up and running with Skype:
8. C all the Skype s ound tes t s ervic e (ec ho1 2 3 ) and tes t
that everything is working.
6.5.3. Cleaning Up
L eaving your pers onal Skype data on a borrowed mac hine runs
s everal ris ks , from c ompromis ing your privac y, to allowing
others to us e your Skype ac c ount and SkypeO ut c redits . Follow
thes e s teps after you're done with Skype on the borrowed
mac hine s o that your Skype pers onal data goes with you on your
U SB memory s tic k and, at the s ame time, is not left behind on
the borrowed mac hine:
http://metrofreefi.c om/
You c an ins tall Skype on a borrowed mac hine, or run Skype from
a U SB memory s tic k on a borrowed mac hine (s ee "Run Skype
from a U SB M emory Stic k" [Hack #63]). Both methods might
require that you do s ome extra mac hine c onfiguration (s ound,
network, etc .) before Skype is up and running properly, and
there's the danger that you might leave s ome pers onal Skype
information behind on the hard dis k; but with a little patienc e,
mos t mac hines with the right s pec ific ation (s ee Table P - 1 in the
P refac e) and a dec ent, Skype- friendly I nternet c onnec tion c an
be c oaxed into running Skype.
Chapter 7. Skype Fun and
Play
Sec tion 7 .1 . H ac ks 6 5 6 9 : I ntroduc tion
T he good news is that you c an very eas ily make your own
ringtones , and this hac k s hows you how.
M any c ommerc ial, free, and open s ourc e audio file c onvers ion
utilities are availablejus t try G oogling on "s ound file c onvers ion
s oftware" and you'll be overwhelmed with c hoic es . H owever, one
audio file c onvers ion utility I c an rec ommend is SoX. T his open
s ourc e utility, whic h you c an download at
http://s ourc eforge.net/projec ts /s ox/, boas ts of being the Swis s
army knife of s ound- file c onvers ion utilities . A nd frankly, this is
no idle boas t!
Before even thinking about jamming us ing Skype, there are three
things to c ons ider:
Bandwidth
Latency
T his las t item is important bec aus e without it, you fac e two
problems . You'll probably need a preamp to get the raw s ignal
output from your elec tronic ins trument into a form that is
s uitable to feed into your s ound c ard, and you will need to mix
multiple audio s treams at a minimum, your ins trument and
heads etand feed them into and out of Skype (s elec t Skype
Tools O ptions … Sound D evic es ). Both of thes e
problems are neatly s ide- s tepped by many mus ic - mixing
devic es that typic ally interfac e to your c omputer through U SB or
FireWire and c ome with a whole hos t of mus ic al ins trument
interfac es , audio mixing, and s ound driver (s oftware) features
(s ee Figure 7 - 5 ).
Skype will switch to the desktop during game play unless you
conf igure it not to interrupt your f un.
M any games run in full- s c reen mode and don't like it when Skype
notific ations , c alls , or c hat interfere with game playfor example,
by minimizing a game at s ome c ritic al moment. T his problem is
exac erbated if you want to us e Skype as part of your online
gaming ac tivities for c ommunic ation with other players .
N otific ations are s mall pop ups that appear briefly, at the
lower right of your s c reen jus t above the s ys tem tray.
T hes e too c an interfere with game play, depending on the
game you're playing. You c an s elec tively s witc h off
thes e notific ations by s elec ting Skype Tools
O ptions … N otific ations (s ee Figure 7 - 6 ).
Multiple monitors
1. Firs t, you mus t regis ter with J yve. To regis ter with J yve
you mus t either be a Skype us er, or c ommit to ins talling
Skype and bec oming a us er in the near future. J yve, after
all, is an online c ommunity that us es Skype as the
"glue" that binds the c ommunity together. D uring the
regis tration proc es s , you mus t give up s ome pers onal
information (s ee Figure 7 - 1 0 ); but no one c hec ks the
ac c urac y of this information, s o you don't need to
divulge anything you don't feel c omfortable with.
Skype can keep a history of your chat sessions, but there are
many reasons why you might want to log chat sessions outside
of Skype: to publish to a blog, or as an RSS f eed, or just as a
permanent record, f or instance. This hack shows you how to
build your own simple chat logger.
T here are a multitude of reas ons why you might want to keep a
permanent rec ord of your c hat s es s ions outs ide of Skype in the
form of a s imple text file. H aving s uc h a file might be us eful if
you want to publis h your c hats to a blog, or as an RSS feed, or
jus t for your rec ords . Whatever the reas on, s witc hing c hat
logging on and off is a s nap us ing this hac k.
T his is one of thos e features you feel s ure s hould be built into
Skype, but is n't. U ntil it is , you'll need a Skype add- on to do the
job, and for automatic ally forwarding all your voic email to an
email addres s , there is no better tool than P amela P rofes s ional (
1 7 .5 0 , about $ 2 2 , from http://www.pamela- s ys tems .c om/).
P amela us es a format for the name of the attac hed voic email
audio file that tells you a good deal about who left you voic email,
and when. I ts format is ms g_ skypename_dd_mmm_yyyy_hh_mm_ss.wav,
where skypename is the name of the Skype us er who left the
voic email, dd_mm_yyyy is the date on whic h the voic email was left,
and hh_mm_ss is the time at whic h the voic email was left.
N ow you c an lis ten to your voic email us ing your U SB hands et.
So why not als o rec ord your voic email greeting us ing a U SB
hands et that has a keypad, ins tead of having to us e a
mic rophone or heads et?
T his hac k is a variation of the firs t part of the hac k, and the
s ame c omments and warnings for that hac k apply here.
Rec ording your voic email mes s age us ing your U SB hands et,
without all the fus s and without needing to s witc h the audio- in
devic e bac k and forth from within Skype, is s imple, if you follow
thes e s teps .
' Only process commands on this host for this remote user
strSkypeHostName = "ajtsheppard"
strSkypeRemoteName = "skypehackswindows"
' Initialize
strChatID = ""
Set objExec = Nothing
' Skype event handler
Sub SkypeAPI_ChatMessageReceived(ChatMessage)
strChatID = ""
Set objExec = Nothing
End If
End Sub
Online (default)
You c an make and rec eive c alls , c hat, and voic email.
You c an als o s end and rec eive files . Who c an c ontac t
you depends on your privac y s ettings .
Offline
Skype Me
T his is like hanging out a notic e that s ays , "I 'm here and
I want to be c ontac ted by the wider Skype c ommunity."
T his mode of being online dis ables all your privac y
s ettings , but only for the period in whic h you are in
Skype M e mode. A ls o, this is the only online s tatus
mode that you c an us e as part of a s earc h for Skype
us ers (s elec t Skype Tools Searc h for Skype
U s ers …, and in the s earc h window c hec k the "Searc h for
people who are in 'Skype M e' mode" c hec kbox).
Away
T his mode lets people know you are online, but that
you're away from your c omputer. You c an s et this online
s tatus to ac tivate automatic ally after a period of
inac tivity (s elec t Skype Tools O ptions …
G eneral, and enter the number of minutes of inac tivity
after whic h you want to automatic ally s witc h to A way
s tatus ; the default is 5 minutes , but entering a value of
0 will mean that you'll never automatic ally s witc h to
A way).
Not Available
T his is s imilar to A way, but indic ates that you are away
from your c omputer for a prolonged period. You c an s et
this online s tatus to ac tivate automatic ally after a
period of inac tivity (s elec t Skype Tools
O ptions … G eneral, and then enter the number of
minutes of inac tivity after whic h you want to
automatic ally s witc h to N ot A vailable s tatus ; the default
is 2 0 minutes , but entering a value of 0 will mean that
you'll never automatic ally s witc h to N ot A vailable).
To others you are "O nline," but you will not be dis turbed
by ringing or pop- up notific ations for inc oming c alls or
c hat. A ll that you will s ee is a different Skype ic on in the
s ys tem tray indic ating that an event has oc c urred.
I nvis ible
Windows
Linux
Mac OS X
Pocket PC
Anyone
A s its name s ugges ts , this privac y s etting means
anyone c an c all you or s end c hat to you.
Contacts only
Known numbers
His tory
Your c hat his tory may c ontain s ome private exc hanges
with others , s o it is s omething you might want purged
from your c omputer from time to time.
Show my picture
O nline
s tatus :
O nline
O nline
s tatus :
Skype M e
O nline
s tatus : D o
N ot D is turb
O nline
s tatus :
I nvis ible
C alls :
A nyone
C alls :
C ontac ts
only
C alls :
A uthorized
people only
SkypeI n:
A nyone
SkypeI n:
Known
numbers
SkypeI n: M y
c ontac ts
C hat:
A nyone
C hat:
C ontac ts
only
C hat:
A uthorized
people only
C hat: O ne Two
Forever N one
H is tory month weeks
Show my
pic ture (M ac A uthorized A nyone C ontac ts C ontac ts A uthorized
only)
E nable
Bonjour (M ac
only)
Mac OS X
Pocket PC
Mac OS X
I n the C ontac ts or C all L is t tab, c lic k on a c ontac t or
c all, and then s elec t Skype C ontac ts Bloc k.
To manage your c omplete lis t of bloc ked us ers , s elec t
Skype C ontac ts M anage Bloc ked U s ers ….
Pocket PC
File trans fer us ing Skype is both s imple and s ec ure. Sec ure in
the s ens e that files are trans ferred us ing end- to- end enc ryption,
not in the s ens e that they are free from virus es .
You s hould never ac c ept file trans fers from s trangers . But even
rec eiving files from friends and c ontac ts is not without s ome
ris k. Whoever is s ending you a file might be doing s o from a
mac hineunknown to themthat is infec ted with virus es . By
s ending you a file, they may unwittingly infec t your mac hine too.
Skype is well aware of this potential vector (means of infec tion)
for virus es , and that is why the rec ipient of a file trans fer always
has the option of ac c epting or rejec ting the file trans fer.
M oreover, Skype is quite explic it about the need to s c an
rec eived files for virus es (s ee Figure 9 - 5 ).
Linux
/home/ UserName
Mac OS X
/home/ UserName/Library/Application
Support/Skype/SkypeName
I f you are the type of pers on who s huns the G U I , you always
have the option of s c anning rec eived files at the c ommand line.
H ere are s ome examples of s c anning from the c ommand prompt:
cd /home/shep/Library/Application Support/Skype/sk
clamscan-recursive-removestdout . > scan.log
Sc anning trans ferred files c an s oon bec ome a c hore you c ould
do without. Fortunately, automating the proc es s is eas y, as
thes e s c ripts demons trate. E ac h time a new file appears in your
default file- trans fer folder, it will be s c anned and, if pos s ible,
c leaned of any virus es . O r, if nec es s ary, the file will be removed
(deleted).
Do
....If objFiles.count > num_files Then
........objShell.CurrentDirectory = skype_file_transfer_fo
....End If
....num_files = objFiles.count
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
# File: virus_scan.py
def num_files():
....file_count = 0
....for root, dirs, files in os.walk('/home/shep/skype_fil
........file_count += len(files)
....return file_count
def main():
....numfiles = num_files()
....while 1:
........if num_files() > numfiles:
............output = os.popen('clamscan --recursive ' \
............+ '--remove --stdout ' \
............+ '/home/shep/skype_file_transfer').read( )
............file = open(r'/home/shep/' + \
............'skype_file_transfer/scan.log', 'a')
............file.write('---- START SCAN ----\n\n')
............file.write(output)
............file.write('\n---- END SCAN ----\n\n')
............file.close( )
............print output
........numfiles = num_files( )
........time.sleep(5)
....return 0
-- File: virus_scan.scpt
Your public profile is how you advertis e whom and what you are
to the Skype c ommunity. A s s uc h, it c an be a great res ourc e.
But like any res ourc e, it s hould be managed.
Before dis c us s ing how to manage (or delete) your Skype profile,
it's worth paus ing a moment or two to unders tand how Skype
maintains your profile. Without s uc h an unders tanding, you
c annot manage your profile intelligently.
But bec aus e of how Skype's peer- to- peer tec hnology works ,
your profile typic ally pers is ts for only around 7 2 hours following
your las t us e of Skype. T hat is , after 7 2 hours of being offline,
s omeone who is s earc hing for you by means of the profile you
s tored on the Skype network might not find you.
When c reating and later managing your Skype profile, you s hould
think c arefully about the following:
Bec aus e your profile as s tored on the Skype network typic ally
expires after 7 2 hours of being offline, one option to "delete"
your Skype profile is s imply to let it expire and die a natural
death. H owever, as Skype is a c los ed s ourc e applic ation and its
polic y of how profile data is s tored is s ubjec t to c hange, how c an
you really know when, and if, all your profile data was deleted?
For this reas on, and for peac e of mind, I rec ommend overwriting
your entire profile with junk data and updating your online profile.
9.4.3. Hacking the Hack (Windows Only)
drive_skype.vbs "^+S|%(FM)|{DEL}|{TAB}|{DEL}|{TAB}|{DEL}|{
{TAB}|{DEL}|{TAB}|{DEL}|{TAB}|{DEL}|{TAB}|{DEL}|{TAB}|{DEL
{DEL}|{TAB}|{DEL}|{TAB}|{DEL}|{TAB}|{DEL}|{TAB}|^A{DEL}|{T
{ENTER}|{TAB}|{DEL}|{TAB}|{ENTER}"
Hack 77. Avoid Skype "Spammers"
Skype, like any other online service, has its dark side. Here are
some tips on how to avoid spammers.
U nles s you have inc redibly res tric tive Skype privac y s ettings ,
you will at s ome time or another experienc e s ome form of
unwanted attention from s pammers . T he term s pammer, as us ed
in this hac k, is a pers on who c ontac ts you (or attempts to
c ontac t you, pos s ibly repeatedly) by voic e (phone c alls or
voic email mes s ages ), c hat, or file trans fer and who wants
s omething from you. C harac teris tic ally, this attempt to
c ommunic ate with you is uns olic ited on your part.
Sadly, like many weapons , netstat and I P loc ator are like a two-
edged s word, in that another pers on c an us e them to find out
where you are! T his is one oc c as ion in whic h s itting behind a
res tric tive and P eer- to- P eer (P 2 P )- unfriendly firewall works to
your advantage, as it is more likely that your c alls will be
relayed rather than direc ted.
Figure 9-7. Running netstat during a call or chat
session can sometimes reveal the other party's
IP address
T his hac k begins with a true s tory. A fter I 'd been us ing Skype for
about a year, I dec ided to s et up a Skype ac c ount and us ername
for my wife. For her Skype name, I c hos e the nic kname by whic h
s he is known at work, whic h happens to inc lude the word girl in it.
Within four hours of s etting up the name, s he had rec eived five
authorization reques ts , all c learly from men, all c learly
reques ting s ome form of intimate c ommunic ation (or wors e), and
from all over the world. I don't s peak Finnis h, I talian, or D utc h,
but the two mes s ages in E nglis h that ac c ompanied the
authorization reques ts were explic it. A ll of this oc c urred in the
s pac e of four hours , pres umably bec aus e my wife's us ername
inc luded the word girl! I n s tark c ontras t, the previous year I had
rec eived only one unwanted reques t for authorization, and that
reques t very obvious ly c ame from s omeone who c learly knew
s omeone els e with the s ame name.
I n my mind, this quic kly drove home the mes s age that there are
large numbers of men out therein the Skype c ommunitywho do
little els e than s earc h for Skype us ers having s educ tive female
names . I 'm not s aying that thes e men are over- repres ented in
the Skype c ommunity, only that they're there, jus t as they are in
s oc iety.
I f you want to avoid being haras s ed jus t bec aus e of the words
us ed in your Skype name, you c an follow this "rec ipe" of things
to leave out of your Skype name:
A void j ane_branford_ct_us a.
What you do
Skype does not work with fax. Fax is not s upported, regardles s of
whether it is a s oftware or a hardware fax devic e. T his might
c hange, but right now, Skype does n't s upport fax.
T hroughout the book, I have emphas ized that s witc hing to Skype
is not an all- or- nothing propos ition. You c an c hoos e to mix and
matc h Skype s ervic es with other VoI P offerings or even with
your P lain O ld Telephone Sys tem (P O T S). I f you retain one or
more regular telephone lines , c onnec t your fax to one of them
and Skype's inability to work with fax is s ides tepped nic ely.
T he Skype forums have reported that even
though Skype's L ondon offic e has no
regular telephones , it nonetheles s has a
fax mac hine plugged into a regular
telephone outlet. I think we c an s urmis e
from this that Skype has n't lic ked the
problem of fax c ompatibility, at leas t not
yet.
I f the doc ument is in elec tronic form, ins tead of printing it and
faxing it, c ons ider s ending it (or a P D F repres entation of it) via
Skype's file- trans fer func tion. O f c ours e, this will work only if
your rec ipient is als o running Skype. A nother plus in favor of this
workaround is that it c os ts nothing (other than bandwidth) to
s end files via Skype, whereas regular fax c os ts money. O f
c ours e, s imply attac hing a doc ument to an email is already a
popular alternative to fax. But if your doc ument c ontains
s ens itive material, s ending it via Skype has the advantage that
it is s ec ure (enc rypted), whereas email is typic ally not s ec ure.
10.3.3. Online Fax Services
T he move away from traditional fax mac hines s tarted long before
Skype even appeared. C ons equently, G oogle on "fax s ervic e"
and you'll be pres ented with a plethora of different types of fax
s ervic es that don't require you to have a regular fax mac hine to
s end or rec eive faxes . Some of thes e s ervic es are free, but mos t
are available at low c os tit s ure is a c ompetitive market s egment,
whic h is , of c ours e, to your benefit.
Skype its elf is quite explic it on this is s ue, and therefore markets
its s ervic es as an "enhanc ement" to regular telephone s ervic es .
H owever, for thos e who s witc h to Skype c ompletely, making it
their s ole (nonmobile) telephone s ervic e provider, s ome
workarounds are available that c an provide "9 1 1 - like" s ervic e.
I f you obtain your I nternet c onnec tion through s ome mec hanis m
other than A D SL s ay, c ableyou c an s witc h to Skype as your s ole
telephone s ervic e provider (s ee Figure 1 0 - 4 ).
T his is where the 9 1 1 - like s ervic e has a dis tinc t advantage over
the traditional 9 1 1 s ervic e. You c an tes t it whenever you like.
Your 9 1 1 s ervic e may not work when you des perately need it.
You'll probably never know until you really need it. C alling 9 1 1
oc c as ionally to make s ure it's working, if not agains t the law, is
s urely in bad form and might get you into trouble.
10.4.5. Location
E ven if you dec ide to us e Skype exc lus ively for phone s ervic es ,
this does not nec es s arily mean that you have to do without
remote alarm monitoring. I n C hapter 3 , I dis c us s ed s everal
c onfigurations for Skype that effec tively leave a dial tone on
your exis ting phone c opper wiring. I f, in addition, you are a
SkypeI n and SkypeO ut s ubs c riber, there's no reas on why your
alarm monitoring s ervic e c an't dial in to your alarm s ys tem for
monitoring purpos es , and likewis e, there's no reas on why your
alarm c an't dial out to your alarm monitoring s ervic e in an
emergenc y. C hanc es are that all you need is for your alarm
monitoring s ervic e to know your SkypeI n number and for the
alarm to be reprogrammed to us e any s pec ial new prefix needed
to dial out through SkypeO ut. N ote that during a power c ut, your
alarm will los e its c onnec tion to your alarm monitoring s ervic e.
For readers who are fully replac ing their exis ting phone s ervic e
with Skype, but who want to retain alarm monitoring s ervic es ,
this s tep- by- s tep c hec klis t might prove us eful:
1. Read the manual for your alarm s ys tem and learn how to
reprogram it to dial out us ing the Skype dial format. I f
you don't have a manual, or if this is beyond your
c omfort zone, as k your alarm c ompany to reprogram the
alarm for you. Before doing anything els e, you have to be
c onvinc ed that monitoring your alarm s ys tem us ing
Skype is doable. I f it is n't, think again. I f it is , proc eed.
Windows c omes with its own file arc hive and c ompres s ion tool.
Within Windows E xplorer, you c an s elec t files and/or folders , and
then right- c lic k to turn them into a c ompres s ed (zipped) arc hive
file. You c an even add a pas s word to the arc hive s o that the
rec ipient will have to enter the (s ame) pas s word to unc ompres s ,
open, and extrac t the files and folders c ontained within it.
M ac O S X c omes with its own tool to c reate zipped arc hives . But
s adly, even though the res ulting arc hive has a .zip s uffix, the
arc hives it c reates are inc ompatible with the Windows zip
arc hive tool. H owever, arc hives generated on one M ac O S X
mac hine c an be unpac ked s eamles s ly on another.
P erhaps the mos t popular third- party c ompres s ion and arc hive
tool for the M ac is StuffI t (http://www.s tuffit.c om/).
10.7.4. Transferring Folders Among
Diverse Machines
Trans ferring folders and/or files among divers e mac hines that is ,
mac hines of different arc hitec tures and running different
operating s ys tems pos es a number of problems . D iffering rules
for filenames and file extens ions c an c aus e problems . A nd
finding a c ommon arc hive format that all mac hines rec ognize and
unders tand c an be diffic ult.
unzip filename.zip
You can dial regular phone numbers with not only numbers, but
also letters.
P erhaps the firs t plac e to s tart looking for add- ons is Skype's
own E xtras G allery, whic h is updated frequently and is loc ated at
http://s hare.s kype.c om/direc tory/.
G iven the rapid pac e at whic h all things to do with Skype are
developing this c hapter c an only be a s naps hot in time and a
peek at what's available. H aving s aid that, it is nevertheles s a
s tarting point that will help you to unders tand where to s tart
looking for add- ons , how to hac k and extend add- ons , and how to
manage add- ons from a s ec urity pers pec tive.
O nly s ome of the vendors in the prec eding lis t offer tec hnic al
s upport for their produc ts . Before purc has ing Skype add- on
hardware, it's always worth as king s ome tec hnic al ques tions to
gauge the type of after- s ales s upport you c an expec t.
Biz.KonuSh.NET (free)
I Pdrum
Jyve
You can have hands-f ree (and sight-f ree f or the visually
impaired) operation of Skype using only your voice.
A udiomatic ($ 2 9 .9 5 from
http://www.wis eriddles .c om/P roduc ts /A udiomatic /index.html) is
a s hareware tool that enables you to c ontrol Windows and
applic ations that run on Windows us ing voic e c ommands and
keyboard s hortc uts . I f you have the A udiomatic bas e produc t,
you c an ins tall a free Skype add- on (whic h you c an download at
http://wis eriddles .s wmirror.c om/A udiomatic SkypeP lugin.ms i)
that will more c los ely integrate A udiomatic with Skype.
To make a phone c all you mus t s elec t "P lac e a c all to"
when as ked by the A udiomatic M ac ro Wizard, "When this
mac ro is run, I want to."
Send a chat mes s age
2. Selec t I nterac ts with Skype from the top pull- down menu
in the next window, Figure 1 1 - 3 , and s elec t "P lac e a c all
to" from the middle pull- down menu. P ulling down the
bottom pull- down menu will dis play your Skype c ontac ts
lis t in numeric al and then alphabetic al order. N ote that
this pull down does not allow you to enter a new phone
number or Skype name, s o you c an c reate A udiomatic
mac ros for Skype only for exis ting c ontac ts . Selec t a
Skype c ontac t and then c lic k N ext.
I n C hapter 1 2 , "H ot- Switc h A mong Sound D evic es " [Hack #91]
pres ents a c ouple of V BSc ripts , logitech_API .vbs and c-
media_API .vbs , to hot- s witc h s ound devic es even during a phone
c all. U s ing A udiomatic you c an drive thes e s c ripts with voic e
c ommands too!
But before you read on, heed this word of c aution. Both of the
video s olutions pres ented here are lis ted as "betas ," s o perhaps
you s hould adjus t your expec tations for video with Skype
ac c ordingly. H owever, like the VoI P tec hnologies that underpin
Skype its elf, it's a good bet that video tec hnologies will s imply
get better and better with time.
11.3.1. Festoon
O ne extra feature of Fes toon is the ability to s hare your des ktop
with other video c all partic ipants indeed, not jus t your whole
des ktop, but als o individual applic ation windows . For example,
open the Windows c alc ulator on your mac hine and s hare it with
your Fes toon video c all partic ipants , and a regularly updated
image of your c alc ulator window will appear on their s c reens .
H ow quic kly the image is updated depends on how big the s hared
window is , but a few s ec onds to tens of s ec onds between
updates is typic al; s ee Figure 1 1 - 8 .
But Fes toon's s hared des ktop feature has its limitations . You
c annot s hare s ome applic ation windows if your mac hine has
multiple monitors ; s pec ific ally, windows that are outs ide your
primary monitor c an't be s hared. L ikewis e, s haring your whole
des ktop means that others will s ee only the part of your des ktop
that is on your primary monitor.
Figure 11-8. A vSkype (now Festoon) video
session with the Windows calculator as a real-
time updated image from a remote desktop
11.3.2. Spontania Video4IM
To help you dec ide what video add- on for Skype might bes t s uit
your needs , Tables 1 1 - 1 and 1 1 - 2 c ompare Fes toon and
Spontania V ideo4 I M s ide by s ide and feature by feature.
4 0 0 M H z or
C omputer 4 5 0 M H z or greater greater
CPU
M emory
(minimum) 128 MB 128 MB
O perating Windows
Windows 2 0 0 0 or XP
s ys tem 2 0 0 0 or XP
D is k s pac e
8 MB 1 MB
(ins tall)
U pdated to
be
Skype 1 .3 .0 .4 5 or greater c ompatible
with c urrent
vers ion
O ther
applic ations I nternet E xplorer 5 .0 or greater N /A
Whatever
V ideo
your web
res olution 3 2 0 x 2 4 0 pixels
c am
(rec ommended)
s upports
I420
I nternet Broadband
Broadband only
c onnec tion only
M inimum of
"E las tic ," whic h means Fes toon
1 2 8 Kbps
will make do with what it's given,
Bandwidth both
but in reality, your video s es s ion
requirements ups tream
degrades rapidly below 1 2 8 Kbps
and
per video c all partic ipant
downs tream
U s es Skype
for voic e
Sound devic e H eads et s trongly rec ommended c omponent
of c all
N otes :
Sadly, you c annot literally run Fes toon and Spontania V ideo4 I M
s ide by s ide, as that is not pos s ible (they won't s hare the s ame
video devic e). But after tes ting both of them, I c ame to s ome
c onc lus ions , whic h I s hare with you in Table 1 1 - 3 .
Spontania
Category Festoon
Video4IM
Better, but
V ideo quality P oor not good
U s er forum Yes No
Both Fes toon and Spontania V ideo4 I M work, and both have
s omething to offer Skype us ers who want to inc orporate video
into their c alls . T hey're both quirky, and their video quality is not
great, though that s eems to reflec t the c urrent s tate of video-
over- I nternet tec hnology, and is s omething that will c learly get
better over time. L as tly, it's a s hame thes e two add- ons won't
work together, as that way you c ould c ombine the bes t features
of both without the effort of s hutting down one to us e the other.
Hack 88. Show Your Online Status in a
Web Page
With this neat little add- on, you c an make your Skype online
s tatus available in real time from any web page.
Firs t, you mus t download and ins tall the add- on by vis iting its
s upport page at
http://www.s kyperunners .c om/board/viewtopic .php? t=3 0 .
What you're downloading is a Windows ins tall pac kage that takes
c are of all the ins tallation details ; jus t follow the ins truc tions .
O nc e it's ins talled, you're ready to s tart building web pages that
s how your Skype online s tatus .
A fter s tarting the online s tatus indic ator, you s hould tes t it by
vis iting http://www.s kypes tatus .c om/Skypename.gif. T his U RL
will be c reated automatic ally for whatever your Skypename might
be. You s hould s ee s omething like that s hown in Figure 1 1 - 9 .
O nline O nline
O ffline O ffline
Skype M e Skype M e
A way A way
N ot A vailable N .A .
D o N ot D is turb Skype M e
H ere's how the online s tatus indic ator works . T he online s tatus
add- on c ommunic ates with a remote web s erver to notify it of
c hanges in your online s tatus . T hen, eac h time that s ame web
s erver rec eives a reques t via your c us tom U RL , it c hec ks to s ee
what your las t online s tatus was reported as being and delivers
the appropriate button image as the res pons e to the reques t.
T his means that wherever you us e an image in a web page, you
c an ins tead us e your (real- time- updated) online s tatus button.
H owever, you need not s top at merely dis playing your online
s tatus , as you c an c ombine your online s tatus with the s kype:
and callto:// protoc ols (s ee "M ake C alls from Your Web Brows er"
[Hack #43]) to provide any Skype us er who looks at your web
page the one- c lic k c onvenienc e of c alling you s imply by c lic king
on your online s tatus button. T he following XH T M L file, online_
s tatus .htm, s hows you how to do this (you will need to replac e
skypename with your own Skype us ername):
<head>
<title>Skype Online Status</title>
</head>
<body>
<p><a href="callto://skypename">
<img alt="Online status for skypename"
src="http://www.skypestatus.com/skypename.gi
</a></p>
</body>
</html>
<HTML>
<HEAD>
<TITLE>Skype Hacks Signature</TITLE>
</HEAD>
<BODY>
<P>Skype Hacks
<A href="callto://skypehacksbook">
<IMG alt="Online status for skypehacksbook"
src="http://www.skypestatus.com/skypehacksbo
</A>
</P>
</BODY>
</HTML>
A s long as the rec ipient of your email has a mail reader that c an
dis play H T M L , your s ignature will dis play your online s tatus (s ee
Figure 1 1 - 1 1 ). H owever, the res ult might not be a real- time and
up- to- date dis play of that s tatus . E ver- popular web- bas ed email
will typic ally refres h an email mes s age eac h time it is opened,
whic h is s omething that regular email applic ations may not do.
Regardles s of whether your online s tatus button ac c urately
portrays your online s tatus , if the rec ipient c lic ks on the button
and is a Skype us er (with callto:// direc ted to Skype), Skype will
open and s tart a c all to you.
You're running late and you're in a rus h, and all you have ac c es s
to is a hotel, airport, or I nternet c afe c omputer that is n't running
Skype and runs little more than a lowly web brows er. N ot to
worry: with this free add- on s ervic e, you c an s end Skype c hat
mes s ages in a s nap. Sadly, the s ervic e only s ends mes s ages ; it
does n't rec eive them. But, hey, it is free!
E ntering this U RL as the addres s for any web brows er will bring
up a s imple c hat page whic h, at the time of this writing, was
available only in G erman, but is very, very s traightforward (s ee
Figure 1 1 - 1 2 ).
http://www.skyperunners.com/instant/
?user=skypehackswindows&S1="Hi again! This is Andrew and I
home late for dinner - about 7 p.m."
P ay s pec ial attention to the fac t that the mes s age (Hi again! This
is Andrew and I 'll be home late for dinner - about 7 p.m.) is between
double quotes , and the rec ipient's Skype name
(s kypehacks windows ) is unquoted.
http://www.skyperunners.com/instant/
?user=SkypeNameOfRecipient&sndr=SkypeNameOfSender&S1=
"MessageText"
N ote that whereas the form method does not allow you to enter a
s ender's Skype name, this U RL method does . T his method is
partic ularly s uited to P D A s , mobile phones , and other s mall-
form- fac tor devic es for whic h the web form vers ion might not
dis play properly or, even if it does , might not be eas y to
navigate.
Hack 90. Manage Add-On Access Control
…
<UI>
<AccessControlList>
<Client1>
<Key1>073d4fafd04afde1b9cf9441a997d7cc27e43f2127
e0f5b60a675a765dde6e27</Key1>
<Key2>4af2cb52c5af3c568856af89f2e4cdb0</Key2>
<Key3>65804</Key3>
<Path>C:\Program Files\rapidSoft\rapidSoft.exe</P
</Client1>
<Client2>
<Key1>8a85438e06e61ea46f989d478f9bb32b89279
39f974d95796efcb5e554fb9267</Key1>
<Key2>77ab71633cc6db19bb3366ea02ea491a</Key2>
<Key3>263922</Key3>
<Path>C:\Program Files\Skype Onlinestatus Indicat
\SkypeStatusClientTCP.exe</Path>
</Client2>
<Client3>
<Key1>76eb3dfca1281c8cb30e2006baa678322223
195d9282a564f4d0aa01425bf281</Key1>
<Key2>bf54f856b92589ad2d8c707f3e41c903</Key2>
<Key3>460168</Key3>
<Path>C:\WINDOWS\System32\WScript.exe</Path>
</Client3>
</AccessControlList>
…
T hat's all well and good for regular .exe files that are add- ons ,
but what it als o means is that onc e you've given WScript.exe
ac c es s to the Skype A P I , all s c ripts yours and anyone els e's c an
and will run without any c omplaint from Skype. So, you may want
to exerc is e a good deal of c aution when giving permis s ion to
s c ripts and the engines that run them.
11.6.1.2. Linux.
…
<UI>
<API>
<Authorizations>
SkypeApiPythonTestClient;;;SkypeApiLogger
</Authorizations>
</API>
…
…
<UI>
<API>
<Authorizations>
SkypeApiPythonTestClient;;;SkypeApiLogger
</Authorizations>
</API>
…
…
<API>
<List>
<AppleScript>
<Data1>2ACF364D256828FF6BF3680252A88880</Data1>
<Data2>627722115D344BE8518653A885370FCF</Data2>
</AppleScript>
<My.20Skype.20API.20Tester>
<Data1>39C7FB01F02DFF491174E05063DEF5F8FA20ACEE5B
29ABB220005CFBE667</Data1>
<Data2>627722115D344BE8518653A885370FCF</Data2>
</My.20Skype.20API.20Tester>
</List>
</API>
…
Chapter 12. Automate Skype
Sec tion 1 2 .1 . H ac ks 9 1 1 0 0 : I ntroduc tion
H ac k 9 2 . A utomate C hat
T his c hapter will not dis c us s the SkypeNET API bec aus e, at the
time of this writing, it had been announc ed but was not yet
releas ed. I f you are c urious , the SkypeN E T A P I enables other
third- party applic ations to us e Skype's c hat (ins tant mes s aging)
and online pres enc e infras truc ture without having to run the
Skype c lient (as oppos ed to add- ons that us e the Skype A P I ,
whic h mus t have a running Skype c lient on the s ame mac hine to
work).
I hope the s c ripts in this c hapter are us eful as they are, but
don't be afraid to hac k around with them and experiment on your
own. C ons ider thes e s c ripts as s tarting points for your own
s c ripts , and as a s timulus to your imagination when inventing
new s c ripts .
A t the time of this writing, the Skype A P I was available only for
the Windows , L inux, and M ac O S X platforms . M oreover, not all
features of the A P I were available on all platforms and for all
language bindings . For that reas on, a handful of the s c ripts
c ontain within them the word experimental, in antic ipation that
A P I s upport is imminent (as of the time of this writing), or that
Skype has announc ed it will s upport it in the very near future.
Skype's A P I is developing at a rapid pac e, but that's no exc us e
for not us ing it now, as it already has s ome great features .
M oreover, if you're waiting for the Skype A P I to reac h s ome kind
of s tas is , you might have a very long wait! E xperimental s c ripts
do run and don't do anything bad, it's jus t that they may not work
exac tly as des c ribed; all other s c ripts work fine on the vers ions
of Skype on whic h they were tes ted (s ee the P refac e). I f a s c ript
does n't work for you, the firs t thing you s hould do is determine
whether an updated s c ript has been pos ted to the book's web
s ite, http://www.oreilly.c om/c atalog/SkypeH ac ks /index.html. You
c an download all s c ripts in this c hapter from that web s ite.
Windows
Linux
Mac OS X
NAME NameOfAddon
OK
PROTOCOL 5
PROTOCOL 5
…
For L inux, during this mes s age exc hange, if this is the firs t time
NameOfAddon has as ked to us e the Skype A P I , Skype will pop up a
dialog as king the us er to give permis s ion for the add- on to
ac c es s the A P I . OK will be returned and mes s age pas s ing will
c ontinue only if the us er gives permis s ion.
PING
M es s age reques ting that Skype res pond if it's pres ent.
I f Skype is running and rec eives the mes s age, it will
res pond with PONG.
AUDIO_IN
SET AUDIO_INSound device name s ent to Skype will c hange
the audio input devic e that Skype us es to the s ound
devic e s pec ified. I f no s ound devic e is s pec ified, this
c ommand will s et audio input to the Windows default
s ound devic e. I f this c ommand is s uc c es s ful, Skype's
reply mes s age will be AUDIO_IN Sound device name.
AUDIO_OUT
CALL
CHAT CREATE
CHATMESSAGE
FOCUS
MESSAGE
NAME
PROTOCOL
RINGER
V BSc ripts are files with a .vbs extens ion and that c ontain
V BSc ript c ode. T his is not the plac e to teac h you how to c ode in
V BSc ript. For that, O 'Reilly has other books that may interes t
you (for example, VBScript in a Nuts hell [2 0 0 3 ]), but it is
important for you to know how to run V BSc ripts . You c an run
V BSc ripts without c ommand- line arguments by double- c lic king
on their filenames in Windows E xplorer, from the run line (s elec t
Start Run…), by entering their filenames (with or without the
.vbs extens ion) at the c ommand prompt, or by as s igning them to
a s hortc ut. I f a s c ript takes c ommand- line arguments , you
c annot run it by s imply double- c lic king on it in Windows E xplorer.
E ven though teac hing you how to program in V BSc ript is not the
purpos e of this book, a few tips and tric ks on hac king and
making the s c ripts work is definitely within the book's s c ope.
H ere are a few ideas to try if you're having diffic ulty making a
s c ript (yours or mine) work as you want it to:
Non-GUI s cripting
When your s c ript is doing a lot of things very quic kly, it's
diffic ult for you to s ee or unders tand what's going on. For
that reas on, it helps to s low things down by putting
paus es between exec utable s tatements , as in this
s c ript, paus e.py:
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*
# File: pause.py
import time
def main():
print "You should see this line first…"
time.sleep(3)
print "…and this line about 3 seconds later!"
return 0
if __name__ == "__main__":
main()
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*
# File: popup.py
def main():
print "Here's some output to the command termi
root = Tk() # Initialize windowing toolkit
SimpleDialog(root,
"…and here's some output in a popup w
buttons=["OK"], default=0, title="Pop
return 0
if __name__ == "__main__":
main()
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*
# File: ping_pong.py
class skype_api:
def __init__(self):
remote_bus = dbus.SystemBus()
system_service_list = remote_bus.get_servi
'org.freedesktop.DBus').get_object('/org/f
'org.freedesktop.DBus').ListServices()
skype_api_found = 0
for service in system_service_list:
if service=='com.Skype.API':
skype_api_found = 1
break
if not skype_api_found:
sys.exit('No API-capable instance of S
skype_service = remote_bus.get_service('co
self.skype_api_object = skype_service.get_
'/com/Skype', 'com.Skype.API')
this_addon = addon()
answer = self.send_message(this_addon.name
if answer != 'OK':
sys.exit('Could not bind to Skype client')
answer = self.send_message(this_addon.prot
if answer != this_addon.protocol():
sys.exit(this_addon.protocol() + ' is
' by the version of Skype you are
You c an run P ython s c ripts from the c ommand line, like this :
python script. py arg1, where arg1 and any following arguments
are optional, depending on the needs of the s c ript.
-- File: echo123.scpt
You might want to s witc h from one s ound devic e to another for
many reas ons . For ins tanc e, you might want to s witc h from a
mic rophone and s peaker to a hands et for privac y from
eaves droppers during a c all, or you might have a hands et but
you like to play your voic email over a s peaker. T he s c ripts in
this hac k will s how you how to hot- s witc h among s ound devic es
with fas t and eas y hotkey s equenc es .
12.2.1. Windows
Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.SendKeys "^+S" ' Send ctrl+shift+S
Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.SendKeys "^+S" ' Send ctrl+shift+S
WScript.Sleep 1000 ' Wait for Skype to open and g
objShell.SendKeys "%(TO)" ' Tools --> Options…
objShell.SendKeys "{TAB}" ' Move to left pane …
objShell.SendKeys "{TAB}" ' …done.
objShell.SendKeys "{DOWN}" ' Move to Sound Devices …
objShell.SendKeys "{DOWN}" ' …
objShell.SendKeys "{DOWN}" ' …
objShell.SendKeys "{DOWN}" ' …done.
objShell.SendKeys "{TAB}" ' Move to audio-in pulldown me
objShell.SendKeys "{TAB}" ' …done.
objShell.SendKeys "%{DOWN}" ' Pull down the menu to displa
From here on, all you have to do is replic ate the key s equenc es
you would enter by hand. I n my c as e, the s c ript, logitech.vbs , to
make my L ogitec h U SB heads et the devic e us ed by Skype for all
s ound purpos es looks like this :
Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.SendKeys "^+S" ' Send ctrl-shift-S
WScript.Sleep 1000 ' Wait for Skype to open and g
objShell.SendKeys "%(TO)" ' Tools --> Options…
WScript.Sleep 100
objShell.SendKeys "{TAB}" ' Move to left pane …
WScript.Sleep 100
objShell.SendKeys "{TAB}" ' …done.
WScript.Sleep 100
objShell.SendKeys "{DOWN}" ' Move to Sound Devices …
WScript.Sleep 100
objShell.SendKeys "{DOWN}" ' …
WScript.Sleep 100
objShell.SendKeys "{DOWN}" ' …
WScript.Sleep 100
objShell.SendKeys "{DOWN}" ' …done.
WScript.Sleep 100
objShell.SendKeys "{TAB}" ' Move to audio-in pulldown me
WScript.Sleep 100
objShell.SendKeys "{TAB}" ' …done.
WScript.Sleep 100
objShell.SendKeys "L" ' Set audio-in to Logitech
WScript.Sleep 100
objShell.SendKeys "{TAB}"
WScript.Sleep 100
objShell.SendKeys "L" ' Set audio-out to Logitech
WScript.Sleep 100
objShell.SendKeys "{TAB}"
WScript.Sleep 100
objShell.SendKeys "L" ' Set ringer to Logitech
WScript.Sleep 100
objShell.SendKeys "{TAB}" ' Move to save button …
WScript.Sleep 100
objShell.SendKeys "{TAB}" ' …
WScript.Sleep 100
objShell.SendKeys "{TAB}" ' …done.
WScript.Sleep 100
objShell.SendKeys "{ENTER}" ' Press the save button.
D uring a c all, Skype is bus y with many things . For Skype not to
mis s keys trokes s ent by the previous s c ript during a c all, the
s c ript paus es for 1 0 0 millis ec onds before is s uing eac h
s equenc e of keys trokes .
Dim objSkypeAPI
Set objSkypeAPI = WScript.CreateObject("SkypeAPI.Access")
objSkypeAPI.SendBlockingCommand "SET AUDIO_IN Logitech USB
objSkypeAPI.SendBlockingCommand "SET AUDIO_OUT Logitech US
objSkypeAPI.SendBlockingCommand "SET RINGER Logitech USB H
12.2.2. Linux
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*
class addon:
# Name of Skype API addon (that is, name of this scrip
def name(self):
return 'NAME HotSwitch'
# Skype API protocol required by this addon
def protocol(self):
return 'PROTOCOL 1'
class skype_api:
def __init__(self):
remote_bus = dbus.SystemBus()
system_service_list = remote_bus.get_service( \
'org.freedesktop.DBus').get_object( \
'/org/freedesktop/DBus', \
'org.freedesktop.DBus').ListServices()
skype_api_found = 0
for service in system_service_list:
if service=='com.Skype.API':
skype_api_found = 1
break
if not skype_api_found:
sys.exit('No running API-capable Skype found')
skype_service = remote_bus.get_service('com.Skype.
self.skype_api_object = skype_service.get_object(
'/com/Skype', 'com.Skype.API')
this_addon = addon()
answer = self.send_message(this_addon.name())
if answer != 'OK':
sys.exit('Could not bind to Skype client')
answer = self.send_message(this_addon.protocol())
if answer != this_addon.protocol():
sys.exit(this_addon.protocol() + \
' is not supported by the version' + \
' of Skype you are running')
def main():
skypeapi = skype_api()
skypeapi.send_message('SET AUDIO_IN ' + sys.argv[
skypeapi.send_message('SET AUDIO_OUT ' + sys.argv[
return 0
if __name__ == "__main__":
main()
12.2.3. Mac OS X
" of menu 1 of
objSkypeAPI.SendBlockingCommand _
"CHATMESSAGE " + sparts(1) + " " + strMessage
I V R s ys tems res pond to the keys you pres s (ac tually, the tones
you hear when you pres s a key) on your phone's keypad (or on
Skype's D ial tab) in res pons e to voic e prompts from a c omputer
at the other end of the c all. M enus for I V R s ys tems are normally
well defined and don't c hange often. So, grab a notepad and jot
down your interac tions at eac h s tep during an I V R c all. A rmed
with this information, you're in a good pos ition to automate the
proc es s the next time around
A t the duly appointed date and time, the s c ript will run, and
Skype will pop up and s tart the c all. C learly, however, s c heduled
c alls are for times when you're s ure you'll be s itting at your
c omputer! L ikewis e, you c an s c hedule c onferenc e c alls in a
s imilar way (us ing a c ommand s uc h as CALL skypeuser1
+442075551212 skypeuser2, for ins tanc e, lis ting up to four
c onferenc e c all partic ipants after the CALL s tatement).
-- File: call_pete.scpt
I n the chat_team.s cpt s c ript, pay partic ular attention to the fac t
that there mus t be whites pac e between the Skype us ername and
the mes s age text.
J us t as you c an't c all yours elf in Skype, you c an't s end a c hat
mes s age to only yours elf (though the latter is n't entirely true). I f
you s end a c hat mes s age to ec ho1 2 3 , it will be reflec ted bac k to
you. T his means you c an s end c hat mes s ages to yours elf, whic h
at firs t glanc e s eems pointles s until you realize that s uc h
mes s ages in c ombination with iC al mean that you c an s end
yours elf reminders us ing Skype c hat! T his is partic ularly us eful
if you regularly log onto Skype on s everal mac hines under
different Skype us ernames , whic h might be the c as e if you have
s everal mac hines at home or at the offic e and you roam from one
to the next, or if you travel with a laptop. Your s c hedule is
c entralized on one mac hine, but your reminders are dis tributed.
Simply attac h a s c ript s uc h as chat_reminder.s cpt to an event in
iC al, and no matter where you are logged onto Skype, your
reminder will grab your attention.
-- File: chat_reminder.scpt
I f you move around a lot with a handheld devic e that has email
but does n't run Skype (for example, a P alm P D A ), or if you c arry
a Short Mes s age Service (SM S)- enabled phone, you c an get
timely notific ation of the arrival of new Skype voic email us ing
the following s c ripts . O nc e you rec eive notific ation, go to the
neares t mac hine running Skype, log on, and you'll be able to
lis ten to your newly arrived voic email.
T-Mobile
Virgin Mobile
Cingular
Sprint
Verizon
P honeN umber@ vtext.c om
Nextel
Windows
Mac OS X
12.6.1. Windows
"\voicemail"
Set objFolder = objFSO.GetFolder(voicemail_folder)
Set objFiles = objFolder.Files
num_voicemails = objFiles.Count
Do
If objFiles.count > num_voicemails Then
'---------------------------------------------------------
' SMTP server details
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing
cdoSendUsingPort
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserve
"<SMTPServerName>"
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpauthe
cdoBasicAuth
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusern
"<SMTPUsername>"
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendpassw
"<SMTPPassword>"
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserve
cdoPort
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpusess
False
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpconne
cdoTimeout
objEmail.Configuration.Fields.Update
'---------------------------------------------------------
objEmail.Send
End If
num_voicemails = objFiles.count
12.6.2. Mac OS X
-- File: new_voicemail.scpt
to recipients
Dim iFriends
iFriends = g_objSkypeAPI.GetFriendList.Count
If iFriends = 0 Then
CheckFriendListSize = False
Else
strTitle = "Create " & iFriends
if iFriends <> 1 Then strTitle = strTitle + "s"
strTitle = strTitle + " Shortcuts"
i = g_objShell.Popup( _
"Click ""Yes"" to create shortcuts on Desktop,
"Click ""No"" to create shortcuts in Start Men
"Click ""Cancel"" to abort", 0, strTitle, 35)
If i = 6 Then
CheckFriendListSize= True
g_bOnDesktop = True
ElseIf i = 7 Then
CheckFriendListSize= True
g_bOnDesktop = False
Else
CheckFriendListSize= False
End If
End If
End Function
Dim strFileName
' Build a file name to display
If Len(User.DisplayName) > 0 Then
strFileName = User.DisplayName + ".lnk"
ElseIf Len(User.FullName) > 0 Then
strFileName = User.FullName + ".lnk"
Else
strFileName = User.Handle + ".lnk"
End If
If g_bOnDesktop Then
g_strShortcutPath = g_objShell.SpecialFolders("Des
g_strPrefix = "Skype - "
Else
g_strShortcutPath = g_objFSO.BuildPath( _
g_objShell.SpecialFolders("Sta
"Skype Shortcuts")
g_strPrefix = ""
End If
End If
Hack 97. Make Chat Talk Out Loud
Sit back and just listen, as this hack uses the Microsof t Speech
SDK to make incoming chat messages speak aloud!
P erhaps you're vis ually impaired and you need inc oming c hat
mes s ages to be read aloud s o that you c an partic ipate in one-
on- one or multipers on c hat s es s ions . O r maybe you like to
wander around your c omputer room while lis tening to c hat
s es s ions . O r perhaps you jus t think that talking c hat is c ool.
Whatever the reas on, getting c hat to talk aloud is s imple with
this hac k.
This hack will clear all histories, overwrite data in your personal
prof ile, and otherwise delete all personal data associated with a
Skype account.
eras e_profile_from_network.vbs
By making the eras ure proc es s divis ible through s mall s c ripts ,
with eac h s c ript des igned to perform one s imple tas k, you gain a
good deal of flexibility over what you keep, and what you throw
away, in terms of Skype us er data on a mac hine.
12.9.1. erase_profile_from_network.vbs.
Dim objSkypeAPI
Set objSkypeAPI = WScript.CreateObject("SkypeAPI.Access")
objSkypeAPI.ConnectAndWait 15000
objSkypeAPI.SendBlockingCommand("SET PROFILE FULLNAME ")
objSkypeAPI.SendBlockingCommand("SET PROFILE BIRTHDAY 1900
objSkypeAPI.SendBlockingCommand("SET PROFILE SEX UNKNOWN")
objSkypeAPI.SendBlockingCommand("SET PROFILE LANGUAGES ab"
objSkypeAPI.SendBlockingCommand("SET PROFILE COUNTRY ")
objSkypeAPI.SendBlockingCommand("SET PROFILE PROVINCE ")
objSkypeAPI.SendBlockingCommand("SET PROFILE CITY ")
objSkypeAPI.SendBlockingCommand("SET PROFILE PHONE_HOME ")
objSkypeAPI.SendBlockingCommand("SET PROFILE PHONE_OFFICE
objSkypeAPI.SendBlockingCommand("SET PROFILE PHONE_MOBILE
objSkypeAPI.SendBlockingCommand("SET PROFILE HOMEPAGE ")
objSkypeAPI.SendBlockingCommand("SET PROFILE ABOUT ")
objSkypeAPI.SendBlockingCommand("SET PROFILE MOOD_TEXT ")
objSkypeAPI.SendBlockingCommand("SET PROFILE TIMEZONE 0")
12.9.2. erase_vm_history.vbs.
Dim objSkypeAPI
Set objSkypeAPI = WScript.CreateObject("SkypeAPI.Access")
objSkypeAPI.ConnectAndWait 15000
objSkypeAPI.SendBlockingCommand("CLEAR VOICEMAILHISTORY")
12.9.3. erase_chat_history.vbs.
Dim objSkypeAPI
Set objSkypeAPI = WScript.CreateObject("SkypeAPI.Access")
objSkypeAPI.ConnectAndWait 15000
objSkypeAPI.SendBlockingCommand("CLEAR CHATHISTORY")
12.9.4. erase_call_history.vbs.
Dim objSkypeAPI
Set objSkypeAPI = WScript.CreateObject("SkypeAPI.Access")
objSkypeAPI.ConnectAndWait 15000
objSkypeAPI.SendBlockingCommand("CLEAR CALLHISTORY ALL")
12.9.5. erase_folders_and_files.vbs.
' Variables
Dim objShell ' Scripting shell object
Dim objFSO ' File system object
Dim objArgs ' Command line arguments
Dim strSkypeUser ' Skype user name passed on the command-l
Dim strHomePath ' Path to home folder of current user
Dim strSkypePath ' Path to Skype folder of strSkypeUser
12.10.1. Windows
A free tool, Skype Trac er, allows you to interac tively s end A P I
c ommands to Skype and s ee what Skype s ends bac k in return
(s ee Figure 1 2 - 6 ). A nic e feature of this tool is that you c an
s ave your interac tive s es s ion to a logfile for later analys is . You
c an download Skype Trac er at
http://s hare.s kype.c om/direc tory/s kype_trac er/view/.
12.10.2. Linux
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*
# File: skypeapiclient_logging.py
class MainWindow:
.
.
.
class Callback_obj(dbus.Object):
.
.
.
def main():
MainWindow()
gtk.main()
return 0
With the releas e of vers ion 1 .4 for Windows , Skype inc luded the
ability to dis able its A P I . I n many bus ines s es , dis abling this
func tion may be dic tated by c orporate polic y, or it might be at
the reques t of your network adminis trator or I T s ec urity offic er.
P rovided you're willing to hac k the Windows regis try, you c an
s elec tively dis able Skype's A P I .
I f you don't want to hac k this regis try s etting yours elf, or if you
have to roll out Skype ac ros s a large number of mac hines , you
might find the following V BSc ript (dis able_api.vbs ) helpful:
Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.RegWrite "HKLM\Software\Policies\Skype\Phone\Disa
1, "REG_DWORD"
Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.RegWrite "HKLM\Software\Policies\Skype\Phone\Disa
0, "REG_DWORD"
N ote that both s c ripts will, if nec es s ary, c reate the regis try entry
if it does not exis t already.
Colophon
O ur look is the res ult of reader c omments , our own
experimentation, and feedbac k from dis tribution c hannels .
D is tinc tive c overs c omplement our dis tinc tive approac h to
tec hnic al topic s , breathing pers onality and life into potentially
dry s ubjec ts .
C olleen G orman was the produc tion editor and proofreader, and
A udrey D oyle was the c opyeditor for Skype Hacks . Reba L ibby
and C laire C loutier provided quality c ontrol. J ohnna VanH oos e
D ins e wrote the index.
D avid Futato des igned the interior layout. T his book was
c onverted by Keith Fahlgren to FrameM aker 5 .5 .6 with a format
c onvers ion tool c reated by E rik Ray, J as on M c I ntos h, N eil Walls ,
and M ike Sierra that us es P erl and XM L tec hnologies . T he text
font is L inotype Birka; the heading font is A dobe H elvetic a N eue
C ondens ed; and the c ode font is L uc as Font's T heSans M ono
C ondens ed. T he illus trations that appear in the book were
produc ed by Robert Romano, J es s amyn Read, and L es ley Boras h
us ing M ac romedia FreeH and M X and A dobe P hotos hop C S. T his
c olophon was written by C olleen G orman.
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
ActiveS scripting
add-ons
hardw are
softw are
AOL Instant Messenger
Audiomatic
automation
Skype API and
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
band
bandw idth
costs
measuring
Skype's needs
batch files
Biz.KonuSh.NET
blocking users
Bluetooth
headsets
Pocket PC configuration
browsers
Skype toolbar
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
cable broadband
call failure
call status
call testing service
calls
dialing w ith letters
hanging up
rounding times
callto:// URL
inserting in documents
cancelling echo
charge backs
charges
chat
Audiomatic
invite participants
community forums
conference calls
configuration 2nd
bandw idth
headsets
Internet connections
laptops
Pocket PCs
sound devices
USB handset
USB headset
Connectotel
consumption taxes
CPU usage
Window s
crashes in Window s
credits
forfeiting
transfer
cutting phone lines
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
desktop
shortcuts
dial keys
dial-in number
dial-up connections
dialing
letters
DinersClub
directory assistance (411)
Dry DSL
DSL (Digital Subscriber Line)
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
eBetalning
echo cancellation
echo123
file transfers
eNETS
error reporting
estimates
savings
fixed charges
taxes
total savings
European VAT (Value Added Tax)
euros
Excel
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
fast-dial
Festoon
fixed charges
foreign language
forw arding calls
forw arding voicemail to email automatically
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
games
Gizmoz Talking Headz
groups
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
handsets
USB 2nd
Hansabank online
harassment
hardware
add-ons
computer connection
headsets
Bluetooth
USB
hot pluggable devices
hotspots
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
incoming calls
installation
Skype
instant messaging
interactive telephone services
international calls
dial-in number setup
Internet connection
laptop configuration and
latency
Internet connections
configuration
DSL
satellite
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
Kazaa
KhaosDial
Know ledgebase
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ]
[W] [Y ]
laptops
as super node
Linux
blocking users
command line
folder transfer
online status
Skype API messages
sound
troubleshooting
sound
login
usernames
look-and-feel
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M ] [N] [O] [P] [Q] [R] [S] [T] [U] [V ]
[W] [Y ]
Macintosh
online status
scheduling runs
scripting
sound devices
voicemail notification
MasterCard/Eurocard
memory sticks
loading Skype
menu shortcuts
methods of payment
mobile phones
911 emergency services backup
Pocket PCs as
mobile users
money transfer feels
monitors
MSN Messenger
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
notifications
turning off
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
privacy and
Outlook
import contacts
Skype toolbar
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ]
[W] [Y ]
payment
anonymous proxies
delays
vouchers
PayPal
PBX (Private Branch Exchange)
per payment account
phone lines
cutting
multiple lines
phone systems
POTS
phones
multiple lines
Skype-to-phone adapter
placing
calls
toll-free
placing calls
toll-free
Pocket PCs
as mobile phone
configuration
online status
pop ups
ports
443
80
forw arding
scanning
POTS (Plain Old Telephone System)
Pow erPoint
privacy settings
online status
PSTN (Public Sw itched Telephone Netw ork)
Python
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
refunds
no-quibble
quibble
relays
reporting errors
ringtones
convert to .w av
Window s
Window s Recorder
rounding call times
Roundtrip
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
savings
bandw idth costs
credits
payments and
rate variables
refunds and
VoIP providers
scheduling Skype runs
scripting
ActiveS and
GUI
Linux
sound device hot sw itching
Macintosh
sound device hot sw itching
security
username tips and
viruses
Send/Recv packet loss
services
Skype Zones
SkypeIn 2nd
SkypeOut
voicemail
setup
phone line cut
sound devices
shared.xml file
shortcuts
desktop
SIP (Session Initiation Protocol)
Skype
configuration
installation
Skype 3D Avatar Messenger
Skype API
disabling
messages
Skype E911 plug-in
Skype groups
Skype Me button
Skype Me setting
Skype nodes
Skype toolbar
Skype Tracer
Skype vocabulary
Skype Zones
Skype zones
Skype-to-phone adapters
Skype-to-phone USB box
Skype-to-Skype calls
skype: URL
SkypeIn 2nd
SkypeOut
Skypeteer call cost calculator
SMS (Short Message Service)
voicemail notification
softphone
softw are add-ons
Audiomatic
sound
Linux
testing
Window s
sound devices
configuration
Spontania Video4IM
super nodes
laptops as
routers and
system requirements
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ]
[W] [Y ]
taxes
Sales and Use taxes
savings estimates
testing
bandw idth
sound
sound quality
toll-free calls
toolbar
crashes
dial keys
interactive troubleshooter
Know ledgebase
login failed
online information an
routers
support request
Window s Wireless
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
URLs
callto:/ /
skype:
USB
desktop phone
Flash phone
handset
handsets
listen to voicemail
user guides
usernames
login list
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
versions
video conferencing
Festoon
Spontania Video4IM
Visa
voicemail
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y ]
w ardriving
.w av files
w eb site
Skype Me button
Widget
WiFi
free Skype WiFi program
Windows
command line
CPU usage
folder transfer
ringtones
troubleshooting
CPU usage
sound device
voicemail notification
Window s Recorder
Window s Wireless
Word
WZCS (Wireless Zero Configuration Service)
Index
[SYMBOL] [A ] [B] [C] [D] [E] [F] [G] [H] [I] [J]
[K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V ] [W]
[Y]
Yahoo!