WEBVTT

00:00.000 --> 00:02.380
We have no time to waste and a lot of ground to cover.

00:02.380 --> 00:04.680
This is Journey to the Center of the PSTN.

00:04.720 --> 00:08.000
I'm Enzo D'Amato and first a little bit about me.

00:08.200 --> 00:18.900
So I got into computing when I was very young, got a bunch of servers, turned them into this, then got one of these, one of these, and put my servers in a professional data center.

00:19.100 --> 00:22.360
After doing that, I started looking for the next big challenge.

00:22.360 --> 00:25.380
I mean, after getting an ASN, you got to find something new to do.

00:25.640 --> 00:28.160
And for me, the answer was telephones.

00:28.280 --> 00:37.020
I wanted to figure out how the phone network worked, how I could become a part of it, and some interesting and unique exploits that you could do from the inside of the phone network.

00:37.020 --> 00:38.740
And this talk will take you through all of that.

00:38.740 --> 00:40.780
How you can become your own mob L.

00:41.060 --> 00:43.640
This talk, however, is not legal advice.

00:43.640 --> 00:46.740
It is not a comprehensive course on voice network design.

00:46.840 --> 00:49.740
It is not a guide to the regulations in your state.

00:49.740 --> 00:51.940
We're going to be covering licensing later on.

00:51.960 --> 00:58.120
And just remember to always check everything with what the actual rules are for your state, not just the generic nationwide rules.

00:59.140 --> 01:01.320
And this is also not going to be PBX hacking.

01:01.320 --> 01:03.960
A lot of people have done that, and that's sort of overplayed.

01:03.960 --> 01:06.560
We're going to be doing everything from the carrier side.

01:06.820 --> 01:10.780
So with that in mind, what is the publicly switched telephone network?

01:10.780 --> 01:15.620
The PSTN is essentially any phone that allows you to call another phone using a standard U.S.

01:15.620 --> 01:16.400
phone number.

01:16.400 --> 01:27.140
Some people define the PSTN as only phones that are connected over the traditional TDM network rather than phones that are connected over VoIP.

01:27.420 --> 01:31.760
However, in my opinion, there's no difference as long as the number is accessible from a standard telephone.

01:31.880 --> 01:34.100
So we're just going to say the PSTN is everything.

01:34.620 --> 01:37.220
And with that in mind, what is a phone company?

01:37.380 --> 01:51.020
In this case, a phone company, and when I say I started a phone company and I run a phone company, I mean a real phone company that owns its own numbering resources in the same way an ISP that has its own ASN owns its own IPV4 resources.

01:51.020 --> 01:56.840
You're not just reselling, you're not just buying from a generic sub-trunk provider and slapping a PBX on top of it.

01:56.840 --> 01:58.580
You're actually the carrier of record.

01:58.580 --> 02:00.380
You're managing the routing for those entities.

02:00.480 --> 02:08.600
A real phone company also files its own FCC 499, so it files federal taxes for phone companies, and it's interconnected with other carriers.

02:08.600 --> 02:09.920
Again, manages its own routing.

02:09.920 --> 02:13.000
It doesn't just send everything through whatever its upstream is.

02:13.440 --> 02:15.360
And why should you care about this?

02:15.360 --> 02:20.360
Well, the answer is that we, you know, in the hacker community, used to love phones.

02:20.360 --> 02:22.040
This was how the community started.

02:22.040 --> 02:25.740
Defcon groups are still labeled by area code and freaking was everything.

02:25.740 --> 02:29.640
But then everyone sort of lost interest right as the network started to get interesting.

02:29.640 --> 02:38.660
Because in 1996, you, for the first time, were allowed to become a competitor to Ma Bell for local exchange service, which means you could become a legit freak.

02:38.660 --> 02:41.420
You didn't have to do it in secret anymore.

02:41.420 --> 02:48.080
And with that, the amount of stuff on the network and therefore the interesting bits of the network got way larger and way more interesting.

02:48.120 --> 02:54.140
So we're going to be looking at all of those new interesting bits of the network.

02:54.740 --> 03:01.480
Unfortunately, we do have to cover first a bit of history and a bit of terminology for those who are new to freaking and new to phones.

03:01.620 --> 03:03.420
In the beginning, there was AT&T.

03:03.420 --> 03:10.440
AT&T was an amalgam of one major long distance company and then a local Bell operating company in each region.

03:10.440 --> 03:16.160
The long distance company did long distance and the local companies provided dial tone and local calls.

03:16.160 --> 03:33.280
However, this would break apart in 1984, which created nine separate RBOCs or regional Bell operating companies in each region of the United States and one IXC or inter exchange carrier that was the AT&T long distance entity that was subject to competition for the first time.

03:33.440 --> 03:37.540
MCI, Sprint, the other long distance carriers, if you remember dial around codes.

03:38.540 --> 03:42.340
And this is sort of a graph of how things broke apart and then merged back together.

03:42.340 --> 03:51.600
As you can see, there are three major phone companies, all of which own their own long distance branch and all of which also own a significant chunk of the U.S.

03:51.600 --> 03:52.980
geography for phones.

03:52.980 --> 04:01.140
The only difference now is that Quest is now level three, but these companies are the RBOC successors, what happened after the RBOC got broken up.

04:01.320 --> 04:05.940
And an interesting note here is looking at what an actual local call is.

04:05.940 --> 04:10.860
Because when we say we have local exchange carriers and inter exchange carriers, what is what?

04:10.860 --> 04:17.780
And this up on the screen here is a map of all of the LATAs or local access and transport areas in the United States.

04:17.780 --> 04:24.700
Each LATA is the specific territory of one of the RBOCs and any calls within the LATA are handled by that RBOC.

04:24.700 --> 04:28.020
Any calls external to the LATA are handled by an IXC.

04:29.080 --> 04:35.860
And within a specific LATA, we also have a number of numbering plan areas or area codes and rate centers.

04:36.140 --> 04:39.580
With calls within a rate center are always truly local.

04:39.580 --> 04:44.920
So always truly local meaning that they are not billed per minute.

04:44.920 --> 04:48.000
They are either billed not at all or per call.

04:48.100 --> 04:56.960
And usually there will be an arbitrary boundary between that rate center and a couple of the other adjoining rate centers that will be included in that local calling scope.

04:56.960 --> 05:01.420
This is defined in the state tariff for the RBOC and it is highly arbitrary.

05:01.460 --> 05:09.780
Unlike the LATAs, there is no federal standard for how big a rate center is supposed to be, what it includes and sort of what the rules are for those.

05:09.780 --> 05:14.460
So you are going to have to check for your specific rate center to see what counts as local for it.

05:14.900 --> 05:18.360
And therefore, we can sort of put together a taxonomy.

05:18.360 --> 05:26.900
We've got local calls that are always handled by the local exchange carrier and therefore governed by the state public utilities commission as a local utility.

05:27.840 --> 05:30.280
And they are usually unmetered.

