start	end	text
9180	11040	I love you too, Stank.
11460	14200	I hope you enjoyed our little time by there.
15140	18960	I'm Strom Carlson, and this is Black Ratchet,
18960	23240	and welcome to Be Your Own Telephone Company with Asterisk.
24680	29180	Apparently Alex thought that rated this a bullshit presentation, so...
30040	31660	Yes, we're very proud of that fact.
36780	39900	See, if Alex thought that we're actually here, we'd give him the payphone,
39900	43900	but I guess he's not, so you lose, Alex. Sorry.
47280	48800	So, let's get started.
48820	51780	Actually, before we get started, I just want to test the phone
51780	53860	to make sure that our dial tone's the right volume.
114760	116560	Alright, so let's get started.
117900	120340	Seems like I've got these cords in the right places.
121060	124640	So, first off, what is Asterisk? What is this damn thing?
125960	128560	How many of you have no clue what Asterisk actually is?
131080	135040	Sweet. You're in for fun. Lots of fun.
135680	137020	What is Asterisk?
137160	141020	Asterisk is a free, open-source PBX that runs on Linux.
141400	142960	It is the best thing since sliced bread.
142960	145000	How many of you don't know what a PBX is?
146720	148500	All my phones have their friends in the front.
149080	152040	PBX is a private brand exchange. It's a telephone system.
152040	154620	In case you hadn't guessed, it's a talk about telephones.
155180	158780	It was originally written by Mark Spencer of Digium back in 1999.
158780	161120	It's been upgraded significantly since then.
161120	163920	It's now version 1.0.8. It's a stable 1.0.
165380	167620	1.0.9 is a stable 1.0?
167780	168840	Yeah. Okay.
173700	176700	We just ran the latest bleeding edge version.
176720	179540	So, why Asterisk? Well, first off, it's free!
181600	183040	And that's the cool part.
183040	189380	A typical PBX for a business will cost you in the 5-digit range just for the hardware.
189620	191580	And when you set it up, it will cost you even more.
191660	195040	So if you can do this yourself, and this is very easy to do yourself,
195040	197020	it will save you a lot of money if you're running a company.
197020	200620	And if you're a hobbyist, it's really cool because you can set up your own phone network
200620	203060	and call each other for free, and we'll get into that.
203580	205720	It runs on commodity PC hardware.
205720	210820	In fact, this little tiny laptop that Ratchet is typing on right now
210820	213460	is our Asterisk PBX for the presentation.
214380	217740	There's broad support for VoIP protocols and hardware.
218040	221760	It's easy to interconnect with other Asterisk boxes and form your own network.
221760	224300	It's configurable to do almost whatever you want it to do.
224300	228820	So you can tweak it to your needs, you can write your own code to interface with things if you need to.
229360	234020	Unfortunately, it won't do your dishes, but it comes close.
234020	237420	We're working on the dish dial tone module.
244980	247780	So let's get into the hardware of Asterisk.
248500	251880	Asterisk will run on surprisingly out-of-date stuff.
252120	258160	If you go to VoIPinfo.org, there's a wiki there with all sorts of information on VoIP and especially Asterisk.
258160	262720	And one of the pages is this page where people post what they've gotten Asterisk to do.
262720	264780	And they stress test Asterisk on various hardware.
265260	272220	Someone running a 133 MHz Pentium 1 with 16 MB of RAM got 3 concurrent SIP calls going at the same time.
272960	275460	And any PC you have lying around will work.
275540	282060	Someone posted that they got a 2.4 GHz P4 with 512 MB of RAM to do 790 simultaneous calls.
283860	289600	So you'll hit your bandwidth limit far more quickly than you'll hit the limit of your hardware.
292200	296640	Here's a sample Asterisk installation. This is actually my rack behind my desk at home.
296800	299620	So here's my Asterisk box in the corner.
300780	303940	Thanks, thanks. I get told that a lot.
306180	307460	I beg your pardon?
309180	311540	Yeah, I did get the rack at Costco, actually.
312600	317280	So there's the Asterisk box chilling into my mail server, my web server, my NAS box, and everything.
317860	324560	There are Sun machines here. Asterisk is running on the PC, but people have gotten it to work on Sun machines running Linux.
324560	328420	And I think someone got it to run on Solaris running on Sun hardware as well.
330360	332640	So, yes.
334820	340180	They all work. We'll have a Q&A session at the end, so we'll do that.
341000	346860	There are many methods for connecting your telephones to Asterisk.
346860	353120	You can get either an IP telephone, or you can connect regular analog telephones to Asterisk.
353920	358140	There are IP telephones you can buy second-hand on the market. They're not all that expensive.
358260	361300	This is the Cisco 7960. This is an IP phone.
361840	368300	You can get those for about $250 online. In fact, I looked on eBay. I think I saw them going used for $150.
369520	374860	If you look for deals, I've gotten one for $120. That's as low as they go right now in current market conditions.
378160	379860	There's the... go ahead.
380060	382100	You don't want to know what I had to do for that.
384980	388640	There's the Polycom IP600, which is considered the other really good phone.
388640	391660	These two are considered probably the premium-deployed telephones.
391660	394120	And that's $250 online on eBay.
394520	399840	There are crappy telephones you can get. You can get the Grandstream Budget Home 100, used about $40.
399840	403860	It's roughly equivalent to that $9.95 phone you buy at the drugstore
404640	406980	that falls apart before you even get it home.
407040	410260	But it's a VoIP phone, so if you need a cheap VoIP phone, that'll work.
410540	415700	And right in the mid-range, there's the Snom 190, which is about $150, $175.
415940	418500	The prices have come down since we threw these slides together.
419120	425280	And, I mean, there are hundreds of manufacturers making phones for Asterisk and just VoIP in general.
425280	427760	So you can look around and find all sorts of stuff.
432220	436700	Most VoIP phones are built the same. We'll get into that, actually, in the protocol section.
436700	440920	So I'm actually going to ask you to hold your questions until the Q&A session at the end.
440920	445280	And we'll have a queue at the telephone over there for you to ask your questions via telephone.
447440	449100	You know the cool stuff's coming later.
449260	453800	You can also get little terminal adapters if you want to plug your analog telephones in.
454320	459000	You can buy one from Digium that speaks Asterisk's native protocol called EECS.
459080	461240	And that's called the EECS-E. And I think I have one here.
481880	489980	This is the EECS-E. A little tidy thing. You plug in an analog telephone in one end and you plug your Ethernet connection in the other end.
489980	493460	And your analog phone is now a VoIP phone. This is $100.
494760	502040	You can also get the Sephora SPA-2002. We've got those here running. And these are about $70.
502040	505780	You can plug two Vana Ratchet.
509540	516100	These speak SIF instead of EECS. You can plug two analog telephones into these and get two dial tones and that's about $70.
516100	524500	You can get the Grandstream HandyTone 286 for about $65. That only does one, I think, that speaks SIF.
524500	531460	And the old Cisco ATA-186, which is the one that Vonage used to send out, is about $50 online.
531660	542240	You can also... there's tons more of these. There's one... the adapter that Packet 8 used to send out, the DTA-310, you can find those about $30 used online.
542240	547960	And although you can't really get them working as they are, you can reflash the firmware and they become just generic SIF adapters.
548480	550360	There's details for that on the website.
551260	561460	You can also buy something called a Zaptel card. And these are cards you put in your asterisk box and you connect analog telephones and telephone lines to these cards.
561560	566420	The one on the top is the TDM-400P. That has four little modules on it.
566420	574140	You can select either FXS, which are dial tones, or FXO, which are telephone line interfaces, and put them on the card and arrange them any way you like.
574880	587500	The bottom one is a T1 card, and you can... there are two versions of FXO, 405 and 410P, and the 411 and 406 have echo cancellation built into them.
588000	597540	And so you can bring four primary rate ISDN interfaces into that and have 96 channels of voice going out of your asterisk box.
597540	605140	Or, you know, if you've got a whole bunch of analog phones, you can get a channel bank and plug the channel bank into the T1 for your stations.
605140	608960	So you can have 96 stations running off of one asterisk box with four channel banks.
610960	613540	So, what are you talking about?
616180	621480	Let's get into some of the protocols that asterisks use to talk to the network.
627800	635380	Those are really hard to find, in my opinion. I mean, I've looked for them because I thought they were really cool, but I could not find them anywhere.
635380	639000	I searched eBay for about a week, and I finally gave up in frustration.
643760	644920	Oh, that's cool.
646560	653760	Okay, for those of you who didn't hear, apparently the Linksys TAP2 is the same way as the Sapura 2000.
653760	657600	It can or can't, except for it cannot be flashed permanently.
657600	661600	Anyway, getting back to interconnecting asterisks, let's go adjust this.
665300	671860	The main protocol for interconnecting voice over IP calls is called SIP. It stands for Session Initiation Protocol.
671860	677600	It's a signaling protocol only. It only signals and sets up calls.
677600	684460	All it does is contact your box and say, hey, I have a good call for you. You might want to connect to it. It's on this IP address.
684460	693400	At which point, it connects to the IP address with a protocol called RTP, which stands for Real-Time Transport Protocol.
694480	700180	It was developed by the ITF, not ITU. It uses URLs instead of telephone numbers.
700180	710300	For example, you won't connect to 3-1-1-5-5-5-2-3-6-8. You'll enter it into SIP, stromcharleston.com, which doesn't work on Thread.
710560	717160	It's intended to be a peer-to-peer protocol. It's not like a general server. It goes to my box next to Strom's.
717300	725340	It doesn't have to contact anybody for it to work. There are certain caveats to that. We'll get into those later.
725340	735220	The main advantage of SIP is that it's very ubiquitous. It's supported by everybody. If you talk about VoIP, anything post-1998, it uses SIP.
736060	745180	Packet 8, Broad Voice, essentially all the major providers use SIP, with the exception of AT&T called Vantage, which I'll cover later.
745420	752760	It does not play well with NAT. It's very hard to actually set up with NAT. You have to start poking holes in your firewall for the RTP.
752760	760900	And, for example, if you start connecting out to another box, say I'm behind NAT and I try to call Strom, it'll say, oh, connect to my box.
760900	769700	I'm at 192.168.0.252, and Strom's loss of VoIP. So there's a lot of workarounds for it.
769700	774660	What you have to do is you have to tell it to, you know, this is my external IP address. Use this for everything.
774980	780060	Don't care about whatever your IP address is. However, in my opinion, it's a bit of a kludge.
780880	787700	The other protocol, before there was SIP, there was H.323. It was developed in 1996 by the ITU.
788600	796300	It's really far more similar to traditional protocols that are used by telephone networks, as opposed to SIP.
796620	800540	Like, for example, SS7 or something. It's more similar to that.
800560	808180	Again, it uses RTP for media transport, and it's used internally a lot by inter-exchange carriers.
808180	813100	And it's very unpopular in the VoIP world, because it isn't a fair setup.
813600	816420	And it's, like I said, a major pain in the ass to get it working correctly.
816980	817980	Hold on.
818360	823540	Although, by the way, although this is a telephone talk, please turn your ringers off. Thank you.
823960	826880	Come on, I figured let's discriminate her against telephone users.
827640	833720	We actually were hanging, Strom was hanging out in Pound Asterisk one day on IRC.3dome.net, for anyone interested.
833720	838780	And JerJer, who's one of the major contributors in Asterisk, made the following quote.
838780	841840	Just don't use H3.3, and all your problems will be solved.
841840	844120	Which, technically, is correct.
845120	849960	Now, for Asterisk, there's a main protocol, and as you can tell, it's based on Asterisk.
849960	851840	It's called intra-asterisk exchange.
851840	855320	It was developed by Mark Spencer of Digium, the guy who wrote Asterisk.
855320	857740	And it covers both signaling and media transport.
857740	860080	It's a very streamlined, very simple protocol.
860080	866560	What Mark wanted to do is he wanted to, you know, took a look at SIP, took a look at H3.23, and said,
866560	869240	Boy, these are crap. Let's go design a mining protocol.
869640	872780	It does not suffer from NAT traversal issues.
872960	878920	For example, I'm behind a firewall I call Strom, and, you know, it knows that where I'm coming from, you know,
879420	880660	it knows where to connect.
880660	884560	It doesn't actually, you know, say, hey, I have an IP address here, which could be wrong.
885420	890000	Data signaling happened via UDP on port 4569.
890000	892720	That's the only thing you have to open up in your firewall as opposed to RTP,
892720	895240	which I think you have to open about 15,000 ports for.
895760	897980	Very well supported by Asterisk.
899420	902840	However, the support in terminal equipment is very rare.
902840	908020	The only ETA that supports it is the ICSI by Digium that makes it.
908240	912380	I've also noticed that one phone recently started to support it.
912380	914100	It's called a NetWeb302.
914100	915820	It's actually made in China.
916300	918880	And the only place you can get it is someplace in Delaware.
919640	920440	Telephone.
920880	922600	Could you shut off the ringer, please?
922860	924420	I'm testing for later.
924960	926560	The nerve of some people.
929720	935560	It's a protocol for many PSTN termination providers because, you know, a lot of PSTN termination providers,
935560	936800	they use Asterisk.
936800	937840	It all works.
937840	938460	Just set it up.
938460	939500	It's fire and forget.
939660	942800	I think I set it up in one of my accounts about a year ago.
942800	944520	I haven't touched configuration settings.
944520	945700	It just works.
946820	950820	The other protocols are the Media Gateway Control Protocol, MGCP.
950820	952360	That's the other protocol I was talking about.
952360	954140	It's used by AT&T called Vantage.
954340	956380	I'm not sure if they still use it, but they did.
956560	963700	I bought an old ETA firm on eBay, and I had to reflash it and do all kinds of annoying things to actually get it working with Asterisk.
963700	965100	But the support is there.
965400	969300	The other thing is Cisco's Skinny Client Control Protocol.
969800	971320	It's used by Cisco phones.
971320	972340	This actually uses SIP.
972340	973940	This doesn't use SCCP right now.
973940	978860	You can choose with the Cisco phones to use either SIP or SCCP.
978860	980280	They're different firmware images.
980900	983500	Not all Cisco phones support SIP.
983500	990760	For example, I have an older version that was made in the early 2000s, and it only uses SCCP.
990760	992000	There's support for it.
992000	994520	It's not the best in the world, but it works.
994520	999060	I mean, I can only have one line on the phone, and three-way calling is an issue.
1000960	1006200	There are two different SCCP implementations for Asterisk, and they both kind of suck.
1007200	1010140	Chan SCCP2 doesn't suck as bad.
1013140	1015900	But that's kind of like being the tallest midget.
1015900	1016960	Yeah, exactly.
1020200	1023960	Since Strom is the Kodak Nazi, we'll just sort of choose this one for him.
1023960	1027020	I'm a Kodak Nazi now, in addition to being a spelling and grammar Nazi.
1032920	1033980	It's a compliment.
1035220	1043680	So anyway, basically, there are many different codecs that you can use to encode voice with Asterisk.
1043680	1047540	And we're going to go over what they are, what they do, and what they sound like.
1048920	1052280	In order to understand codecs, you need to understand how digital audio works.
1052280	1054760	How many of you don't really know how digital audio works?
1056480	1057360	Okay.
1057360	1061060	Well, I don't want to see too many hands go up, so I'll kind of go over this quickly then.
1061260	1066120	Basically, you have an analog waveform, and this is divided up into a number of little slices of time.
1067260	1073700	So you have an analog bunch of different slices of analog audio.
1073820	1078080	These are pulses of analog amplitudes called pulse-amplitude modulation.
1078140	1080300	So you've got time division, but it's still analog.
1080780	1086640	What happens is these values are then quantized into digital values.
1086640	1088140	This is called pulse-code modulation.
1088280	1092400	PCM is what you use when you talk on a telephone, on a regular telephone call.
1092400	1094700	And it's also what you hear when you play a CD.
1096440	1100680	So what happens is the values are quantized between 1 and negative 1.
1100680	1106740	So depending on how much resolution you want to give to the values, you can specify more.
1106740	1115060	The way mu law works, what mu law is, is the companding scheme that the analog telephone network uses.
1115060	1119680	Whenever you make a regular long-distance call or a regular local call, you're using mu law.
1119800	1125900	It's 64 kilobits per second, and what happens is it's a logarithmic scale.
1125900	1131440	So more resolution is given to the lower amplitudes, where most of the voice frequency is,
1131440	1134260	in order to give you the impression of 16-bit audio.
1134740	1142440	What actually happens is it's only 8-bit audio, but it sounds far closer to 16 because of the companding.
1143680	1148820	But however, for some people, 64 kilobits per second is still way too high for bandwidth.
1148920	1156080	They're greedy, or they have less bandwidth, and they want to be able to send phone calls over less bandwidth.
1156080	1160200	So there are many different ways of compressing this already compressed audio.
1161860	1165720	Adaptive differential pulse code modulation, well first, differential pulse code modulation,
1165720	1168800	uses 4 bits to describe the change from the last value.
1168800	1173020	What mu law does, and PCM does, is it actually describes each value individually.
1173020	1176600	This one it says, you know, go down 4, go up 2, and so on.
1177300	1182280	Regardless of the original source resolution, regular DPCM just uses 4 bits.
1182760	1188380	Adaptive differential PCM uses a varying number of bits, depending on the complexity of that sample,
1188380	1192420	but it's still 32 kilobits per second, so they have to scrim somewhere.
1192960	1196120	It sounds almost like mu law, but not quite.
1197220	1202540	There's also LPC, and this is the basis for a lot of what you find in cell phone codecs.
1202720	1206020	It's linear predictive coding, and it basically, it's pretty complex,
1206020	1209820	but the basic thing is that it uses vocoders to compress speech.
1209920	1213840	And it tends to work pretty well for speech, but there's a lot of electronic music nowadays
1213840	1218140	that has the vocoders that have the singing synthesizer effect in the song.
1218240	1222820	So, actually if you listen closely to talking on a cell phone, you'll begin to hear that.
1224120	1228540	And you can actually use all these codecs with Asterisk and VoIP.
1229620	1235260	So, again, voice on the PSTN is 64 kilobits per second, synchronous bandwidth for wireline telephones.
1235580	1240800	North American uses mu law companding, most of the rest of the world uses a-law companding,
1240800	1246420	which is almost identical, but slightly different, but for all intents and purposes, they sound exactly the same.
1247000	1249960	If you're in 64 kilobits, if you're doing something called bit-probing,
1249960	1256080	which is basically to give you supervision in band on one of the digital channels, you get 56 kilobits per second.
1256080	1257900	But for the most part, it sounds the same.
1258380	1263380	On mobile phones, you only get 4 to 13 kilobits per second for your voice.
1263420	1265780	Which is why mobile phones sound so horrible.
1268160	1271460	So, speech compression does have a lot of costs.
1271460	1276740	First off, if you're running it on your Asterisk box, you have to transcode from mu law to the codec.
1276740	1280300	And in order to be able to hear it, you have to transcode back from the codec to mu law.
1280660	1283700	So, there's an increased CPU load that's required.
1283700	1293580	That box that does 790 simultaneous calls, if you have it do GSM or one of the lower bandwidth codecs,
1293580	1297160	I think that drops down to maybe 100 simultaneous calls.
1298120	1302120	There's no guarantee that two pieces of equipment will speak the same codecs.
1302120	1310920	A lot of times, the Seporas speak mu law and then G.726, I think.
1310920	1312640	And then some of the other codecs.
1312920	1315000	But, yes.
1316940	1320840	But, you know, I think we're going to have to keep track of whether this is on or off.
1324800	1326240	Thank you.
1326540	1329580	But I think the EECSY only speaks mu law.
1330400	1333540	And there are things that just speak certain codecs, and it's a mess.
1333540	1338180	I mean, there's no guarantee that any pieces of equipment will be able to talk to each other unless you use mu law.
1338660	1341620	Some codecs require licensing.
1341900	1343100	Oh, and one thing I forgot to mention.
1343100	1347080	If you're using non-standard fit rates for some of these codecs, then you're really in trouble.
1347340	1349860	Some codecs require you to pay licenses to use them.
1349860	1353360	There's a codec that... actually, we'll get into that in another slide.
1353460	1355800	And codecs don't handle all kinds of sounds well.
1356840	1359840	People will generally have trouble understanding certain words.
1359840	1366660	A friend of mine says that every time he calls up a restaurant to make a reservation, they cannot understand the word north.
1367260	1370780	It's always interpreted as something else from his mobile phone.
1370780	1372620	No one ever gets north right.
1373440	1382020	It's difficult to understand anyone who has poor diction, because these are designed under the assumption that people who are using them tend to enunciate well.
1382020	1386620	And music on hold in codec land is absolute torture.
1386960	1389300	You can gouge your eyes out if you really want to.
1389300	1392440	I mean, I want to do that every time I'm on hold on my mobile phone.
1396230	1398490	It is that bad sometimes.
1398650	1402670	There's one we'll demonstrate that is that bad.
1402670	1404930	There's a documented case in Arkansas.
1406430	1409130	Apologies to anyone from Arkansas here.
1412390	1414970	Here's the benefits. Each call uses less bandwidth.
1414970	1416450	That's it.
1417710	1421730	I wish there were more, because that slide looks really empty, but that's it.
1423730	1425630	Here's what Asterisk supports.
1425630	1429810	G.711, which is 64 kilobit per second ULA or ALAW companding.
1430170	1433790	G.726, which is 32 kilobit per second ADPCM.
1434070	1442670	G.729, which is 8 kilobit per second CSACELP, which is Conjugate Structure and Algebraic Code Excited Linear Prediction.
1442670	1445870	That requires a license from Digium to purchase.
1446450	1448730	We're going to demonstrate that codec later.
1448910	1454990	Just in order for me to be able to call Ratchet's box and have one telephone conversation over the codec,
1454990	1456470	we each had to pay $10.
1457950	1461650	That's only for one call, so if you want to have more than one call using this codec,
1461650	1464030	$10 a call for the licenses.
1465850	1467490	Not per instance.
1467490	1469950	Yeah, simultaneous calls.
1469950	1475810	So if you only buy five licenses, you cannot have more than five simultaneous calls running on that codec.
1476050	1480230	So if it were $10 a call, I think no one would use this thing.
1480230	1484010	It would be like being back in those days.
1484010	1486050	Or if it was developed by Microsoft.
1486770	1491750	Here's the Internet Low Bandwidth Codec, which is a 13.3 kilobit per second linear prediction coding.
1491750	1493350	This is what Skype uses.
1493350	1497390	I mean, I've heard people rave about Skype. I hear it. I hear it just like ILBC.
1498630	1504050	There's also Speaks, which is an open source codec. I think it's based on like the Ogg Vorbis stuff.
1504330	1508010	And that's also 13.3 kilobit per second codec-sided linear prediction.
1508330	1515090	And finally, for those of you who are on dial-up, there's LPC10, which is 2.4 kilobit per second.
1515230	1518350	It sounds more ghastly than you can possibly imagine.
1520730	1522230	Yes, that's the one.
1522990	1531790	So in order to do a comparison of all these codecs, we figured we'd play some audio for you using each of the codecs.
1531790	1537250	And so I decided, you know, I could do just talking, but that would get boring after about 25 seconds.
1537250	1543570	So as proof that you can find anything on Craigslist, I found this song that this band let us use for free.
1543570	1551190	So apologies if it's not up to your musical standard or your musical taste, but it's free, so be happy.
1551190	1552170	I like it.
1552170	1553250	I like it, too.
1553250	1557630	It gets stuck in my head every time I hear it, and it's really annoying when he uses this version.
1557630	1558230	Yes.
1560890	1564070	Wait, so let me, um, let me cue it up here.
1573420	1574140	Okay.
1709030	1713610	If they ever get a recording contract, buy their album. We promise we'll give them a bargain.
1713610	1714370	Yeah, we promise.
1714370	1720830	Also, if you really like the song, I think there's a copy on your asterisk, not on your asterisk, on your Defcon CD.
1720830	1728550	Also on your Defcon CD, there's the full copy of that song in every codec we just demonstrated, so you can listen to them and compare for yourself.
1728550	1731990	We won't be responsible if you listen to the whole thing in LPC 10.
1732370	1733030	Yeah.
1734650	1740090	So let's talk about getting Asterisk to talk to the real phone network, because this is all fun and cool,
1740090	1747570	but it's going to be kind of limited in use if you can't talk to, you know, your mobile phone or your mother or somebody on the street.
1749030	1757130	There are various providers that, um, that you can use to terminate the public telephone network, and we're going to go into one of them.
1757130	1762190	It's called Nuphone. Nuphone, uh, well, you know more about Nuphone than I do. Why don't you tell them?
1766770	1775010	The plus about Nuphone is that they have cheap rates, not as cheap as some other voice-over ID providers, but pretty decent rates.
1775410	1781090	They're very geared toward Asterisk. I believe they support this only under a nice public high-pride,
1781090	1785070	saying, you know, I want to be assisted by, you know, a supporter or some other ADA.
1785450	1791710	One of the things that I like about them, and at least my experience with my first provider, is that you can set your caller ID outcomes,
1791710	1797710	which has some interesting, you know, applications to it. I'll cover that later.
1798050	1804310	Um, and also the really cool thing about Nuphone, and I think it's their best feature, is they have insanely cheap provisioning.
1804670	1810930	I never thought anywhere in my life I would ever have to find 800 numbers for my name, but I do.
1811550	1815490	I, seriously, I click them and they send you an email saying, here's your 800 numbers.
1815490	1823230	You can actually do vanity 800 numbers for them, like if we wanted to buy 800 Asterisks, I don't know how many characters it is.
1823530	1825510	I've forgotten how many 800 numbers I own.
1825510	1832950	Anyway, it takes a little longer for that, and they charge you a fee, but, you know, for any old 800 number that you want, it's just, you know, poof, it's yours.
1833390	1839110	They're very easygoing. When I first set up my account with them, I'm not sure how they do that, but when I first set up my account with them,
1839110	1844750	I said, oh, you know, we tell you, you know, we send you some money, what happens when that money's out, are you going to shut off my service?
1844750	1849690	He said, no, we'll just send you a reminder email, you know, we'll just, you know, send it off.
1849690	1852450	You won't turn off your service or anything, we'll just send you some money.
1853610	1856510	They also have something called caller ID number for delivery.
1856510	1860430	How many people are familiar with SS7 and the difference between CPN and CID?
1861550	1862750	Oh, good amount of people do.
1862790	1866790	Anyway, CPN is sort of like caller ID on steroids.
1868170	1870710	It's a little more speedy than caller ID.
1870710	1874070	You can actually do 9 times out of 10 unless you know what you're doing.
1874130	1877830	CPN is usually very free-flow and you can't change it.
1878150	1881110	Of course, you know, you're probably laughing at me.
1882210	1886730	It's, caller ID on steroids is a little more free-flow and it's harder to mistake it, theoretically.
1887430	1891990	They also have, quite recently, they have a blocker on deletion projects.
1891990	1894690	Now, for the longest time, what would happen is, you know, like,
1894690	1897910	your call would not go through or you'd get an intercept saying, like,
1897910	1901090	the number you've been calling has been changed, so and so.
1901090	1903130	It wouldn't actually work like that.
1903930	1907370	And for someone like me, who's phone-free and enjoys calling intercepts,
1907370	1909690	it was a bit of a bummer.
1909990	1914730	But, you know, a couple weeks ago, oh, a couple months ago, by now,
1914730	1916030	they actually turned it on.
1916030	1924650	I called with a payphone out in Boston and I got, you know,
1924650	1927110	I'm sorry, the phone number you've reached is not accepted.
1927110	1930170	I literally picked up the phone and called him and said,
1930170	1932090	who funds this proper conversation?
1932090	1933950	And he was jumping out like a sleight of hand.
1933950	1935050	He was too gross on the net.
1937290	1939630	It was very exciting for me.
1940710	1944710	CONSTED, directed for dial numbers, which are basically numbers you would call on,
1944710	1948710	you would set up on the PSTN, so mom, dad, you know, your sister,
1948710	1952850	someone who doesn't have an asterisk can call you and actually reach you on your woodline.
1952850	1956510	The only numbers they have are in Michigan, which for me, I guess, is okay
1956510	1959290	because no one really calls me on woodlines besides him.
1960150	1964030	And they're also not too freak-friendly, despite being very easygoing.
1964030	1971330	For example, during Strong and Lucky 55's presentation last year on freaking in the age of voice over IP,
1971330	1971590	was it?
1971590	1973150	Yeah, I think it was something like that.
1973270	1977690	They sent them a cease and desist letter saying, no, they didn't send me a cease and desist letter.
1977730	1979590	Who did they send a cease and desist letter?
1979590	1981490	Was it not there yet?
1981570	1982950	It's not there yet. Stand up.
1983770	1985110	Here's Mr. Cease and Desist.
1985110	1991670	This is the man who's on Jeremy McNamara's shit list.
1991670	1997130	He basically said, you know, if you do this, I will terminate your account and ban you for life from New Phone.
1999230	2000870	I haven't heard a peep out of him.
2001670	2003270	Okay, we're just going to...
2004270	2006290	Oh, they stopped carrying CPM this week.
2007370	2008230	Oh, great.
2008230	2011750	This is what we did.
2022560	2025320	We used to like Astrolink until this weekend.
2029220	2037840	Astrolink, for the most part, for me, has been reliable, although this week has been a whole other bag of forms which we'll get into later.
2038380	2042700	You can get your inbound termination via toll-free numbers.
2042700	2046640	And, of course, AMI-II. How many of you do not know what AMI-II is?
2048500	2050860	AMI-II is the class of service.
2050860	2057880	So you can tell whether your calls are coming in from an AMI phone or a mobile phone or a pay phone, what type of pay phone.
2057880	2060340	You can see whether your calls are coming in from a person or two.
2061600	2064220	And Astrolink does also proper call completion.
2064480	2070020	So if you get the PPM at the port and your numbers have changed, you can do that.
2070020	2073860	The con of the AMI-II interface is that it's a little bit clunky.
2075280	2080560	It's actually gotten better. I was actually able to use it with Firefox for the first time this week.
2080740	2085060	But I had to try it for a while, so it didn't quite work right with Firefox.
2086140	2092200	And right now, at least, they're experiencing each two different problems with some customers, namely us.
2093360	2095160	This is why we don't like them anymore.
2095160	2100000	But we'll get into our beef with Astrolink later.
2100860	2104900	There's also Voice Calls Connect, which I use to do my inbound calls.
2105120	2108120	They give you a local numbering in almost every center you want.
2108120	2111280	You get unlimited internet minutes on inbound EECS calls.
2111620	2114340	And you have inbound numbers for a large number of great centers.
2114340	2116160	And it's also called a proper call program.
2116160	2122580	The problem is, it's one of the most expensive EECS providers for outbound information.
2123800	2126220	New Phone is about two cents a minute.
2126280	2128360	Astrolink is also two cents a minute.
2128360	2132840	Voice Calls Connect is, I think, it used to be 2.9 cents a minute.
2132840	2137420	Then they dropped it down to the low, low price of 2.4 cents a minute or something like that.
2137420	2138500	Wow, that's not ideal.
2140820	2146180	I guess when you go landline long distance, it's five cents a minute, like my inbound call.
2146180	2147540	There's something else you can totally keep.
2147540	2151880	When you've got providers that do 1.3 cents a minute, you're getting better.
2154100	2157240	And the other thing is that inbound numbers with Voice Calls Connect,
2159500	2162900	my number that's on my business card is a Voice Calls Connect number.
2162900	2167860	And for some reason, usually I have to go to a menu.
2167860	2169280	You know, thank you for calling for strong cards.
2169280	2170480	My PBX is strong.
2170480	2171300	I like to be clear.
2171300	2173180	I like to show you that I appreciate what you're doing.
2175220	2179360	And I had someone trying to call me, and they kept pressing 2, and it would just hang up on them.
2179360	2181800	Because my PBX never heard the 2.
2181920	2186700	So I had to make a move directly to my mobile phone this weekend.
2187880	2189140	Apparently, this is the first sentence.
2189140	2192380	This is the first sentence that happened to me, but some people are having major issues with it.
2192380	2195160	So if you're really unlucky, you're totally screwed.
2196740	2197560	Here's VoiceJet.
2197560	2198400	It's really cheap.
2198400	2199800	It's 1.3 cents a minute.
2201840	2205020	Actually, I think it's 1.29 now.
2205200	2205680	Oh, is it?
2205680	2206240	Wow.
2206520	2208420	A whole mil when they dropped it.
2209020	2210200	Hey, it adds up.
2210200	2210760	Yeah, it does.
2210760	2211320	It does.
2211720	2214180	Caller ID delivery is unreliable with VoiceJet.
2214180	2218700	You oftentimes get the number where I found the call, instead of the number that you set it to.
2218840	2222880	There's no e-mail service that's appropriate, and there's no proper call completion.
2222880	2228300	If you call a number that's been disconnected, and the phone company that you're giving it to says,
2228300	2232360	this number has been disconnected, all you'll hear is the phone ringing and ringing and ringing.
2232640	2238320	So you'll never know why your mother has changed her phone number in your situation.
2239820	2241540	She doesn't love me!
2244740	2245740	Exactly, see?
2246500	2248860	It's because we all use LPCs now.
2249860	2251880	There's also a company called Broadvoice.
2252200	2254600	They have cheap PIDs in most race centers.
2262340	2264140	They're pretty much run by phone freaks.
2264140	2269860	In fact, when you sign up, you have them send you the kit with the ATA and everything.
2269860	2273860	They also send you this little pin, which is this logo,
2273860	2276500	with the red circle and the slash through it.
2276660	2280020	I actually found out this weekend they also do T-shirts.
2280200	2284240	Yes, at least one person here at DEF CON is walking around with a Broadvoice pin,
2284240	2286960	with the Bell logo and the slash through it.
2286980	2290400	So if you hear that person, please stand up and get some T-shirts.
2291760	2293260	He's not here? What the hell?
2293260	2294180	They lose.
2294440	2295340	You lose.
2295720	2297920	We were going to give you just like $100,000.
2298700	2300600	They were going to get the payphone, too.
2302220	2307200	Oh, and the other cool thing is that you get a caller ID with name for inbound calls.
2307200	2309620	Most of these other carriers will just deliver the number,
2309620	2313400	but these people will actually do a name level and deliver the name for you.
2313400	2318060	So we'll see not just that 311-555-2368 is calling you,
2318060	2320860	but that it's from Mabel's fish restaurant or something.
2321260	2323280	The problem is that it's SIF only.
2323320	2326940	So if you want to do EECS termination or if you're trying to firewall or something,
2326940	2328700	you've got to do some sort of EECS proxy
2328700	2330960	if you want it to be reliable.
2331360	2333160	They're prone to service outages.
2333340	2337040	I've got, you know, my dial type is the 1-plus-8-4-7 number.
2337040	2338340	It just goes over broad voice.
2342120	2343960	But sometimes those things can work.
2344360	2346980	Phone support is kind of slow, although it is 24-7.
2346980	2350520	So I guess if you call at, you know, 3 a.m., they will answer like that.
2350760	2352000	No, they won't.
2353400	2354340	Yeah, I try.
2354340	2355540	They'll have to wake up first.
2355540	2357600	Then they'll, you know, drink their coffee.
2358700	2361520	And then the other thing is CNN delivery is also unreliable.
2361520	2365560	So, you know, caller ID name tends to work, but it doesn't work all the time.
2366740	2370500	So now let's get into building your asterisk network.
2371680	2373940	Why don't you explain enum, Ben?
2374020	2381400	Okay, Brandon.
2384510	2392470	Enum was the first way to actually translate code numbers over to URLs in SIF.
2392470	2394270	It's based on DNS.
2394550	2396330	It allows you to read numbers and query.
2396450	2401730	And what it does is it basically bypasses the public switch telephone network.
2402290	2406670	So, you know, I know that 3-1-1-5-5-5-2-3-6-8 is a voice number.
2406670	2407470	How can I do that?
2407470	2408090	I don't know.
2408990	2415390	So the type I can use is supposed to be used by telecom companies.
2415390	2417450	However, there's a program out there.
2417510	2418730	I think this is the largest one.
2418730	2419730	I may be wrong.
2419750	2422050	It's called 2-1-2-3-4.org.
2422050	2424010	It's a free do-it-yourself solution.
2424010	2428810	What you do is you register your number in 2-1-2-3-4-5-5-2-3-6-8,
2428810	2430610	and you register it to a URL.
2430610	2437410	And then someone queries their enum server, then, over the Internet.
2442720	2449950	But then you realize that local exchanges can't access 2-1-1-5 numbers,
2449950	2453590	and how many exchanges you've got can't access 2-1-2-3-4-5-6-8.
2453670	2456410	I think in an area code, there's a maximum limit.
2456410	2459370	We've always reserved 3-1-2-3-4-7-2-2 million numbers.
2459370	2461710	And Los Angeles has how many area codes now?
2462070	2463610	So, a lot.
2463710	2468730	They also have 78 million special PSTN services.
2468730	2470330	So you're essentially...
2470330	2473550	you can offer free termination of $800,
2473550	2480500	which is basically a PSTN termination service.
2480500	2482700	You can use this, and you can dial in your numbers.
2485340	2487200	How e-mail works...
2488060	2489460	I left it in my car.
2491720	2492580	Everything's in my car.
2492580	2494400	Okay, if we all pay attention to the top,
2494400	2496060	basically, I'm at the top of my phone,
2496060	2499300	and I want to dial 3-1-1-5-5-5-2-3-6-8.
2500080	2500820	Oh, yeah.
2502240	2504260	Touchpad, marvels of modern technology.
2504260	2505640	Yes, latest thing in Virginia.
2506460	2507440	I'm at this telephone.
2507440	2510100	I basically want to dial 3-1-1-5-5-5-2-3-6-8.
2510100	2511840	So I pick up my handset, dial it,
2511840	2513040	and talk to my DVX.
2513040	2516320	It says, okay, I want to dial 3-1-1-5-5-5-2-3-6-8.
2516320	2517460	Connect me there somehow.
2517460	2519120	So what I set up my DVX to do
2519120	2520500	is talk to a medium circle.
2520960	2522540	And it says, hey, do you know
2522540	2525100	what 3-1-1-5-5-5-2-3-6-8 is?
2525320	2527440	And it says, yes or no.
2527440	2528540	And essentially, in this example,
2528540	2530660	it says, yes, it's a bell at telephone.com.
2530660	2532280	So it registers that to my DVX,
2532280	2534740	at which point my DVX goes,
2534740	2537340	ooh, I guess I'll go over to the internet.com
2537340	2539020	rather than picking up a local line.
2539020	2539980	And it goes over the internet,
2539980	2542140	and I dial 3-1-1-5-5-5-2-3-6-8
2542140	2543100	down here, which they also
2543100	2544980	don't do at 3-1-1-5-5-5-2-3-6-8.
2544980	2547480	They're also completely bypassing the BSDN.
2548780	2550260	Email is a very...
2550260	2552300	has a lot of problems in my opinion.
2552300	2553620	It's a very top-down way
2553620	2554900	of looking at things.
2554900	2556900	It's centrally managed, centrally served,
2556900	2557920	and centrally centralized.
2557920	2560720	Basically, they wanted developers
2560720	2562560	exactly like DNS and have, you know,
2562560	2564680	15 root servers all over the world,
2564680	2566260	which is great, but no one actually
2566260	2567420	has done it yet.
2569960	2572040	And it's not being used
2572040	2574440	by any BSDN developers.
2574520	2575680	As far as we know.
2576300	2578420	Does someone want to tell me otherwise?
2580800	2582140	My idea is how
2582140	2583940	logically they save you money, you know.
2583940	2585220	I can charge you 5 cents a minute
2585220	2586740	for, you know,
2588400	2589900	and it's nowhere near
2589900	2590940	where it would last.
2591300	2593420	We're working towards a really nice solution
2593420	2596140	that's starting to get there, but at the same point,
2596140	2597820	you know...
2608880	2610240	Something like that, yeah.
2610240	2611080	So last April,
2611080	2612160	what someone set out with
2625290	2626630	is a fully peer-to-peer
2626630	2628110	E164 solution.
2628110	2628270	It's a fully peer-to-peer
2628270	2628330	E164 solution.
2628330	2628850	Basically, you know,
2628850	2637740	it sets up your own
2637740	2638900	telephone network for fresh
2638900	2645410	for your telephone company.
2645410	2647670	You know,
2662380	2664200	5, 5, 5, 1, 2, 3, 4.
2666640	2667240	So,
2667240	2668380	we've got this DBS here,
2668380	2670080	and it talks to this node over here,
2670080	2671220	and what this node does,
2671220	2672040	it only has one node,
2673060	2677320	and what it does is
2677320	2678200	it reaches that node,
2678200	2679720	and that node talks to only this one,
2681800	2683360	and it reaches the DBS node,
2683360	2683960	it's got a dial,
2683960	2687480	3, 5, 5, 2, 5, 6,
2687480	2688340	at which point,
2688340	2690100	it scrolls back and says,
2690100	2694510	hey, 411 service,
2697270	2698710	this is all it.
2703480	2704120	Basically,
2704120	2704860	it's a very good
2704860	2706260	peer-to-peer setup,
2706260	2711320	which has some problems with
2711320	2712800	Dundee, in my opinion, also.
2713040	2715100	To be honest, I mean,
2715100	2716360	essentially, what I could start doing
2716360	2717880	is I could start advertising, hey,
2717880	2719040	all the numbers to the White House,
2719040	2720100	send them to me,
2720100	2721280	so I can, you know,
2721280	2722900	start World War III,
2725340	2726140	scalability,
2728520	2730140	we're not sure how it's going to be
2730140	2733120	still relatively small,
2733120	2734500	but I've never seen a product
2734500	2736600	like Nutella.
2736600	2738340	Look how many problems we had with that.
2738820	2740520	It's not officially a standard yet,
2740520	2742460	we just submitted it to IETF,
2742460	2744780	but as we all know, standards cost money,
2744780	2746960	and these people don't have it.
2748080	2749540	Right now, it's only officially
2749540	2750520	in DBS,
2750520	2753640	and we can submit it,
2759810	2761350	and run it against 109,
2761350	2762750	or 107, or whatever,
2762750	2764610	and get some support in it,
2764610	2765450	and in my opinion,
2765450	2766630	it works fine,
2766630	2767650	and also in my opinion,
2767650	2768450	I think the eye of the beholder
2768450	2770850	should be nice.
2774600	2775700	Quality assurance,
2775700	2783500	what quality assurance
2783500	2784120	do you charge
2784120	2786140	for your
2786140	2788240	for your phone call
2788240	2789840	going out over your WAN,
2789840	2791320	for example,
2791320	2792380	I don't have quality assurance
2792380	2793660	for my WAN,
2793660	2799020	or for example,
2799020	2799660	for my WAN.
2801620	2802900	There's two ways of doing it.
2802900	2803720	Can we do this?
2805340	2807160	No, no.
2807500	2808760	Okay, we'll do it that way.
2811670	2812770	Sorry, I forgot to dial
2812770	2814370	something in my PBX earlier.
2815730	2816870	Basically, there are two ways
2816870	2818050	you can use QoS here.
2818050	2818830	There's priority QoS,
2818830	2819750	which can give you a way back
2819750	2820890	to priority over any other
2820890	2821470	factor,
2822150	2826610	where you can basically
2827110	2828290	reserve your WAN
2828290	2829270	and turn it away
2829270	2832090	and get the rest of it for it.
2832090	2833890	But for everything that's not QoS,
2833890	2835730	you get the rest of the WAN.
2836750	2838630	I'm sure there's more
2838630	2840170	about that, but I'm a phone person,
2840170	2841210	not a router person.
2841570	2843770	Many residential routers are now voice aware
2843770	2845970	and will do the sort of thing right out of the box.
2846490	2847730	And you can also
2847730	2850190	if you're a control freak,
2850190	2851610	or if you want to do it on a larger scale,
2851610	2854610	then you can connect your router
2856560	2857900	and say, hey, I've got a super router phone
2857900	2859640	and I've sort of gotten working
2859640	2862040	and I'm definitely not a super router person.
2862920	2864560	So now let's get into the
2864560	2866860	cool part of what you can do
2866860	2867620	with Asterisk.
2867660	2870200	And by the way, if you're watching on TV
2870200	2871340	in the hotel,
2872080	2874260	we've got a special thing coming up for you.
2876580	2878040	Asterisk Gateway Interface.
2878080	2879300	Do you want to talk about that?
2883360	2884900	Experts on certain subjects?
2886640	2888040	Yes, Tag Team, exactly.
2889820	2895660	So,
2895660	2896540	Asterisk Gateway Interface.
2896540	2898380	What it is, is an interface for adding
2899460	2900680	functionality to Asterisk.
2900680	2903000	It basically uses standard in and standard out.
2903000	2904280	And it's very cross-language.
2904280	2906920	You infer, you see, you PHP,
2907240	2908620	Lisp, PCL,
2908620	2910640	anything that uses standard in and standard out,
2910640	2912180	you can use it.
2912600	2914800	And basically, since Asterisk is the best thing
2914800	2917040	since sliced bread, I find AGI to be the best thing
2917040	2917980	since sliced bread.
2918500	2920780	Because you can basically do anything you want with it
2920780	2921960	given enough time.
2922440	2924420	Here's a simple AGI for a minute.
2924420	2925140	Wow!
2926100	2927540	What it is, is basically,
2927540	2930580	I don't know if you can actually see it
2930580	2932180	up on the screen, I apologize.
2932960	2934340	What it does, is basically...
2934340	2935780	It's not in your Dendy notebook?
2937840	2938960	Oh, great.
2940020	2940560	This is what
2940560	2941720	apparently electricity parts
2941720	2942720	don't work.
2944240	2946240	So, basically,
2946360	2947760	a lot of my presentation of this part
2947760	2948760	hasn't been done.
2951260	2952120	Starting from here,
2952120	2953080	basically, what it is, is
2955300	2956680	start on a standard in point,
2956680	2957900	standard in and standard out.
2957900	2958980	Basically, what Asterisk does is
2958980	2963340	it reads all the variables in
2963340	2965100	and checks all of it.
2965100	2967320	It checks to make sure, 200 times per day,
2967320	2968300	5 times per day,
2968300	2970720	that we're not sure about the quality
2970720	2972700	and it means that
2972700	2976780	you just keep on going.
2978400	2979620	Basically, what happens is
2979620	2980920	after you read all the variables in
2980920	2982620	and make sure they're OK,
2982620	2984820	what it does is, it streams a file
2984820	2987600	that says, your caller ID is...
2987600	2989700	and it says,
2989700	2991220	you recheck your caller ID.
2991560	2993400	So, here's how it works.
2993680	2994900	I've backed up here,
2994900	3003630	but the one we're really interested in
3003630	3007270	is AGI caller ID, which says 311-555-2368.
3007470	3008450	And then it says,
3008450	3009810	after it's done feeding all the variables,
3009810	3010950	it says 200 results here,
3010950	3012830	it means I'm done in 41 minutes.
3012830	3014470	It says, OK, stream file,
3014470	3016470	you know, AGI caller ID.
3019790	3020790	Then it says,
3020790	3022250	OK, I'm done, what do you want me to do?
3022410	3023770	OK, stream pages,
3023770	3025830	311-555-2368,
3026950	3028890	AGI command that asterisk understands,
3029390	3030810	and it goes,
3030810	3032530	you know, says 3, 1, 1,
3035720	3036780	200 results here,
3036780	3038760	OK, I'm done. And at which point it says,
3038760	3040400	hang up, I'm done.
3041500	3042760	It takes it back to me,
3042760	3044700	sends back, you know, 200 results here,
3044700	3046240	I'm done now, it hangs up.
3050060	3050880	Yes, exactly,
3050880	3053180	AGI caller ID readback, ENAC.
3056620	3057420	Now,
3057420	3059120	that's a lot of work to do
3059120	3064210	in what's called asterisk AGI,
3064210	3066370	which is a Perl module for asterisk
3066370	3067950	in writing AGI scripts.
3068270	3070590	It simplifies a lot of AGI programming.
3070590	3072090	Essentially, it takes out a lot of the dirty work
3072090	3074270	and takes away everyone's doing the work
3074270	3075450	that you don't have to.
3075450	3077590	It allows the AGI to control
3077590	3079950	the simple object interface in Perl.
3080210	3083530	The problem is,
3083530	3085830	I subscribed to the mailing list
3086050	3087630	a few months ago,
3087630	3088890	and it's been dead silent
3088890	3090170	for the last few months ago,
3090170	3090910	and someone said,
3090910	3092430	is this mailing list still active?
3092550	3093410	At which point I'm going to be
3093410	3094650	not able to work anymore.
3094870	3098010	Maybe I should set up another thing,
3098010	3098710	or maybe a few people
3098710	3099610	should sign up to it
3099610	3101870	and start using it yourselves.
3102410	3103490	What it is, is it allows
3103490	3105630	the AGI to easily integrate with Perl,
3105630	3107730	which easily integrates
3107730	3110150	with almost anything in the known universe.
3110230	3111130	And it's available at
3111130	3112730	asterisk.uniter.net
3113290	3115910	which is a very strange German word
3115910	3119910	for like the longest time.
3120230	3121610	Here's the same program.
3121650	3123770	As you can tell, it gets a lot easier.
3123770	3125470	I think we can test this out at least 100%
3125470	3127490	to about 10 lines or so.
3127590	3130230	So this is, you know,
3130230	3131370	it reads in, you know,
3131370	3134030	starts up a new object
3134030	3135070	called AGI.
3135270	3137370	You know that entire, you know,
3138090	3140070	10 line thing, check the variables,
3140070	3141050	make sure they're okay.
3141070	3142210	It does it all automatically.
3143710	3145670	And the other feature that the other
3145670	3148050	one didn't have is you did not check
3148050	3149590	whether or not the person had a caller ID
3149590	3150690	in the first place.
3151250	3153170	So you basically, if you didn't have a caller ID,
3153170	3154350	you did a file file saying,
3154350	3156410	the caller ID is, and then it would hang up.
3156410	3158090	Or what this one does is it checks
3158090	3162290	to see if your caller ID is, you know,
3162290	3163970	what this would do if you didn't have a caller ID,
3163970	3165790	it would just hang up on you.
3166010	3168310	And as I say, wow, it's easier to do.
3168750	3173280	It checks to see if your caller ID
3174000	3175380	is on touch-tone.
3175900	3178600	Basically, everyone knows how to use it,
3178600	3179700	including your mom.
3180360	3181920	However, you know, it's very limited
3181920	3182900	on what you can do with it.
3182900	3184760	For example, you have to use the sign-up function
3185160	3187280	to use it, or, you know,
3187280	3189200	you can only use it if you have five members.
3189200	3197970	The XML, it's extensible.
3198570	3199690	WebPXML is extensible.
3199690	3201810	VoiceXML is basically an XML
3201810	3204090	that allows for scripting
3204090	3205650	with a voice interface.
3205650	3206450	It's extensible.
3206450	3208230	The problem with Asterisk is that it has no
3208230	3215900	relatively new open-source program
3215900	3217660	called Asterisk PDF, which says
3217660	3222240	it has Asterisk CIFS.
3223040	3225040	So I spent about two weeks
3225040	3226220	trying to get this compiled.
3226220	3227800	It's a high-resolution
3227800	3228800	demonstration.
3228800	3229800	There's also
3229800	3232240	commercial offerings. For example, Microsoft
3232240	3233740	has a new VXML program
3234420	3239850	where there's, like, at least two or three
3239850	3241890	commercial ones that I know of that
3241890	3244150	are also free
3244150	3245150	open-source.
3245650	3247170	VXML is still, you know,
3247170	3253460	you need to use.
3271420	3272420	Think back
3272420	3274000	to that Texas speech program you played with
3274000	3275640	in, like, 1987.
3277020	3281120	That program is called
3281120	3281900	Cepstral.
3281900	3287520	Cepstral is a free
3287520	3288380	free-for-download
3289540	3291000	free-for-download program
3291000	3292620	that they've also announced
3309530	3311450	however it's not free.
3324260	3325580	Something like that.
3325740	3327840	You can play with a
3327840	3329660	free version of Cepstral, but
3330180	3331580	it's also a sound file
3331580	3334620	and every fifth or tenth word or something goes
3334620	3336900	please register me.
3336900	3338020	Yeah, and it is free
3338020	3339880	for download, like you said, and you can make sure
3339880	3341340	if you ever have, like, you know, one of the programs
3341340	3342740	and you want to make sure that it works with your program
3342740	3344940	you can set it up and, you know, you just have to do
3344940	3346660	that please register me every time it works
3346660	3347860	or something.
3349360	3350600	The other thing for output is
3350600	3353440	reports. You can get your stuff for free.
3354040	3355140	The other person is Allison
3355140	3356980	and she has huge support
3356980	3358400	for Asterisk.
3358820	3361020	It's for pay and she has lots of
3361020	3362740	fan sayings available on the internet.
3362960	3365340	Asterisk also comes with a whole ton of sayings
3365340	3367420	and she says all sorts of crazy stuff
3367420	3368240	in the LA area.
3377760	3379520	A friend of mine actually
3379520	3381440	just wanted to test her
3381440	3382640	and so he sent her
3382640	3384820	increasingly offensive scripts
3384820	3387140	and I think he finally found her
3387260	3388920	a little bit after...
3388920	3391060	yeah, a long time.
3393100	3394040	Well, maybe she'll read
3394040	3395400	Richard Nixon's Social Security number,
3395400	3396180	I don't know.
3397440	3404860	Basically,
3404860	3405740	we have a...
3417110	3418050	I'm not a weather
3418050	3419810	fan, my name is Ron.
3421870	3422790	Phone!
3423630	3424410	I'll show you
3424410	3425990	my phone voice in a second.
3457730	3458010	And now
3458130	3459490	a demonstration by Scott Carlson
3459490	3460410	that we actually do.
3460670	3463830	Good afternoon.
3463830	3466110	Thank you for calling DEF CON My Phone.
3466110	3467270	Script getting tested,
3467270	3468550	Blamer approved.
3469650	3471630	To hear what's coming up in the next hour,
3471630	3473630	press 1. To search for an event,
3473630	3475570	press 2. To need feedback from
3475570	3477970	DEF CON My Phone team, press 0.
3479010	3480230	And so on.
3484530	3485750	If any of you
3485750	3487650	want to write down silly things on slips of
3487650	3488350	paper and
3489430	3490710	leave them up here,
3490710	3491770	I'll do them for you.
3491770	3497350	Here's a slightly more complex
3497350	3498310	thing, this actually uses
3498310	3499690	input and output.
3500150	3501150	Basically, what it does is
3501150	3503330	I've got three ways of doing it.
3503330	3504310	One of those is
3504310	3507250	using CGI, and basically
3507250	3508210	it lets you forever
3509450	3511910	wait for you to enter a file.
3512530	3514570	Wait for you to enter a digit.
3514590	3515390	Wait for it to say
3516070	3517450	who's entered a digit.
3517450	3521190	And what it says is
3521190	3522130	after you enter a digit,
3522130	3523850	wait for five seconds,
3523850	3524990	and if you look at one, it says
3524990	3526870	it has five words on it.
3528470	3529430	If you enter two,
3529430	3530630	it has seven words on it.
3530630	3532130	If you enter three, it has a thousand words on it.
3532130	3533190	This is really cool.
3534990	3535790	Intermission!
3539650	3540570	Okay, so we have
3540570	3542750	some cool swag to give away.
3550350	3552010	GGM has seen fit to give us
3552010	3554230	props. Apparently, Charles has
3554230	3556090	become very friendly with Mark Spencer,
3556090	3556930	and he sent us
3557910	3558790	very friendly
3561310	3563110	So GGM sent us this whole box
3563110	3564890	of really cool stuff. There's these little
3564890	3567070	CDs with asterisks on them, and they're in the
3567070	3568310	shape of an asterisk.
3583370	3585170	There's asterisk stickers.
3591180	3592940	Yes, if you put
3592940	3594860	the sticker on your car, more people
3594860	3595820	will want it.
3598080	3598900	I also have
3598900	3600000	bin racks here, because an old-school
3600000	3602140	freak.com sticker isn't good.
3602280	3603680	I have two very
3603680	3605880	kick-ass sites. You see some of this
3605880	3607680	in forums almost every day.
3610300	3612120	Asterisk T-shirts.
3615100	3617680	So I need four volunteers who want to
3617680	3619700	come up here and dial phones.
3622480	3623980	Actually, no. Let's have them answer
3623980	3625100	questions.
3625560	3629620	Name a pre-divestiture Bell
3629620	3631440	operating company.
3632100	3635060	Pre-divestiture, not 9X.
3635140	3636460	Pre-divestiture?
3637060	3639160	Pre-divestiture.
3640020	3642060	Operating company.
3645080	3647280	GTE was not a Bell company.
3649540	3652260	I'm taking over now. Name a post-divestiture
3652260	3654340	9X regional Bell operating company.
3654720	3656720	For example, someone already said it.
3657760	3659320	Raise your hands, people.
3659720	3662360	Come up.
3674270	3676390	So, let me wind this thing out of the way.
3686570	3688510	Each of you sit in front of a telephone.
3691610	3694230	So, let me prop up this list in front of you here.
3695470	3698170	This is a touch-tone speed dialing contest,
3698170	3699910	and for some of you who were in the
3701110	3702950	game area earlier, we kind of did this
3702950	3704210	just to work the bugs out.
3704270	3707070	So, basically, I have a list of numbers here
3707070	3708650	that I've programmed into my PBX,
3708650	3710830	and the person who dials these numbers
3710830	3712790	the fastest and most accurately
3712790	3714790	will bring my desk phone here
3714790	3716050	and get a prize.
3716110	3717950	So, let me set this list up here.
3719030	3720750	Yeah, I'll explain the rules in just a second.
3725590	3727390	Unfortunately, these don't do pulse dialing,
3727390	3728750	otherwise we would do a switch-hook
3728750	3730850	Can you all read that?
3735210	3737090	Pardon? Sir, can you read that?
3737650	3739330	Okay, so what you're going to do is
3739330	3741030	you're going to pick a phone. Each phone is dialed
3741030	3743170	one plus the area code plus the number.
3743350	3745030	After one second, if you dial correctly,
3745030	3747270	you'll hear another dial tone, dial the next number,
3747270	3748190	and so on and so on.
3748190	3750710	If you miss-dial a digit, say you dial
3750710	3753650	two instead of one, you'll get a reorder tone
3753650	3755190	after one second, at which point
3755190	3757890	you will want to dial the number again.
3758230	3760250	If you skip a digit,
3760250	3761870	you'll hear nothing after one second.
3761870	3764070	You may want to press a couple digits
3764070	3765310	until you get a reorder.
3765310	3767010	If you get a reorder that
3767950	3770210	you can't break by dialing,
3770210	3774430	if you get the reorder where you can't redial the number,
3776390	3777950	there's rules, there's rules.
3777950	3779790	If you get the reorder that does not go away
3779790	3781210	when you start dialing digits,
3781210	3783730	you screwed up and you have to hang up and start the beginning again.
3784270	3785390	So,
3786150	3787030	ready,
3788670	3789550	set,
3789550	3790270	go.
3835150	3836150	Beg pardon?
3844450	3845510	He wins.
3846050	3847830	The guy in the Quest shirt.
3851260	3853060	What size t-shirt do you wear, sir?
3853520	3854780	What size t-shirt do you wear?
3855140	3856020	Large? Okay.
3882450	3883470	He gets to leave.
3883470	3884790	We need one more contestant.
3885330	3886990	The guy in the Bell shirt.
3893420	3894800	You want to switch phones, Natas?
3895140	3895900	Okay.
3899160	3901860	We like preferential treatment.
3905340	3906140	So,
3906140	3907680	do you understand the rules, sir?
3908840	3909640	Okay.
3909720	3911220	On your mark,
3911640	3912880	go touch the handset.
3912880	3914380	Don't pick up the handset until I say go.
3914380	3915660	You can touch the handset.
3916560	3918880	One plus the area code plus the number, yes.
3920480	3921960	On your mark, get set,
3921960	3922620	dial.
3927370	3928350	Good news, everyone,
3928350	3929470	I found the numbers.
3930230	3930750	You can get them in the
3931610	3932630	capstoneextensions.com.
3943180	3943780	You know,
3943780	3945540	Natas, you're really starting to make these sounds
3945540	3948060	that I know you're...
3955180	3956220	You flash the hook
3956220	3957100	and get a call, all right?
3958120	3959980	He put his own call on hold.
3960780	3962160	That's what we're...
3978840	3979600	Yeah, let's do some
3979600	3980220	bid revenue.
3980220	3981200	Let's get some free stickers, too.
3982880	3984620	One of you still got a call on hold.
3986500	3988080	Call, please.
3990080	3991780	Natas, would you like an old-school free sticker?
3992300	3993640	Would you like an old-school free sticker?
3995720	3996780	He runs the site
3996780	3998100	for those who don't know.
4000080	4001520	And what size T-shirt do you wear?
4003140	4003780	Excellent.
4015600	4017360	Let's do this. Let me plug the
4017360	4020140	telephone in so we can hear the winner.
4023460	4025080	I think we'll do one more,
4025080	4026640	and then we have to get on with the presentation.
4028660	4029780	Let's make this fair.
4030080	4031180	Let's clear this out
4031180	4033140	and have four all-new people.
4035600	4037360	If you guys do compete,
4037360	4039600	come up to me after the show. You'll get swag.
4039600	4040860	You'll get swag.
4040860	4042600	You'll get swag. You're welcome.
4043000	4045420	Okay, new rule. Don't flash so fast
4045420	4047040	that you put a call on hold.
4047040	4047720	Yes.
4052220	4063960	Okay, so,
4070170	4073110	let's get some volunteers. How about this guy?
4079450	4081530	You made some funny comments.
4084490	4084590	Okay.
4086670	4091160	I heard a patch.
4095300	4096900	Yes.
4102480	4106400	Okay, we have one more.
4110760	4113900	I thought that was my line, Ratchet.
4116600	4117080	Okay.
4120210	4121730	Okay, do you guys understand
4121730	4123950	the rules from last time, or do I need to repeat them?
4125950	4127230	Okay, yes.
4127290	4129270	Okay, and now you're able to
4129270	4131810	listen to your caller.
4131810	4133650	So, on your mark,
4133650	4135470	get set,
4135470	4136290	dial.
4136290	4136630	Okay.
4156920	4158140	Don't leave now.
4158140	4159920	If you want free stuff, don't leave now.
4159920	4162020	We have various telephonic pieces of equipment
4162020	4164200	from Star Collection and more asterisks
4164200	4165800	after the show.
4180860	4182160	Good afternoon.
4182160	4182920	Cheers.
4191260	4193230	Oh, a princess phone.
4194420	4195940	A princess rotary?
4199260	4201180	It's little, it's lovely,
4201180	4202420	but, however, it does not like
4202420	4204340	what it's a consumer sale model
4204340	4205560	made out of.
4206320	4209160	Digium Zap-Tel cards do support rotary phones.
4209160	4210540	In fact, you can navigate
4210540	4213700	IPR menus of rotary phones with a Zap-Tel card.
4215240	4217000	However, the only thing that does
4217000	4219320	support rotary dial are the card
4219320	4220600	and the EC.
4220820	4223540	I think the EC supports rotary dialing.
4223540	4224300	I'm not sure.
4224300	4225740	It does? Okay, cool.
4225740	4229180	So, yeah, this thing does support it.
4231300	4232360	Unfortunately, no.
4232360	4234180	This one actually belongs to Mark Spencer
4234180	4235680	and I had to give it back to him.
4239520	4240840	Anyway, I found my two
4241300	4242720	complex, my slightly more complex
4242720	4244280	and my caller ID.
4244280	4246120	So, here we go.
4246320	4247660	Caller ID 1.
4257640	4259360	This is slightly more complicated.
4261260	4263260	It sounds like it's going to your AIS script.
4272600	4273680	I actually replaced
4273680	4275640	all of the default sounds with JMR
4275640	4276800	because we used a lot of the
4277540	4279760	Dell System and Output back in the 1960s
4279760	4281100	but I really like it more.
4284370	4286090	You can hear some
4286090	4287290	slightly more complex script
4287290	4289050	but I'm going to avoid it for now.
4307650	4310450	No, baby, give it to me.
4310450	4312570	Yes, yes, that's it.
4314150	4315530	And option 3.
4318390	4319870	This says...
4321230	4323880	Enter your object now.
4324710	4325510	Enter your...
4325510	4327670	This says...
4330370	4331110	Enter...
4331110	4332130	This is what's from the
4332130	4334630	sound file.
4335070	4336470	I ripped it off from the
4336470	4337830	information course.
4337830	4339910	Thank you for making it here.
4340470	4352580	Send your caller ID to whatever
4352580	4354000	you want.
4354000	4356400	After you send your caller ID...
4371510	4373570	Initial address message.
4383550	4406510	It was made by
4406510	4407850	Automatic Electric, which was
4407850	4409870	GT's manufacturing company.
4409950	4412990	But it's now discontinued as far as I know.
4414470	4416350	And ironically, Automatic Electric
4416350	4417390	is now part of this.
4417390	4419430	But anyway, you only find the GT5s
4419430	4421830	typically in former GT territory
4421830	4422890	and some independent
4425350	4426550	companies' territories.
4427410	4429250	However, in the GT5,
4429250	4429910	Automatic Electric
4429910	4430690	is an all-around unique
4430690	4431530	network.
4431750	4434930	So they decided to test out
4434930	4436090	each other's networking one day
4436090	4437230	through this home phone and
4437230	4471530	decided to list your friends.
4471530	4472390	I mean, how many times did you
4472390	4473450	have to call?
4475190	4476230	You need to create
4476230	4478230	your neighbor's credit card.
4479010	4480490	You find your neighbor's credit card
4480490	4481230	and pay him back.
4481230	4484390	You don't know where you're calling from, right?
4505770	4506950	You're obviously
4507930	4509070	using the same
4509070	4511470	phone you found your neighbor's card.
4511470	4513170	I'm not going to take your number.
4528020	4529720	You just send any caller ID
4529720	4531360	you can find, any CPM
4531360	4532200	number.
4533320	4535340	Oh, you must be selling something to connect
4584500	4586580	Let's get into the technical details of this later.
4604820	4613600	You can also, however, do color-ID spoofing most of the time with two lines in your extensions.com file and ask for a CPS.
4613600	4615660	So, I'm just going to grab some data for you.
4616400	4618420	We have a lot of theories about color-ID spoofing.
4618420	4635720	So, I have some.
4635720	4649690	It's based on the cost of your own number, of some number you want to talk more about.
4649690	4655550	And then you'll telephone the company, and they'll send you whatever name is associated with that number.
4660310	4665130	Yeah, it depends on what database you're using, but for the most part, it's fairly easy.
4665130	4667450	I think I've got a photograph of me doing that.
4667450	4671850	So, you can see how it works for yourself, your local exchange, your local website.
4671850	4674070	It's called Remembering a Missing Database.
4674070	4676190	And then they send that name to you.
4681770	4687030	It allows you to, if you're doing scanning, you can prioritize the more missing phone numbers.
4687370	4689570	Here are some real color-ID names.
4689570	4693730	We've got a company called C.I.A.
4695070	4698270	It's a really, really cheap reverse lookup.
4698270	4700370	And you can figure out stuff for yourself.
4703570	4705330	I'm straight.
4708110	4712070	I love you strong.
4712330	4713320	I love you too.
4714790	4717590	Here's an example of me backspoofing.
4722530	4724270	You need your credit card, personally.
4724270	4725670	This time, if it didn't work, you go to Google.
4729150	4731730	SuperColorID is something that I hacked up in a matter of about five minutes.
4731810	4735290	It extrapolates tons of useless info from a telephone number.
4735570	4737850	It gives the name and address from YPH.com.
4737850	4741850	And it does get you information from the Telecordia location that you've got.
4741970	4745010	In my office, it works on the telemedicine device, telemedicine terminal.
4745010	4748290	But if you've got some screen or some window you want to look at, you can do that too.
4749190	4753210	This is a version of it that has a site, oldschooltrees.com, that doesn't use the word.
4753210	4754950	That just grabs the address from the web.
4755090	4757150	Here's a photo of me using SuperColorID,
4757150	4761190	and looking from Gladstone's Corned Fish restaurant at Pacific Palisades,
4761190	4762950	to my own phone number.
4763530	4764410	Yes.
4769430	4771930	Wow, people are making their own versions for their own country.
4771930	4775170	Someone's got an Amazon copy from Australia, that works in Australia.
4775170	4777390	So, sweet stuff.
4777390	4778710	So you can see here,
4778710	4780610	it does the number,
4782310	4783450	the address,
4783450	4784930	so this spins up your webpages,
4784930	4787510	this is the calling party name, that tells you who's the phone company,
4787510	4789490	and here is all the details,
4789490	4790670	how the solution is served out,
4790670	4792730	how many information, prefixes,
4792730	4794790	where the switch is, what time the switch is,
4795250	4796810	and, for example,
4796810	4798890	if it's useless for anybody but their own country,
4798890	4800550	you can just enter, like,
4800550	4802630	Apple, or Google, or anything like this.
4804970	4805850	What?
4807730	4808170	Um...
4808170	4809650	No, it does not.
4815170	4817730	You can rig radio podcasts.
4818770	4820630	Yeah, why don't you explain this?
4822330	4823410	What radio does is,
4823410	4824390	they have a hunt group,
4824390	4825730	that's what it was,
4825730	4828110	you call one number, and it hunts for a free line.
4829290	4832190	So, for example, you call 5-8000,
4832190	4833190	and the reality is,
4833190	4833330	it hunts for a free line,
4833330	4833670	which is, you know,
4833670	4834810	8-000-1, 8-000-2,
4834810	4835470	8-000-3,
4835470	4835830	8-000-3,
4835830	4836870	8-000-3,
4837770	4838690	8-000-3,
4838690	4840390	8-000-3,
4840390	4840810	8-000-3,
4840810	4845510	8-000-3,
4845510	4847170	8-000-3,
4847170	4848730	8-000-3,
4851590	4854450	8-000-3,
4854450	4858490	8-000-3,
4858490	4859770	and what happens is,
4859770	4860950	after the hunt is over,
4860950	4877200	I think our provider for
4877200	4879080	Defcon by phone claimed that we can have
4879700	4881200	probably over 600 calls
4881200	4882980	going on at the same time.
4884960	4887080	We do have a DS1,
4887080	4888240	otherwise known as a T1,
4888240	4891630	and a DS3,
4891630	4891730	and a DS4,
4892310	4893590	and a DS5,
4893590	4894650	and a DS6,
4913880	4915260	and what it basically does,
4915260	4918460	you tell Asterisk,
4918460	4922780	generate a bunch of
4922780	4924580	different radio stations,
4924580	4926860	to connect to a certain radio station.
4926860	4928340	So, what happens,
4928340	4929000	call file one,
4929000	4929880	sorry I'm call number two,
4929880	4931340	call file three,
4932300	4933780	sorry I'm call ID number three,
4933780	4935120	now I've got it set up to work,
4935120	4937220	and it leads out bound calls,
4937220	4938960	and you can do more,
4939560	4940940	generate call file number four,
4940940	4942100	and actually stuff gets done,
4942100	4944280	call number five, call number six, call number seven,
4944280	4945960	and you're looking at call number nine,
4945960	4947280	and all of a sudden,
4947280	4958190	the calls that are currently in the queue
4958190	4959930	after the call is over,
4959930	4963130	you say, hey, oh my god, I won,
4963130	4964590	and I say yes,
4964590	4965390	and all of a sudden,
4965390	4971700	I'm sure radio station guy number one
4971700	4974600	is going to be highly confused,
4974600	4975540	and he says, well, they don't know
4975540	4976800	what's going to fix this,
4976800	4979000	that's why I actually found something out this week,
4979000	4980300	and they solved the problem,
4980300	4981840	and I'm not going to tell you what's going to happen.
4988300	4989760	Yeah, American Idol,
4989760	4991400	or some, if you watch TV,
4991400	4992680	I don't watch TV anymore,
4994040	5001070	and I said, well,
5001070	5002570	gee, this is important for the voting
5002570	5004270	mind, for the worst guy that was ever
5004270	5005610	listed on the list,
5006130	5006970	and I said, well,
5006970	5012620	if you do that, and they get a record contract,
5012620	5015780	radio will get about 1.1% worse.
5078020	5078660	What's your
5078660	5080840	NMAT5 voting number? Let's just do this.
5081960	5082940	On your
5082940	5084120	exchange, right?
5096030	5097570	Enter the IP address
5097570	5099170	you wish to scan.
5108600	5109600	Oh, that's it.
5109600	5111820	You know how to push my button.
5112000	5113260	Please wait.
5114900	5116060	Host found with
5116060	5118020	17 ports open.
5118220	5119860	Echo on port 7.
5120040	5121920	Disguise on port 9.
5122100	5124260	Date time on port 13.
5124420	5126580	Threat on port 17.
5127100	5129240	Curtain on port 19.
5129600	5130520	SMTP on
5130520	5132120	port 25.
5132120	5134500	Name server on port 14.
5134500	5136390	Domain on port 15.
5137240	5138400	HTTP on
5138400	5139560	port 80.
5139660	5140580	And that's it.
5229870	5230510	On Friday,
5230510	5231470	just fixing bugs and
5231470	5232630	dealing with things.
5301900	5302740	You don't have to.
5307930	5308770	All of him,
5308770	5309870	he thought of all the phrases
5309870	5311210	except the recording.
5312310	5314190	After recording everything,
5314190	5315510	I got really crazy and recorded
5315610	5317490	a whole bunch of crazy introductory phrases.
5318130	5320010	Okay, so,
5320010	5322390	you're basically ignoring how weird it is
5322390	5323470	to see phone calls
5323470	5325370	and recordings of yourself.
5326110	5327990	It still freaks me out.
5328810	5329810	So, there's a search
5329810	5331050	to be able to ignore calls,
5331050	5332970	there's a reminder, and again,
5332970	5334290	you need to register.
5336790	5338510	How does it work?
5338510	5339670	There's a MySQL database,
5339670	5343650	and there's a whole bunch of audio clips.
5343650	5344710	And pretty much,
5344710	5347190	I spent a week in front of my computer
5347190	5349150	dictating the entire text
5349150	5350550	of the schedule.
5364370	5366090	There's registration,
5366090	5367710	reminders,
5373700	5375380	and there's a web interface
5375380	5376520	internally.
5393750	5395750	To hear a listing of shows
5395750	5397470	that are coming up in the next hour,
5397470	5398310	press 1.
5405250	5407770	Please enter the first 5 letters
5407770	5409770	of the title of the show you'd like to see,
5409770	5411490	followed by the talent sign.
5413110	5415070	Presentation ID 56.
5415070	5416850	Be your own telephone company.
5416850	5417830	With Asterix.
5417830	5420590	Presented by Strom Carlson and Black Ratchett.
5420590	5422490	In Parthenon 3 and 4.
5422490	5423310	Starting at
5423310	5426630	Saturday, July 30, 2005
5428590	5431290	at 7 o'clock p.m.
5431290	5431930	Running for
5431930	5433750	110 minutes.
5433750	5435010	To hear more about this event,
5435010	5435770	press 1.
5435770	5437190	To skip to the next event,
5437190	5438170	press 2.
5438310	5439590	If you hear more about the event,
5439590	5441750	it brings you back to the entire description of the talk
5441750	5443170	as printed in the schedule.
5447720	5449340	Shouts to Strom!
5450940	5452880	If any of you want to hire me
5452880	5454480	for your voiceovers, please come see me.
5454480	5455780	I'll give you my contact information.
5455780	5458540	But don't give me 48 pages of show descriptions, please.
5458540	5459540	Prefer sanity.
5459820	5461060	No, I think I can handle that.
5462500	5464740	It's cheaper than buying that damn stuff for us.
5465880	5466900	The problem?
5466960	5468740	Dictating the whole schedule is a pain in the ass.
5468740	5470200	I didn't realize how long it would take
5470200	5471620	to dictate the whole thing in.
5471620	5473720	We were rushing.
5474040	5476920	It was supposed to be less than a week ago.
5476920	5478640	I'm not used to it.
5478640	5479960	I'm not used to it.
5479980	5482520	We had some jitter issues last week.
5483560	5485260	There were so many problems.
5485260	5487720	We couldn't nail all calls at the same time.
5488060	5489340	And we had jitter problems.
5489340	5490600	We had to switch to SIP.
5490760	5492820	And it's really difficult to keep our schedule in sync
5492820	5493640	with DEF CON's schedule.
5493640	5496040	We went and asked them to please
5496040	5498940	give us all your scheduled updates
5498940	5500360	to inform our users
5500790	5503680	and everyone who calls in about changes.
5503720	5504640	I don't remember
5504640	5505760	getting my email address
5505760	5508160	out of the entire agenda.
5508300	5510080	So thank you, everyone.
5510280	5511820	And also this.
5511820	5512580	We came up to them and said,
5512580	5514140	hey, our schedule really sucks.
5514140	5517180	Is there someplace we can go to get updates?
5517240	5519440	Oh, go to updates.defcon.org.
5519440	5522640	So I was like, okay, I'll sit down, fix everything.
5522640	5524940	Not a single schedule change on there.
5525060	5526680	I was...
5527320	5528660	It's causing nightmares.
5528660	5529800	I don't have nightmares for you.
5529820	5532640	We spent all of Monday, or all of Friday
5532640	5534280	trying to deal with the fact that they pushed
5534280	5536440	the entire track date back an hour.
5537380	5539720	But we hadn't anticipated that.
5540060	5541100	I'm sorry?
5543660	5545200	What we should do next year
5545200	5546640	is we're probably going to set up something
5546640	5548700	where the schedule is actually
5548700	5550560	thrown together in our system.
5551520	5553020	And that's the idea I had.
5553020	5554260	The schedule is thrown together in our system
5554260	5555680	so we automatically know about it
5555680	5557560	and have everything synchronized.
5557560	5559580	And as a disclaimer, we all love DEF CON.
5559580	5560980	We're not trying to piss anyone off,
5560980	5562840	but this is what happens.
5562840	5564140	When we're at DEF CON reminders,
5564140	5565520	there's no way to detect whether users
5565520	5568920	are rejected by scale.
5568980	5571320	So they don't get thrown into the reminder.
5571660	5573040	Some users are brain-deficient
5573040	5574360	and forget their thing.
5575220	5577540	And you've got to call from somebody.
5578780	5581040	You know who you are.
5587590	5588710	Rejector.net.
5588710	5590910	We'll be back next year.
5590910	5592750	We'll be back next year.
5593270	5595650	The problem with Crack 2 is that
5595650	5597330	they said, we'll move everything up and down,
5597330	5599690	OK, that's fine. I update the schedule.
5599690	5601290	And they said, OK, let's make that time
5601290	5603930	so everything is on schedule by the end.
5603930	5605890	I cried when I finally found out.
5606310	5608070	There was no way to do that.
5608070	5609170	I want to get to the Q&A
5609170	5610270	because I'm sure there are a lot of you
5610270	5611050	who wrote the Q&A.
5611350	5613930	The CDF cards kind of flake out.
5614390	5617630	They're problems because asterisk is TTL
5617630	5619330	but all folks know how to do the asterisk
5636030	5641130	So, if you want to ask a question, there is a telephone there.
5641170	5642990	Queue up in front of the telephone.
5643910	5646630	And for those of you watching on TV,
5646630	5654150	call the following number, area code 213-415-1047,
5654150	5656210	and you will be in the Q&A queue.
5656210	5660430	Do not call this number if you are sitting here in the room.
5660690	5664570	If you see someone who is on their phone and calling the number
5664570	5668570	and holding and asking a question, grab their phone and throw it to me,
5668570	5670490	and we won't give it back to them.
5675810	5679630	Will you please pick up and dial 8-1-1-0?
5679730	5682570	Oh, shoot. Sorry about that.
5684190	5685750	Please pick up that phone.
5695790	5696790	Hello?
5697550	5699090	I have a question.
5699670	5700670	Really?
5706050	5708910	Okay, please, everyone calm down. We are trying to get to make questions.
5708910	5712970	The codec that was demonstrated earlier, you can do rock and roll, funk,
5712970	5716130	with a lot of bass, and a yelling guy,
5716130	5718610	and a very quiet dude with his band going.
5719030	5723170	The band was really good to get that music, like,
5723170	5728940	I don't know if codecs are nice for speech, but the way I see it,
5728940	5732760	if you portrait test a codec, you see what they really sound like
5732760	5734280	under all circumstances.
5734420	5737460	Because not all speech is perfect.
5737460	5738900	So if you portrait test a codec,
5738900	5743240	you get a clearer picture of what it really sounds like.
5747080	5749620	Yeah, it's a good test. I know it's not designed for music,
5749620	5751140	but there is music on hold.
5751340	5753340	What happens when you're driving in your car,
5753340	5755860	and you have tons of background noise, and you're trying to use one of these?
5755920	5756880	Same thing.
5756880	5757520	Okay.
5760080	5761040	Thank you very much.
5761040	5761780	Thank you.
5763940	5766520	Let's see if anyone's calling in from the TV.
5770160	5773260	Agent logged in.
5773860	5775300	Hello?
5778320	5779760	Hello?
5780140	5781680	Black call!
5781680	5784200	Let's hang up and get the next person in line.
5785860	5788240	Agent logged in.
5796330	5797730	Calling in? Wow!
5797730	5799510	More people at home!
5800810	5804870	If you're watching on TV call, okay, let's get you in.
5813140	5815040	Okay, two questions, actually.
5815040	5818480	One, for all the color-ID speech and stuff you guys were talking about,
5818480	5821360	do you need a DS1, an MP3, or a PN?
5821360	5824000	No, I've got it running on my DSL connection.
5824160	5827520	Okay, so just with the VoIP provider...
5827520	5829920	Yeah, your standard VoIP call, even with MULA,
5829920	5833280	only requires 80 kilobits per second of bandwidth plus overhead.
5833280	5838240	So if you've got more than 80 kilobits per second connection in both directions, you're fine.
5838240	5839040	Okay.
5841360	5842220	Okay, never mind.
5842220	5846140	The other question I had is, what is the difference between a phone company and a telephone company?
5848950	5850690	How many phones do you want to use?
5850690	5854610	You can get generally about the same as a phone company, between three and five telephone sets.
5860260	5861920	Run, Forrest, run!
5862580	5864780	Isn't this scavenger hunt over yet?
5864800	5865460	No.
5865740	5867920	There's a giant bee problem with DEF CONNORS here.
5867920	5868640	Thank you.
5878760	5881480	Hello, you're with Asterisk.
5882500	5883280	Hey, how you doing?
5883280	5884360	Hey, how you doing?
5884640	5885420	Hey!
5885420	5886800	There's a little delay.
5889560	5891060	What's your question, sir?
5891760	5893660	My question on DEF CONNORS.
5893660	5895580	Are those the only ones that are supported?
5896240	5898840	For interfacing your phones with Asterisk?
5899180	5900140	Yeah.
5900140	5900660	No.
5900660	5902880	No, they're not the only ones supported.
5902920	5903920	I believe you're...
5903920	5904820	Yeah.
5905260	5906940	No, they're not the only ones supported.
5906940	5908040	I don't know which one it is.
5908040	5911480	I think it's something called VoiceTel that uses the same hardware.
5911480	5913280	It was the same older version of it.
5913280	5914160	It's supported.
5914160	5914900	It works.
5915080	5915480	But...
5915480	5917000	Good luck getting it working.
5919760	5921540	So, are those PCI cards?
5921540	5922740	Yes, they're PCI.
5922740	5925940	And I believe there's also one with ISA for you to use with...
5927540	5928960	I believe you're running...
5929560	5930180	Okay.
5930180	5931020	...DEF CONNORS.
5931020	5931760	DEF CONNORS, right?
5931760	5932440	Yes.
5933340	5935100	This is actually on the DEF CON by VoiceTel.
5935100	5936620	But we're going to move on to the next question.
5936620	5939380	Okay, let's get the next question from a real person.
5946850	5947550	Marty?
5947590	5949250	Hey, could you...
5957150	5961050	For the most part, Asterisk is about as secure as a regular telephone,
5961050	5963870	although the new version of the ETH protocol now does encryption.
5963870	5964810	I haven't played with it yet.
5964810	5966110	It's only about two weeks old.
5966110	5969790	But there is now encryption built into the TVS head version of the ETH protocol.
5970510	5972050	Cool. Okay.
5972110	5973790	Let's take a call from...
5984750	5985790	Hello?
5998570	6000110	Oh, this was always right here.
6013780	6041930	The reason those payphones take an incredibly long time to call...
6041930	6048810	Also, it works from my mobile phone.
6048970	6050150	So it's not our...
6050150	6053150	The other fun thing about the payphones out in the lobby
6053150	6056130	is that they do not transmit a payphone code.
6056130	6058950	So therefore, you can actually use DEF CON by phone from them.
6058950	6061970	All payphones are banned because we don't feel like being charged a fee.
6061970	6064650	However, thanks to Goldetel, whoever supports them,
6064650	6068810	they have a very unincorrect standard on their payphones
6068810	6071730	and they treat them as being real payphones.
6075290	6076470	Hello, caller?
6080110	6081230	Grab his phone!
6109070	6110430	...and O'Reilly makes great books.
6110430	6112970	This one's apparently like 570 something pages.
6113350	6115630	I'm looking for a good book with a starfish on the cover.
6116030	6116990	And secondly...
6118290	6120350	Sure, I'm broke. I'll accept the money.
6120810	6122410	You won't pay me. I've got it down for you.
6122690	6123990	Alright, thank you.
6146150	6147730	Call in somebody from...
6147730	6149050	Hello, party?
6150930	6151650	Hello?
6152150	6154520	Hello.
6154880	6157340	Up to four people can be in the queue at any given time.
6158760	6164300	And how did you figure out that you're the inventor?
6164820	6167700	Because we're dialing our internal Dundee net number.
6167700	6169600	We got skills, yo.
6169760	6174260	Yeah. Actually, you can set a password for this, but for convenience,
6174260	6177480	since none of you from the outside world can dial on our Dundee plan,
6178280	6180500	we figured it would just be easier if we could just answer the question
6180500	6182240	instead of getting some password thing.
6182240	6186460	Yes, essentially, this allows you to set up your own phone sets.
6186780	6189040	Yes. Thank you much.
6203920	6205040	I'm wearing...
6215230	6218250	I've got this really, really nice butt set.
6219990	6224210	Have you played with any of the 802.11c voice phones?
6224910	6228370	I haven't played with any of the 802.11c voice phones.
6228370	6233010	There are phones that'll act like cordless phones, except they'll talk to your Wi-Fi network.
6233390	6236330	I wasn't kidding when I told you I had a really nice butt set.
6238250	6240570	7920? Okay, so 7920.
6240610	6245430	If you go to voice-info.org wiki, they have information on all of those.
6245550	6248470	I haven't played with the Wi-Fi phone set.
6250630	6252890	Yeah, yeah, you can do voice talk on BDSU.
6252890	6254630	Yes, I set them up for my own thing.
6254630	6258450	I have a nice Bluetooth headset. I have Wi-Fi hotspot. It comes right in hand.
6258450	6261330	We've got to go wrap this up. Thank you all for coming.
6261730	6264310	I'm going to send out shouts to binrev.com.
6264310	6267230	You can find Strom and I there on forums, binrev.com.
6268190	6270530	Anything else? Oldschoolfreak.com.
6270530	6274010	We have stickers that we can give people. Just follow us out.
6274010	6276610	We'll talk to your questions and do whatever.
6277650	6280790	Hang on just a second. You can also, before you go,
6280790	6283190	if you have any questions and you can't get to us directly,
6283190	6287190	my telephone number is on my website, so call me up there.
6287410	6291310	Further reading of resources, on to the slideshow on your TV.
6291310	6293090	Thank you for coming, everybody.