05:30.460 --> 05:37.100
And then we've got true long distance calls, which are governed by the FCC under the Braille system break up and handled by an IXC.

05:37.100 --> 05:40.280
However, then you've got a bunch of weird niche categories.

05:40.360 --> 05:49.520
So intra LATA and intrastate calls are what are known as local long distance or long distance calls handled by the local exchange carrier or the baby bell.

05:49.520 --> 06:07.620
And then you also have inter LATA and intrastate calls, which are counterintuitively more expensive than interstate long distance calls because they are governed by the state public utilities commission and therefore, since the state public utilities commission is a less strong regulator,

06:07.620 --> 06:11.020
those calls are more expensive because they can get away with charging more.

06:11.020 --> 06:25.960
And finally, you have a very weird category that usually only exists in the large flat plain states of interstate intra LATA, interstate inter LATA calls that are governed by the FCC, I think, and handled by the local exchange carrier.

06:25.960 --> 06:36.140
These basically only exist on paper, but this just goes to show you the weirdness and the state of the number of exceptions and oddities that exist in the phone network.

06:36.140 --> 06:45.200
You know, when you have a bunch of categories that are created by successive regulations being layered on top of each other, you get these sort of weird categories.

06:45.200 --> 06:49.240
And this only is going to expand and create a bunch of interesting opportunities for us later.

06:49.500 --> 06:55.320
However, the real big change wouldn't come with the bell break up, but rather with the telecom act of 1996.

06:55.440 --> 07:03.740
This enabled competition for the local exchange carriers, these new entities known as CLECs, or any local exchange carriers certified after 1996.

07:03.820 --> 07:17.020
It normalized wireless regulation and created the modern cell phone industry by allowing cell carriers to be treated as co-equal carriers to the LECs instead of just as basically almost as resellers that subtended off of them.

07:17.020 --> 07:37.800
And it also critically required the incumbent LECs, meaning the R box, to interconnect their networks at any technically feasible point, offer services for resale, and to do all of this on nondiscriminatory terms expressed in a publicly filed interconnection agreement.

07:37.800 --> 07:42.660
These responsibilities are known collectively as 251, 252 interconnection.

07:42.660 --> 07:51.180
Together with the provision allowing for CLECs, that has been what has allowed the telephone network to really transform itself over the past couple of years.

07:51.180 --> 07:58.420
It's how we got VoIP, it's how we got new carriers, and it's how I was able to become a phone company at the age of 19.

07:58.800 --> 08:05.960
Later on, we would see a new category of sort of a half CLEC certification created for VoIP only carriers.

08:05.960 --> 08:20.300
This, known as an IPES, allowed those VoIP carriers to get numbering resources issued directly to them, but still required them to go through an IPES entity, sorry, go through a CLEC entity as their sort of parent company.

08:20.760 --> 08:25.500
The ILEC entity would manage the routing on their behalf.

08:25.560 --> 08:28.340
So sort of a half CLEC that doesn't have interconnection.

08:28.340 --> 08:33.000
So now let's get into how the PSTN actually works and how those calls are going to flow through the network.

08:33.100 --> 08:38.480
So here we can see an example of a modern LATA ecosystem as it exists currently.

08:38.480 --> 08:41.660
Each different company is represented by a different colored box.

08:41.660 --> 08:55.200
And as you can see, a call from an ILEC to a CLEC is going to go through, obviously, the ILEC's network, but it's also going to go through a very special box that exists in every LATA, the ILEC's feature group D tandem.

08:55.200 --> 09:00.000
The feature group D tandem acts almost like the default route for everything within that LATA.

09:00.000 --> 09:15.320
If two carriers don't have a connection to each other, they're supposed to always have an interconnection with that ILEC's feature group D tandem as part of their interconnection agreement with that ILEC, which means that those calls can flow through that feature group D tandem to sort of reach where they need to go.

09:15.580 --> 09:19.420
Either on the ILEC or on another carrier that subtends that ILEC.

09:19.420 --> 09:23.660
They can use that sort of as an almost like a tandem that they can both reach.

09:24.500 --> 09:33.420
If a call is long distance, however, it's going to get piped out over the long distance network and then all the way back into the feature group D tandem in the new LATA.

09:33.420 --> 09:36.000
As an example, this is an ILEC to ILEC call.

09:36.020 --> 09:43.040
Critically, the ILECs, because of the regulations, are not allowed to carry their own long distance traffic between LATAs.

09:43.040 --> 09:45.480
They have to send that traffic over an IXC.

09:45.480 --> 09:49.340
However, CLECs are not subject to the same restriction.

09:49.460 --> 09:54.280
So in this example, two CLECs in different LATAs are able to send traffic directly to each other.

09:54.280 --> 09:56.940
In this case, over an IP trunk that they have.

09:56.940 --> 09:59.100
So CLECs can actually use IP trunks.

09:59.100 --> 10:02.280
They can use VOIP to send calls between each other.

10:02.280 --> 10:11.100
So the internal routings on CLEC to CLEC or CLEC to mobile calls can actually be IP in some cases.

10:11.360 --> 10:21.140
Finally, you also have an example of a CLEC that connects directly to the inter-exchange carriers, receiving calls from them directly instead of sending them over the feature group D tandem.

10:21.140 --> 10:27.540
In this case, the CLEC basically acts as its own feature group D or acts as tandem for the numbers that it has.

10:27.720 --> 10:30.980
Hanging off of an IXC is one directly.

10:31.500 --> 10:39.560
This allows us to put together some general rules for routing with the caveat that voice routing is very ad hoc.

10:39.560 --> 10:48.460
It's not particularly well defined like BGP routing is where like a BGP router will always be able to use BGP to pick the best route to a given point.

10:48.720 --> 10:56.880
An ILEC will not be able to do this because an ILEC routing will not be able to see the entire picture of the network at one time.

10:56.880 --> 10:58.900
It won't be able to calculate a best path.

10:58.900 --> 11:04.440
So it has to go through basically a series of rules defined by the regulations and the information that it does have.

11:04.440 --> 11:06.180
These rules generally are as follows.

11:06.180 --> 11:11.240
If two carriers have a private IP interconnection between each other, that will be used by default.

11:11.240 --> 11:15.420
It's much cheaper and everyone prefers to keep things on IP as much as possible.

11:15.460 --> 11:19.720
If the call is local, however, it will be sent over the local interconnection.

11:19.720 --> 11:23.020
Local calls have to go over the local interconnection.

11:23.020 --> 11:25.420
If you send them over a long distance, they won't route properly.

11:25.420 --> 11:40.060
However, if a call is intra ladder, it can either go over the future group D tandem for that ladder or it can go through an IXC who they can then be responsible for basically delivering it back onto the future group D tandem through their internal network.

11:40.120 --> 11:43.260
However, if a call is inter ladder, it has to go over an IXC.

11:43.260 --> 11:49.280
It can't get sent through the future group D tandem unless that future group D tandem is basically being used just as a bridge to reach an IXC.

11:49.860 --> 11:51.740
We can now look at phone numbers.

11:52.680 --> 11:56.640
Everyone's familiar with the basic parts of a phone number, but there's a bit more to it.

11:56.860 --> 12:01.020
So obviously an area code, one or multiple will be assigned to a single numbering plan area.

12:01.020 --> 12:03.840
And when there are multiple assigned, that's called an overlay complex.

12:03.900 --> 12:13.020
However, we also have the next three digits, the CO code, are the most important for actually routing the call within the numbering plan area to the carrier that it's going to.

12:13.020 --> 12:19.500
So this was the original basic unit of phone number routing from the original days of direct dialing.

12:19.500 --> 12:25.320
And these were originally assigned to a single end office, like a single building back when it was the Bell system.

12:25.320 --> 12:29.040
After the break up, these started just being assigned to a single entity.

12:29.060 --> 12:32.540
So it's like a single, you know, licensed local exchange carrier.

12:33.180 --> 12:35.860
However, this, even this was too inefficient.

12:35.980 --> 12:50.900
They were noticing that especially in metropolitan, that especially with the rise of smaller CLECs, you'd have CLECs that were getting a CO code in every rate center and only using about a thousand of those numbers, meaning that all of those blocks, potentially hundreds of thousands if not millions of phone numbers,

12:50.900 --> 12:53.220
would only be ten percent utilized or less.

12:53.220 --> 12:58.520
This was extremely inefficient and therefore they created the number block pooling system.

12:58.980 --> 13:12.260
Instead of assigning people CO codes directly, instead a CO code would be broken up into its constituent thousands blocks and these would be assigned to carriers and we would route on these thousands blocks instead of routing on the full CO code.

13:12.300 --> 13:18.040
This made, allowed us to make much more efficient uses of our routing, but it wasn't adopted everywhere.

13:18.200 --> 13:31.280
It was required in major urban and metropolitan areas by the FCC, however in more rural areas it's optional and again you'll have to check with your state public utilities commission to see what rate centers in your area are pooled.

13:32.180 --> 13:36.900
Most of you will know that if you change carriers, you'll be able to take your number with you.

13:36.900 --> 13:38.940
However, you may not know how this is implemented.

13:38.940 --> 13:45.700
The routing that I just displayed is fairly static, you know, it's based on block, so if you move your number, how is that number going to be able to move with you?

13:45.700 --> 13:48.840
The answer to this is number portability, uh, or porting.

13:49.120 --> 13:57.780
The porting allows you to take the number with you by adding a routing overlay, a query layer on top of that existing base, you know, routing structure.

13:57.780 --> 14:03.080
And the way this works is that each number gets an LRN in addition to its, you know, normal appearance.

14:03.220 --> 14:09.280
And when that number is called, we hit a database for that outgoing call and we get back the LRN.

14:09.280 --> 14:17.660
We are guaranteed to know that the LRN will be a phone number, um, will be a phone number in a CO code owned by the destination carrier.

14:17.680 --> 14:33.280
So the destination carrier's CO code will point to that switch and then we can route to that CO code and we know that routing to the LRN's CO code rather than the original dialed number will get that call to the switch where it actually lives rather than the one,

14:33.280 --> 14:35.260
the carrier that initially owned that number.

14:35.620 --> 14:39.300
And then we can put all this together and actually figure out how routes are built.

14:39.300 --> 14:43.380
So an AOCN loads routes into BIRDS.

14:43.520 --> 14:46.740
BIRDS then feeds a database called the LURG.

14:46.740 --> 14:52.440
The LURG is a pile of CSV files, like several gigabytes worth of CSV files.

14:52.440 --> 14:56.700
And those CSV files form the routing information for the entire network.

14:57.100 --> 15:02.300
These CSV files are sent weekly to individual, to all of the carriers that are subscribed to the LURG.

15:02.300 --> 15:09.860
And then they use these CSV files to manually build routing entries on their switches, sometimes using scripts, especially if they're a larger carrier.

15:10.260 --> 15:14.960
And within these, the LURG entries, there will be a bunch of codes known as Silly Codes.

15:14.960 --> 15:19.120
The Silly Codes identify each individual switch or routing entity on the network.

15:19.120 --> 15:33.780
And then these codes are then manually associated to either SS7 point codes, in the case of SS7 signaling, which is the most common, especially for legacy networks, or sometimes for VoIP signaling in the case that the two carriers have implemented VoIP between each other.

15:34.580 --> 15:45.680
This is a very manual process, obviously, and it takes, on average, 30 to 60 days for the network to update with a new full CO code, and about 14 days for a new thousands block.

15:45.760 --> 15:47.960
It's slow, very, very slow.

15:48.080 --> 15:51.740
And the reason for this is, again, it's a very manual process.

15:51.740 --> 15:55.740
Those switches do not have the capability to communicate routing information to each other.

15:55.740 --> 15:58.240
So we have to maintain the routing information centrally.

15:59.200 --> 16:05.040
All of these different parts of the network are governed by separate regulatory bodies that you're going to have to interface with.

16:05.040 --> 16:09.220
So phone numbers are governed by NANPA, or the North American Numbering Plan Authority.

16:09.400 --> 16:12.480
Portability and number porting is governed by NPAC.

16:12.920 --> 16:21.220
Operating company numbers, or OCNs, which identify individual telcos, and individual telcos in a state, are governed by NECA.

16:21.220 --> 16:36.760
And then silly codes, the SS7 point codes themselves, the LURG, and IAC codes, and basically any other code that you'll need, is controlled by a company called iConnective, which is basically allowed by the FCC to have a monopoly on routing information for the entire network.

16:37.700 --> 16:41.280
Billing is another interesting topic.

16:41.460 --> 16:43.980
In almost all cases, the calling party pays.

16:43.980 --> 16:55.260
It's not billed 95.5 like internet traffic is, it's strictly billed per minute based on the calling party paying, with each call counting as an additional billing counter.

16:55.540 --> 17:06.020
The calling customer pays the calling local exchange carrier, the calling local exchange carrier pays the IXC that they're using to route that call, the calling IXC pays the receiving IXC.

17:06.020 --> 17:09.520
The money flows along the call path from entity to entity.

17:09.520 --> 17:11.740
It's not end to end, it's hop by hop.

17:11.740 --> 17:19.440
And there are also a few special cases, the most prominent is 800 numbers, where the money basically flows in reverse.

17:19.440 --> 17:30.460
There are entities known as RESP orgs, or responsible organizations, which handle the toll free routing, and they handle billing for that routing, and the billing passes from the called party back to the caller.

17:30.620 --> 17:36.860
900 numbers and 500 numbers used to be special cases, because they were premium numbers that were up charged.

17:36.860 --> 17:40.140
However, these numbers don't exist anymore.

17:40.160 --> 17:44.760
The software to bill them no longer exists, so they're not routable on the current phone network.

17:44.760 --> 17:54.080
Local calls are almost always unmetered, or if they are metered, they are paid per call, not paid per minute.

17:55.140 --> 18:03.180
So now, with all of that information, all of that details about the phone network, let's actually get to doing something interesting and useful with it.

18:03.180 --> 18:05.360
We'll start with access stimulation.

18:05.420 --> 18:13.260
So if you were listening during the segment where I was talking about phone number billing, you may have noticed that the calling party always pays.

18:13.360 --> 18:20.260
And since most people nowadays have an unlimited minutes plan on their phone, can you make money off of this?

18:20.260 --> 18:23.440
You know, having people just call you and collecting the money?

18:23.440 --> 18:24.960
And the answer is yes.

18:25.080 --> 18:33.860
Access stimulation has been one of the longest running legalized abuses of the process since the very early days of competitive local exchange carriers.

18:33.860 --> 18:36.300
And the process goes about like this.

18:36.300 --> 18:48.380
We have, you know, so all we have to do in order for this to work is to get people to call us.

18:48.380 --> 18:49.460
It is that simple.

18:49.460 --> 18:52.900
Because the money will always flow along the calling path and our carrier will pay us.

18:52.900 --> 18:55.120
So we just have to generate a volume of calls.

18:55.120 --> 19:02.600
So imagine it's 1996 and you need people to call you and sit on the line with you for a long period of time so you can make money.

19:02.660 --> 19:03.800
How are you going to do this?

19:04.000 --> 19:05.200
And the answer is dial up.

19:05.860 --> 19:09.760
Dial up in 96 was the golden ticket for this.

19:09.760 --> 19:17.040
There were many, many, many, many companies.

19:17.040 --> 19:25.880
Dial up calls were 100% inbound and people sat on the line for hours so they could just rack up the billing.

19:25.880 --> 19:30.180
They would sit on the line and the dial up ISP would, you know, become a SELEC.

19:30.180 --> 19:35.340
Since they weren't serving real customers, they didn't have to run lines, you know, they didn't have to get a fancy switch.

19:35.340 --> 19:37.060
They had almost no costs.

19:37.060 --> 19:45.640
They just had to connect their dial up modems into the interconnection trunks that they were getting from the RBOC and they could collect those inbound minutes and profit off of this.

19:45.660 --> 19:50.420
However, the FCC would kill it in 2001 with the ISP remand order.

19:50.440 --> 20:02.100
They would rule, and I still do not understand where they got this from, but they ruled that internet traffic is considered interstate because it's going to the internet rather than another person at a fixed location.

20:02.100 --> 20:13.380
I still don't know how the FCC came up with this ruling, but they basically did it so that they could seize control over the reciprocal compensation for those ISP calls which had previously been a state issue.

20:13.480 --> 20:17.660
And then the FCC basically said, since this is interstate, we can set the rates for it.

20:17.660 --> 20:19.280
We say you get nothing.

20:19.320 --> 20:20.300
You know, this doesn't count.

20:20.300 --> 20:21.380
ISP calls don't count.

20:21.380 --> 20:23.160
You can't get compensation for them.

20:23.160 --> 20:28.900
Later on, much later on, they would kill local compensation for local calls altogether.

20:29.040 --> 20:32.240
However, there was still another plan.

20:32.240 --> 20:33.900
All we have to do is get people to call us.

20:33.900 --> 20:36.100
So if dial up isn't working, what are we going to do now?

20:36.580 --> 20:38.480
We're going to give people free stuff.

20:39.200 --> 20:44.500
Freeconferencecall.com is one of the original people who pioneered this space, but there were a lot more.

20:44.500 --> 20:53.240
Basically, any music, chat line, conference site, anything that people would call into and use for long periods of time.

20:53.240 --> 21:07.060
And critically, during the period between 96 and when dial up died, when the dial up loophole died, people got unlimited long distance packages where they could talk long distance for a long time or almost unlimited amount of time.

21:07.060 --> 21:14.320
We combined the free stuff with locating our numbers in the middle of nowhere so we can harvest higher per minute rates from them.

21:14.320 --> 21:19.200
We combine that with our unlimited plans and we get a pile of money.

21:19.200 --> 21:23.060
We're talking millions upon millions of dollars back when this was running out of its head.

21:23.060 --> 21:25.980
And we make AT&T extremely mad.

21:26.320 --> 21:34.420
This likely cost AT&T more in a month than all of the freaks of the 60s and 70s did the entire time they were operating.

21:34.420 --> 21:36.860
The scale of this was really astronomical.

21:36.960 --> 21:41.740
And it hit its peak during COVID, back when everyone was calling into conference call sites.

21:41.740 --> 21:43.960
However, this too would die.

21:45.240 --> 22:01.240
In 2011, the FCC finally closed the loophole and said that if you're doing a revenue share agreement with the person who's driving your inbound traffic and you either have an over 3 to 1 in out ratio or 100% year on year increase in inbound calls, you don't get access revenue.

22:01.500 --> 22:04.220
Unfortunately, there was still another loophole.

22:04.660 --> 22:15.940
In certain rural areas, there were specialized collector IXCs that basically pooled access to a bunch of rural co-ops and collected that long distance traffic and they could bill for that.

22:15.940 --> 22:22.640
So we would put our access stimulation behind like 20 of these that still existed and have them bill it.

22:22.760 --> 22:24.080
Because that was a loophole .

22:24.080 --> 22:25.940
The FCC would close that loophole.

22:26.100 --> 22:27.800
We would try again.

22:27.800 --> 22:35.740
And we would add an IPES company between the LEC and the high volume to end point and now the LEC would bill the access minutes.

22:35.740 --> 22:37.000
And this was also a loophole.

22:37.000 --> 22:38.920
They only closed this one last year.

22:39.260 --> 22:41.720
And, of course, people have moved on to something else.

22:41.820 --> 22:46.980
This, like I said, it's the longest running basically free money glitch in the phone network.

22:46.980 --> 22:48.440
People have been using this for years.

22:48.440 --> 22:54.920
I'm sure people still continue to use it until they get rid of per minute charging for long distance calls.

22:55.860 --> 22:58.200
And you may be wondering why do you care about this?

22:58.200 --> 23:06.160
And if you looked at your PBX logs, if you have SIP exposed, you may have noticed that there are a lot of people attempting to brute force your box.

23:06.260 --> 23:06.960
Why?

23:07.040 --> 23:09.740
Why are people trying to brute force PBXs on the internet?

23:09.740 --> 23:11.640
How is that a profitable activity for them?

23:11.680 --> 23:19.380
And the answer is that this same principle that works for domestic calls also works for international calls where the rates aren't, you know, half a cent per minute.

23:19.380 --> 23:20.760
They're 50 cents a minute.

23:21.000 --> 23:34.060
And if someone is actually able to get in your PBX and you've got international dialing enabled, or hell, even if you've got domestic dialing enabled, they will run up a tremendous bill on your PBX until you figure out that you've been hacked and you close the loophole.

23:34.320 --> 23:41.180
It is a pretty big money attack and it's the reason why everyone is always trying to brute force into your SIP servers.

23:42.660 --> 23:44.560
Now let's get on to another attack.

23:44.560 --> 23:46.360
Something more traditionally freaky.

23:46.360 --> 23:51.180
Let's say we want to make robocalls and we don't want people to be able to identify that we're making them.

23:54.980 --> 24:02.040
In the FCC quite recently added a new SIP header that mandated that all telecoms use it.

24:02.040 --> 24:04.380
This SIP header was the stir shaken header.

24:04.380 --> 24:11.380
The stir shaken header added a cryptographic signature to every call that contained certain critical details about the call and an attestation level.

24:11.380 --> 24:14.960
A, for a fully verified caller ID where you assign the number to the user.

24:15.020 --> 24:21.040
B, for a verified customer where you knew the customer but you didn't know that the number they were using was legit.

24:21.040 --> 24:24.100
And C, if you were just a gateway passing on a call to someone else.

24:24.300 --> 24:28.180
Passing on a call you got from another carrier on to someone else with no real information.

24:29.360 --> 24:34.240
But you may have noticed that if you have a phone you've still been getting robocalls.

24:35.080 --> 24:39.320
This hasn't fixed anything and the robocalls you're getting are still spoofed.

24:39.320 --> 24:40.640
This has fixed nothing.

24:40.880 --> 24:43.800
So how are the robocalls getting away from this?

24:43.800 --> 24:48.560
If you think about it, if you have a stir shaken certificate for them the police should just be able to roll up and arrest you.

24:48.560 --> 24:49.700
But this hasn't worked.

24:49.700 --> 24:53.100
And the answer to this is something that I'm calling the TDM shuffle.

24:53.580 --> 25:01.300
In a normal telephone arrangement everyone will generally prefer IP trunks because they're faster, they're easier, they're cheaper.

25:01.300 --> 25:12.020
And most major carriers, especially people doing real volume and the major cell companies have IP trunks between each other because they want to take advantage of those discounts.

25:12.020 --> 25:20.940
However, if we choose a provider that's, let's say, spammer friendly, that provider can choose where and how they're going to send out those calls.

25:20.940 --> 25:27.780
So they can choose to force those calls over the old school TDM network instead of the newer IP trunks.

25:27.840 --> 25:34.480
This means that those calls will lose their stir shaken header once they go over TDM because TDM doesn't support stir shaken.

25:34.520 --> 25:44.460
So that header gets stripped out and then eventually once the call reenters the IP network a gateway node is going to see that it doesn't have a signature on it and is going to slap a C attestation on it.

25:44.460 --> 25:49.500
If you're really lucky you'll hit a misconfigured PSTN gateway that puts A attestation on everything.

25:49.540 --> 26:02.140
But either way you've now gotten your spoofed caller ID to have a legitimate stir shaken certificate on it and the original destination of that call has been completely muggled and no one knows where it came from.

26:02.980 --> 26:06.900
There are a bunch of approaches to this and ways that this can happen.

26:06.900 --> 26:10.240
The spammer can directly run TDM trunks into their boxes.

26:10.300 --> 26:14.680
More likely the spammer will use a carrier that they know will support TDM.

26:14.680 --> 26:26.460
Sometimes the spammer can try and force the routings to force a call over a legacy pathway by calling between two providers that they know don't have trunks, that they know don't have IP trunks even if both of the providers are legitimate.

26:26.940 --> 26:29.340
This can sometimes just be coincidental.

26:29.340 --> 26:35.380
A lot of phone companies especially in rural areas or just for whatever reason are still TDM only.

26:35.380 --> 26:40.880
A large part of the network, I'd say about 40 percent of calls today are still hitting TDM at some point in the call chain.

26:41.180 --> 26:53.640
So, you know, a lot of times that this stir shaken header gets popped out and with the weird routings, this can be very hard to diagnose and much harder to actually definitively prove to be malicious.

26:54.940 --> 26:58.020
There is a standard for TDM shaken.

26:58.140 --> 27:02.740
However, there is no yet, there is no date yet on a forced implementation.

27:02.740 --> 27:05.180
There is no agreement on how the implementation would work.

27:05.180 --> 27:07.380
The FCC is working on it but they are not done yet.

27:07.380 --> 27:17.140
And I'm sure the fact that the robocall carriers are harvesting millions of dollars in revenue for carrying these robocalls has absolutely nothing to do with the fact that we haven't gotten a fix for this yet.

27:18.180 --> 27:22.800
Now, let's say we want to do something a bit less technical.

27:22.800 --> 27:27.320
We're not a carrier, we're just a jerk and we want to blast people with spam.

27:28.180 --> 27:32.800
We can harvest a technique that will be familiar to anyone from the old days of email spamming.

27:32.800 --> 27:34.620
I call it snowshoe.

27:34.620 --> 27:51.400
But essentially what we do is we get 20 shell companies and each shell company signs up with 20 mom and pop or super tiny VoIP providers that aren't doing good KYC, that aren't doing proper attestation, they're not doing caller ID filtering on their outbound calls.

27:51.400 --> 27:57.460
And all of these companies are going to get like 5% of the overall spam volume.

27:57.460 --> 28:03.800
So the spammer might be having a tremendous spam pipe cranking out tens of thousands of calls a day.

28:03.800 --> 28:07.840
Remember the car warranty robocall thing was one guy.

28:07.840 --> 28:09.920
That was one spam operation.

28:10.240 --> 28:18.240
That was one guy and he had all of these accounts with a bunch of other people and he was blasting these calls out and basically spreading them out.

28:18.240 --> 28:27.500
So even if any one of these entities would get zapped by the government, there would be no way to really get the root guy because it was all shell companies.

28:28.340 --> 28:32.720
This was combined with the fact that a lot of these small carriers aren't doing KYC properly.

28:32.720 --> 28:34.380
They don't know who their end customer is.

28:34.380 --> 28:39.620
They're not stopping that customer from sending out stupid amounts of traffic for their profile size.

28:39.620 --> 28:46.700
They'd let a residential customer have 100,000 lines active and that can become a real powerful attack vector.

28:46.700 --> 28:50.460
This is made even better by the fact that numbers are so cheap now.

28:50.460 --> 28:55.740
If numbers are one cent each, we're going to buy one per day per company and just switch them out.

28:55.800 --> 29:01.920
And major, like the state attorney's general robocall report has noted that this is one of the big issues they're seeing.

29:01.920 --> 29:08.420
That caller ID filtering has become almost useless because spammers will never use the same caller ID for more than a couple of calls.

29:09.320 --> 29:27.260
And we can, of course, mix and match both of these techniques for maximum damage, spreading calls across piles of tiny middle of nowhere in the country, TDM carriers, all of which aren't doing KYC, all of which are muddling the call flow and all of which can never be tracked back to us,

29:27.260 --> 29:37.280
especially when you consider that a lot of these carriers have three or more resellers and other entities in the chain between customer and the actual entity in the LERP responsible for routing.

29:37.280 --> 29:45.460
And since only inbound carriers require licenses, none of these high volume VoIP carriers are regulated, so you can't take away their license.

29:45.460 --> 29:46.960
You can't kick them off the network.

29:46.960 --> 29:50.700
You've got a recipe for infinite robocalls with almost no mitigation.

29:51.140 --> 29:55.000
And this is just scratching the surface of carrier side VoIP abuse.

29:55.000 --> 29:58.300
Again, once you get your certification, the doors are open to you.

29:58.300 --> 30:01.100
You can do everything that you want pretty much legally.

30:01.100 --> 30:03.560
You've got local number portability abuse.

30:03.680 --> 30:05.660
You don't need a pin for wireline ports.

30:05.660 --> 30:08.100
You can just make a fake LOA and steal someone's number.

30:08.460 --> 30:11.920
SS7 devices haven't been pen tested in, I think, ever.

30:12.000 --> 30:20.340
And that's not even considering just plain freaking, sending out calls with no ANI, sending out calls with a charge number set to someone you don't like because they get billed for it.

30:20.760 --> 30:27.000
Sending out, using your access as an AOCN to hijack number blocks and numbering resources.

30:28.400 --> 30:39.880
Vulnerabilities on 20‑plus‑year‑old hardware like 5Es and DMS100s that have never been pen tested but have a bunch of interfaces that may not be accessible to the public but are certainly accessible to other telcos.

30:39.880 --> 30:43.260
You're basically only limited by your time and the imagination you're willing to put into this.

30:43.260 --> 30:44.860
It's like a new Internet to play with.

30:44.860 --> 30:45.760
It's wonderful.

30:45.940 --> 30:54.180
Now, finally, hopefully you're all interested enough that we can discuss CLEC formation, the actual process to become a phone company.

30:54.700 --> 30:55.700
So let's do this.

30:55.700 --> 30:56.700
And let's do this quickly.

30:56.900 --> 31:00.900
So, you know, first thing you're going to do is you're going to need to get certification.

31:01.100 --> 31:04.800
So then establish interconnection with another phone company so your calls will route.

31:04.820 --> 31:07.560
Set up a switch, get your numbers and then handle taxes.

31:08.400 --> 31:10.760
So there are a bunch of different types of certification.

31:10.840 --> 31:12.080
I'll let you read this slide later.

31:12.080 --> 31:12.940
It's on the server.

31:13.000 --> 31:17.560
But the key ones you need to understand, the ILEX are existing phone companies before 96.

31:17.720 --> 31:18.540
There are no new ones.

31:18.540 --> 31:20.420
You either have to buy one or merge into it.

31:20.520 --> 31:27.080
CLECs are new wireline companies and cell companies are wireless companies and IPEZ are IP only.

31:27.080 --> 31:35.920
In terms of picking which one you want to get, if you can afford it and you don't plan to be doing wholesale minutes because wireless carriers have to sell wireless, wireless is by far the easiest type.

31:35.920 --> 31:38.340
It's included with your wireless certification.

31:38.340 --> 31:42.580
So if you can track down any common carrier wireless certification, you're basically good to go.

31:42.720 --> 31:46.380
If you don't need interconnection agreements, you can get an IPEZ.

31:46.380 --> 31:47.840
However, it's nationwide.

31:47.840 --> 31:49.660
It has minimal ongoing paperwork.

31:49.700 --> 31:54.120
However, the FCC is slow and expensive to deal with and, again, you don't get to do interconnection agreements.

31:54.120 --> 31:56.140
So you're basically completely shut out of TDM.

31:56.420 --> 32:03.020
If you want maximum power, like you want the full set of certifications, you want to be as mobile as you can be.

32:03.020 --> 32:04.860
You want to get a CLEC certification.

32:04.900 --> 32:07.500
However, the downside is that these are a lot of paperwork.

32:07.500 --> 32:10.840
You have to get one for each state you want to operate in.

32:10.840 --> 32:15.180
So you have to file paperwork in each state and you need to file ongoing reports in each state.

32:15.180 --> 32:18.340
It's also a tax headache because, again, you have to pay taxes in each state.

32:18.620 --> 32:23.460
However, the application process for all of these, again, except mobile, is fairly simple.

32:23.600 --> 32:26.180
You file with the State Public Utilities Commission.

32:26.240 --> 32:39.440
You need, in general, some financial information, balance sheets and income statements, resume for your key executives and key personnel, descriptions of the service area that you want to serve and the services to be offered.

32:39.440 --> 32:41.820
This can be the whole state and everything.

32:41.820 --> 32:48.740
Just write something that sounds good for, you know, those categories and a brief description of what equipment you want to put together.

32:48.740 --> 32:51.960
Again, the people at the POC aren't really tech experts.

32:51.960 --> 32:54.480
They just want to have some idea of what you're going to be setting up.

32:54.500 --> 32:57.020
Then be prepared to wait about 30 to 90 days.

32:57.620 --> 33:03.400
In terms of getting approved, the best advice I can give you is to read the Public Utilities Commission docket.

33:03.440 --> 33:06.680
Every application that has ever been filed is public and it's in there.

33:06.680 --> 33:11.180
You can read the applications that got approved and, more importantly, you can read the ones that didn't.

33:11.180 --> 33:12.640
You do what's in the good ones.

33:12.640 --> 33:14.260
You don't do what's in the not good ones.

33:14.260 --> 33:18.360
Download one that got approved quickly by a major carrier and modify it to suit your needs.

33:18.940 --> 33:21.000
Generally, however, having a team is better.

33:21.000 --> 33:23.720
Hacking is a social activity, especially phone hacking.

33:23.740 --> 33:27.660
The more people you have on it, the more years of experience you're able to show, the better.

33:28.140 --> 33:32.680
This goes doubly well if you have actual telecom experience, but this isn't a necessity.

33:32.680 --> 33:34.560
Just have some idea of what you're doing.

33:35.060 --> 33:42.500
The biggest and most important thing is you can't have a criminal record or judgments, especially for fraud or consumer abuses.

33:42.500 --> 33:49.400
I don't know about other stuff, but I know that, basically, if you got convicted for defrauding people, they're never going to give you a license for obvious reasons.

33:49.400 --> 33:51.440
You also need some amount of money.

33:51.620 --> 34:07.180
The actual amount varies from zero in liberal states, not liberal as in politically liberal, liberal as in giving out licenses, to a fairly decent chunk in other states that require you to have a specific amount of equity or a specific balance.

34:07.180 --> 34:11.020
Again, check your state's website and read your state's laws.

34:11.260 --> 34:12.240
Read the laws.

34:12.240 --> 34:14.140
It will tell you what needs to be in the application.

34:14.140 --> 34:15.560
Make sure you put that stuff in there.

34:15.740 --> 34:17.040
And don't be afraid to call.

34:17.040 --> 34:20.920
Generally, the public utilities commissions are more friendly than you might think.

34:21.040 --> 34:26.560
You'll have to shop around a bit to get to the right person, but generally, once you get to the right guy, they'll be able to help.

34:26.700 --> 34:28.440
It's not as hard as it used to be.

34:28.440 --> 34:30.780
In the 90s, it was very difficult to get approved.

34:30.840 --> 34:34.700
Now, it's almost deregulated, so you just have to do a box ticking exercise almost.

34:35.560 --> 34:38.020
Once you've got your certification, you need to get interconnection.

34:38.020 --> 34:38.940
There are two kinds.

34:38.940 --> 34:42.740
Local, for where your numbers live, and long distance or feature group D for everything else.

34:42.860 --> 34:44.360
Inbound calls are hard.

34:44.360 --> 34:49.080
Outbound calls are fairly easy, because for outbound, you just use a normal SIP trunk for everything that's not local.

34:49.300 --> 34:54.040
The first step is to pick a ladder and a rate center that you're going to be getting numbering resources in.

34:54.040 --> 34:59.640
You have to pick the geographic location in the rate center in order to figure out what kind of interconnection you need and where you're going to grab it from.

34:59.800 --> 35:02.480
Local interconnection is the harder of the two.

35:02.880 --> 35:10.220
You need to find, you're going to need to get an ICA in the area where you want to get numbers, in the rate center where your numbers are going to live.

35:10.340 --> 35:12.880
For RBOX, this process is fairly standardized.

35:12.880 --> 35:15.160
If inflexible, you're going to send them an email.

35:15.160 --> 35:21.600
They're going to send you an information request form and credit application, and then a draft interconnection agreement that's part of their standardized template.

35:21.600 --> 35:25.820
You're going to fill out the draft ICA and send it back to them, and you're done in about a month.

35:25.880 --> 35:31.300
For a smaller ILAC, the process is a lot more variable, because they almost certainly won't know you're talking about.

35:31.300 --> 35:39.920
You're going to have to go through multiple rounds of people until you either get their regulatory guy or their, you know, whoever's responsible for that at their company.

35:39.920 --> 35:44.240
And you might have to send them a draft ICA, because they might not have one on file.

35:44.240 --> 35:50.220
But the upshot to this is that even though it's harder to deal with them, they are more willing to negotiate and more flexible.

35:50.220 --> 35:54.520
So if you need something that the RBOX doesn't want to give you, they'll be more helpful.

35:54.800 --> 35:59.360
If you want to deal with TDM, you've got a few difficulties.

35:59.460 --> 36:02.160
So firstly, the actual media part of TDM is pretty easy.

36:02.160 --> 36:04.080
Cheap T1 media gateways are everywhere.

36:04.400 --> 36:06.180
However, SS7 is a real killer.

36:06.180 --> 36:10.980
If you have to deal with it, you're basically going to have to develop a custom platform , because it's not supported on anything.

36:12.980 --> 36:18.360
However, you can order MF trunks still in a lot of parts of the country, so you can use MF to avoid this.

36:19.060 --> 36:22.360
There are also interconnect companies that make the process easier.

36:23.800 --> 36:25.800
However, there are a lot more.

36:25.800 --> 36:30.200
These companies basically provide you a TDM IP translation service.

36:30.280 --> 36:36.460
However convenient this may be, it also is an added cost per minute and sometimes per number.

36:36.460 --> 36:38.980
You know, check with whatever provider you're going to deal with.

36:38.980 --> 36:47.360
But this avoids having to pay for either a fiber mid‑point splice or leased facilities from the ILAC.

36:47.840 --> 36:54.640
This isn't that bad in terms of actually ordering real TDM from the ILAC if you're close to them, if you're in the same ladder, if you're in their service territory.

36:54.720 --> 37:00.880
However, if you're outside of their service territory, those rates are no longer regulated and therefore are obscenely expensive.

37:00.880 --> 37:05.700
We're talking tens of thousands of dollars for a single T1 if you need to run it between states or something.

37:06.060 --> 37:07.780
So again, your mileage may vary.

37:07.780 --> 37:10.480
If you're staying local, you might be able to just deal with the RBOC directly.

37:10.480 --> 37:12.480
If you're not, you might have to do something different.

37:13.800 --> 37:16.680
Long distance interconnection, thankfully, is a hell of a lot easier.

37:16.880 --> 37:19.360
You can just get an ICA with your RBOC.

37:20.200 --> 37:24.900
If you have an ICA with your RBOC and you're doing TDM, you can just do long distance through them.

37:24.900 --> 37:28.420
Otherwise, you're going to want to look for an access homing tandem service.

37:28.420 --> 37:30.460
This is either cheap or free.

37:30.460 --> 37:31.960
Again, depending on who you deal with.

37:31.960 --> 37:37.340
If you're doing decent volume, you can even get some of that access revenue that we were talking about before.

37:38.080 --> 37:46.820
In either way, this is easier to get because, you know, there's no incentive for long distance companies to protect their brand or their territory.

37:46.820 --> 37:51.820
It's a profit center for them to be selling interconnection because they're getting a fraction of that permanent revenue.

37:52.020 --> 37:55.340
Switch building is where you really get to exercise your creativity.

37:55.380 --> 38:01.440
A couple of the major SIP platforms, I have their logos up, but you're going to pick one or multiple of these and put something together.

38:01.440 --> 38:08.380
Generally, you're going to need a session border controller or a gateway signaling element to deal with SIP and load balancing and that sort of thing.

38:08.380 --> 38:13.840
And then some sort of media element to do codec translation, to do NAT traversal, that sort of thing.

38:13.840 --> 38:17.800
This is where you can really show your creativity and make your voice service unique.

38:17.820 --> 38:23.220
There's a ton of flexibility you can show here, but it is a bit of a larger project because you're going to have to develop something.

38:23.420 --> 38:25.240
Again, this is also sort of what you want to do.

38:25.240 --> 38:31.300
You can get away with a single asterisk box if you just want to be tiny and serve yourself, but if you want something production ready, you're going to need to do more.

38:31.540 --> 38:34.760
A couple key notes here, IMS is the standard for LTE.

38:34.920 --> 38:43.600
It's confusing, difficult and generally a nightmare to work with, but you do need it if you want to deal with phones or if you want to follow the technical standard for residential VoIP services.

38:43.760 --> 38:45.760
But no one really uses it if they don't have to.

38:46.040 --> 38:56.980
And finally, commercial switches, your old stuff, your 5Es, your DMS100s or your meta switches and ribbons if you want to buy modern stuff are very expensive and less customizable, but rock solid reliability.

38:56.980 --> 39:00.960
We're talking five nines for a single box and have everything you're going to need out of the box.

39:00.960 --> 39:05.700
So if you want to, if you're willing to pay out of pocket for them, you know, they might be worth it.

39:05.800 --> 39:07.820
There are a couple pitfalls with switches.

39:08.320 --> 39:10.220
Biggest one is Lex style routing.

39:10.340 --> 39:14.660
So local and interlattic calls, you're going to have to pick those out and make sure they go over the correct trunks.

39:14.900 --> 39:20.240
You may have to support equal access depending on whether someone asks you to and the regulations in your state.

39:20.240 --> 39:21.600
Again, check your local laws.

39:21.660 --> 39:25.080
And you may have to deal with TDM and SS7 as we were talking about before.

39:25.080 --> 39:26.620
So you may need media gateways.

39:26.620 --> 39:29.340
You may need other, you know, gateway type elements.

39:29.340 --> 39:31.200
You may need an SS7 signaling gateway.

39:31.420 --> 39:40.420
Billing can be a real nightmare if you want to do proper, you know, telco style billing where you're billing local calls separately, you're billing per minute, you're billing cabs or access revenue for inbound.

39:41.120 --> 39:49.920
You're also going to have to deal with high availability and failover if you want to meet certain state standards for, you know, time, for uptime.

39:49.920 --> 39:53.600
A lot of states have a standard of four nines of uptime for your switches.

39:53.600 --> 39:58.240
So you may have to, you know, make sure you're suitably reliable and not just running on one box.

39:58.360 --> 40:02.940
You may also want to go multi‑site, especially if you're going to be pumping a lot of traffic through one central instance.

40:03.320 --> 40:06.700
There are issues for how to do this, you know, clustering and that sort of thing.

40:06.700 --> 40:10.240
VoIP is not particularly easy to cluster like, you know, websites.

40:11.420 --> 40:14.300
Once you've got your switch set up, you're on the home stretch.

40:14.300 --> 40:16.880
Now all you need to do is follow for your numbering resources.

40:16.880 --> 40:25.680
You're going to go to NAMPA or the North American Numbering Plan Authority, you're going to send them your OCN, you're going to send them your long distance interconnection details and you're going to send them your silly code for your switch.

40:25.680 --> 40:31.820
Then you're going to wait 45 to 90 days to get your central office code or a bit less if you're just getting a thousands block.

40:32.000 --> 40:37.620
Once you're approved by NAMPA, you're going to get an AOCN to put the numbers into birds and set up the routing records.

40:37.620 --> 40:43.080
You're going to talk to them about how you want to get your routing set up and then you're going to input your numbers into NPAC so people can port them.

40:43.180 --> 40:54.820
After you're all set up and all fully online, you're going to submit part four with NAMPA and if your numbers are pooled, you'll also have to send in a PSTN confirmation to say basically a test that you've fully built out the block.

40:55.220 --> 40:56.020
And then you're done.

40:56.020 --> 41:02.540
You are now an official phone company with your own numbering resources built out and with your own interconnection set up and routed.

41:03.020 --> 41:07.300
We're going to finally have a few concluding notes and hopefully get that done before we run out of time.

41:07.900 --> 41:17.380
So firstly, if you're a phone company or hell, even if you have an internet connected PBX, monitor your call and SIP logs, set alerts for unexpected usage, especially for weird international destinations.

41:17.460 --> 41:19.620
Lock down those weird international destinations.

41:19.720 --> 41:22.520
If you're a normal company, why are your employees calling Uganda?

41:22.520 --> 41:23.740
They probably shouldn't.

41:23.740 --> 41:27.520
Nothing wrong with Uganda, just they charge like 50 cents a minute for a call.

41:27.620 --> 41:30.780
So you want to make sure that's not happening if it doesn't have to be.

41:30.780 --> 41:42.000
Did rotation or people swapping out phone numbers, if you're a carrier, is not normal and is almost a certain sign that that person is using your service to send spam calls, you're going to want to monitor your customers too.

41:42.000 --> 41:47.820
Know the real person behind every company, know who's making your calls, know who you're dealing with and set limits on your switches to match that.

41:47.820 --> 41:51.840
If a customer says they're a home, they don't need to be making 40 calls at the same time.

41:52.600 --> 41:59.600
If a customer says they're a large business, you should expect them to not be switching out their numbers every two days because that's not normal for anyone.

41:59.600 --> 42:06.960
And never give out people the ability to swap out their caller ID and basically supply what the caller ID is going to be, unless you absolutely have to.

42:06.960 --> 42:09.980
It's the number one way that spammers are able to abuse phone services.

42:10.140 --> 42:15.540
In terms of public policy, if we have any feds in the room, require ILEX to support IP interconnection.

42:15.540 --> 42:21.720
This would solve a huge chunk of our issues for the TDM shuffle, the evasion of Starshaken.

42:21.920 --> 42:27.800
And it would also, at the very least, get the FCC moving on mandating out of band Starshaken support.

42:27.800 --> 42:31.880
This would be a big thing for fixing a lot of those problems.

42:32.000 --> 42:34.140
End user shaking might also be a good idea.

42:34.140 --> 42:46.200
If you force the end user PBX to sign the call, rather than the calling carrier, this would allow us to set a proper black hole list for PBX for people whose calls are frequently associated with spam.

42:46.320 --> 42:49.900
And it would allow us to track the call directly back to the originator rather than their carrier.

42:50.040 --> 42:52.660
And we also need better enforcement against criminal telcos.

42:52.720 --> 42:59.960
I have no proof of this, but I would estimate that 50 plus percent of all robocalls right now come from less than 10 carriers who make this a market for them.

42:59.960 --> 43:03.980
These guys need to be kicked off the network, because they're the source of all the spam, basically.

43:04.660 --> 43:21.360
Finally, I will ask you nicely, if any of you have equipment that you don't need, please, like, if you have 5Es, if you have old step by step stuff, you know, even if you have, like, mainframe gear, I've also got the Z14, if you have anything, or if you just are an ISP,

43:21.360 --> 43:27.920
an IXE, a WEC, an ASN, you want to peer with me, I'll connect with anyone and I will give any unloved equipment a new home.

43:28.720 --> 43:33.220
Finally, I'd like to give a thanks, first, to DEF CON for inviting me here to speak.

43:33.300 --> 43:40.720
Second, to LiveWire Telecom and my friend Dylan Cruz, who knows far more about TDM and the old phone network than I ever will and has been a tremendous help in this.

43:40.840 --> 43:46.480
Wide Voice, who is my future group D carrier, and I have nothing but good things to say about their service.

43:46.500 --> 43:58.800
And finally, YKC Communications in Ganado, Texas, who did not have a choice when I sent them an interconnection request, but was still a good sport about cooperating, so thanks for following the law and being a good sport, I guess.

43:59.080 --> 44:00.620
And finally, call me.

44:00.620 --> 44:01.980
This is my information.

44:02.100 --> 44:06.000
I love talking about phone stuff with people, and I have no one to talk about it with.

44:06.000 --> 44:06.980
Please reach out.

44:06.980 --> 44:09.320
I will talk your ear off about any of this stuff.

44:09.320 --> 44:11.940
I love to talk to you, but I love to talk about phones.

44:11.940 --> 44:13.680
And I think we're done with one minute to spare.

