The New Ma Bell: Roll Your Own Asterisk (*) Box

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=30152

h3x

09-01-2006 21:38:52

I'm sure most (if not every single one) of your don't know what the hell I'm talking about or what an li box is for that matter.

Maybe some of you might find the telephone system to be interesting. I know I do.

Heres a description of the li box from their website (http//www.asterisk.com[]http//www.asterisk.com)

[quotef50b067cd1]Asterisk is a complete PBX in software. It runs on Linux, BSD and MacOSX and provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in many protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware.[/quotef50b067cd1]

Didn't get that?


Lets start of a description of what a PBX is...

In loose terms, its your very own telephone CO (central office)/switch

A description from Wikipedia

[quotef50b067cd1]A Private Branch eXchange (also called PBX or Private Business eXchange) is a telephone exchange that is owned by a private business, as opposed to one owned by a common carrier or by a telephone company.[/quotef50b067cd1]

[quotef50b067cd1]Originally an organization's manual switchboard (operated by a person plugging cables into sockets) was known as a PMBX (Private Manual Branch eXchange). These were gradually replaced by automated electromechanical and then electronic switching systems, called PABXs (Private Automatic Branch eXchange). As PMBXes are almost unheard of, the terms PABX and PBX have become synonymous.

Using a PBX saves connecting all of a business's telephone sets separately to the public telephone network (PSTN or ISDN). Such a set-up would require every set to have its own line (usually with a monthly recurring line charge), and "internal" calls would have to be routed out of the building to a central switch, only to come back in again.

As well as telephone sets, fax machines, modems and many other communication devices can be connected to a PBX (although the PBX may degrade line quality for modems). For this reason, all such devices are generally referred to as extensions.

The PBX equipment is typically installed at a business's premises, and connects calls between the telephones installed there. In addition, a limited number of outside lines (called trunk lines) are usually available for making and receiving calls external to the site (i.e. to the public telephone network). Companies with multiple sites can connect their PBXs together with trunk lines. PBX-like services can also be provided by equipment located off site at a central provider, delivering services over the public telephone network. This is known as a hosted PBX. For example, most local phone companies offer a Centrex service in which each extension has a trunk line connected to the telephone company's Central Office. Other companies offer similar services.

PBXs are distinguished from smaller "key systems" by the fact that external lines are not normally indicated or selectable at an individual extension. From a user's point of view calls on a key system are made by selecting a specific outgoing line and dialing the external number; calls on a PBX are made by dialing 9 (or 0 in some systems) followed by the external number; an outgoing trunk line is automatically selected upon which to complete the call.[/quotef50b067cd1]

I hope you understood the description, if not.. You probably shouldn't roll your own PBX until you find some interest in the telephone system.

Now what would be the benefit of the li

- Public Conferences Have a public conference where anyone can call in and chat on your PBX. (For those in the 'phreak scene'; great examples include 'Bell's Mind' (http//bellsmind.net/[]http//bellsmind.net/, 'Phreak Phactor' http//www.phreakphactor.net/[]http//www.phreakphactor.net/, and 'The PLA' http//phonelosers.org/[]http//phonelosers.org/).. Basically a chat line.

- Voice Mail System (VMS) Self-explainatory.

- Incoming/Outgoing calls on VoIP services (i.e. FWD, GoIAX, IAXComm, etc.)

- Get the time and weather, traffic conditions, etc. simply by dialing in your number.

- and numerous features that I could list on and on..

In the most basic layman's terms.. When you dial in a number (1-888-EARTHLINK) for example.. The li Box is your very own PBX that you can completely customize from the ground up).

Minimum Requirements

- At least a Pentium 2 (Pentium 3 or higher is suggested)

- 256 MB RAM (400+ MB RAM is suggested)

- 8 GB HDD (20-40 GB recommended)

- CD-ROM Drive (for installing Asterisk)

- 10/100 NIC Ethernet Card (PCI)

- Modem

Now that you got the bare bones going.. I suggest you download Asterisk@Home (http//asteriskathome.sourceforge.net/[]http//asteriskathome.sourceforge.net/

This is the easiest route to take if you want to get a PBX up and running.. Its simply an installation disc that formats, automatically partitions, and install everything need to run an Asterisk box).. or if your a hardcore linux user (such as myself).. You can install the distribution of your choice, download all the dependents, install/compile and build from the ground up. But I won't get into detail on how to take the harder route as this tutorial would be pages long..

Going back to Asterisk@Home.. You must keep in mind that Asterisk@Home will robinson... It will wipe out the hard drive and rebuild the partitions and begin installation. Only install on a box dedicated to your PBX.

After Installation, Connect to your Asterisk box from another PC using the provided IP address for your box. Then customize it the way you want (check out asteriskathome.sourceforge.net[]asteriskathome.sourceforge.net and your VoIP providers on setting up extensions, trunks and so on).. or you can drop me a PM.. I'll be more than happy to help.

That should cover the base of PBXes and Asterisk. I hope this inspired some people to take a closer look at 'The Phone System'

x323smostwantedx

09-01-2006 21:40:15

shrug

Gooogler

09-01-2006 21:42:25

shrug shrug

drummer_kew_03

09-01-2006 21:49:18

shrug shrug shrug

Tholek

09-01-2006 21:50:13

Likewise, but you did answer some questions I had about Centrex. )

shamash

09-01-2006 21:54:10

[quote3f0e4a19f6="x323smostwantedx"]shrug[/quote3f0e4a19f6]

[quote3f0e4a19f6="Gooogler"]shrug shrug[/quote3f0e4a19f6]

[quote3f0e4a19f6="drummer_kew_03"]shrug shrug shrug[/quote3f0e4a19f6]

shrug shrug shrug shrug

EatChex89

09-01-2006 21:56:51

poor guy.. he went through all this time to write an article no one understands..

i truly have sympathy and have graciously given this fellow +KMA just for the time he took in making this article.

h3x

09-01-2006 22:02:40

oh well, at least I tried to get you guys interested in the phone system even fractionally..

i'll get some people interested in phreaking..

take a listen to these mp3s to understand the life of a phreak (from a legend's standpoint.. Evan Doorbell)

http//www.wideweb.com/phonetrips/HowBPhreak1.ram[]http//www.wideweb.com/phonetrips/HowBPhreak1.ram
http//www.wideweb.com/phonetrips/HowBPhreak2.ram[]http//www.wideweb.com/phonetrips/HowBPhreak2.ram
http//www.wideweb.com/phonetrips/HowBPhreak3.ram[]http//www.wideweb.com/phonetrips/HowBPhreak3.ram

I will keep writing articles relevant to the phone system and phreaking.. I'll just take it easy on you next time 8)

Tholek

09-01-2006 22:07:43

This guy sounds like Adam West...

h3x

09-01-2006 22:12:24

That is because I am; Adam West.

Daggoth

09-01-2006 22:15:24

[quote2bca29ef42="shamash"][quote2bca29ef42="x323smostwantedx"]shrug[/quote2bca29ef42]

[quote2bca29ef42="Gooogler"]shrug shrug[/quote2bca29ef42]

[quote2bca29ef42="drummer_kew_03"]shrug shrug shrug[/quote2bca29ef42]

shrug shrug shrug shrug[/quote2bca29ef42]

shrug shrug shrug shrug shrug

hehehhehe

09-01-2006 22:15:40

Do you really phreak?

h3x

09-01-2006 22:18:00

[quote408e97885a="hehehhehe"]Do you really phreak?[/quote408e97885a]

Since I was 8.

But thats not day for day.. I was unplugged (out of the scene) for a while and started back up with the emergence of VoIP [voice over internet protocol]

one side note to those who are somewhat familiar with the term 'phreaking'.. to most people, a phreak is a telephone hacker.. which is somewhat true. But its much more than that..

and another side note.. hacking does not involve causing harm to anyone or company. its merely a fascination in how something works. people who plant viruses and steal information are not hackers... they are downright criminals.

Gooogler

09-01-2006 22:22:34

[quotee029d19f72="h3x"]oh well, at least I tried to get you guys interested in the phone system even fractionally..

i'll get some people interested in phreaking..

take a listen to these mp3s to understand the life of a phreak (from a legend's standpoint.. Evan Doorbell)

http//www.wideweb.com/phonetrips/HowBPhreak1.ram[]http//www.wideweb.com/phonetrips/HowBPhreak1.ram
http//www.wideweb.com/phonetrips/HowBPhreak2.ram[]http//www.wideweb.com/phonetrips/HowBPhreak2.ram
http//www.wideweb.com/phonetrips/HowBPhreak3.ram[]http//www.wideweb.com/phonetrips/HowBPhreak3.ram

I will keep writing articles relevant to the phone system and phreaking.. I'll just take it easy on you next time 8)[/quotee029d19f72]

Hey, this phone system you speak of sounds interesting. But that huge chunk of text is intimidating. shock

h3x

09-01-2006 22:26:53

You'll find the phone system very interesting if you actually take the time to learn how it works..

For example.. Heres a couple numbers that I just found (from a quick exchange scan I perfomed 2 minutes ago) that caught my attention.. I've labeled the numbers explaining what it is

(425) 454-0020 [Milliwatt]

(866) 537-2669 [Its an error message, but afterwards it produces a dialtone???]

Fugger

10-01-2006 07:58:05

Kudos to you. I've always been in love with the way telco's work but never really took the time to get real deep into it. I'll eventually sit down and play with asterisk but I just don't find myself with the time between school and work.

For those of you who are at least semi-interested in what this is but hate reading and like watching videos systm.org has a nice video that will put a little tear in your asterisk cherry. http//revision3.com/systm/asterisk/

h3x

10-01-2006 09:08:19

I don't like Kevin Rose. Never did, Never will.

Leo Laporte on the other hand; is god.

But if it'll help get everyone on here set up on Asterisk. I want you to watch it 8)

EatChex89

10-01-2006 09:25:57

why would we want to get set up with Asterisk?
what would someone like me do with it?

ajasax

10-01-2006 10:25:42

[quote047508c051="EatChex89"]why would we want to get set up with Asterisk?
what would someone like me do with it?[/quote047508c051]
[quote047508c051="h3x"]Now what would be the benefit of the li

- Public Conferences Have a public conference where anyone can call in and chat on your PBX. (For those in the 'phreak scene'; great examples include 'Bell's Mind' (http//bellsmind.net/, 'Phreak Phactor' http//www.phreakphactor.net/, and 'The PLA' http//phonelosers.org/).. Basically a chat line.

- Voice Mail System (VMS) Self-explainatory.

- Incoming/Outgoing calls on VoIP services (i.e. FWD, GoIAX, IAXComm, etc.)

- Get the time and weather, traffic conditions, etc. simply by dialing in your number.

- and numerous features that I could list on and on.. [/quote047508c051]

Meads

10-01-2006 11:56:12

Im curious as to what Linux distro you run?

Im currently learning linux at the minute im dual booting linux and xp i went the debain route and chose debian based Mepis Linux )

Gooogler

11-01-2006 15:28:33

[quotec22e8db791="h3x"]You'll find the phone system very interesting if you actually take the time to learn how it works..

For example.. Heres a couple numbers that I just found (from a quick exchange scan I perfomed 2 minutes ago) that caught my attention.. I've labeled the numbers explaining what it is

(425) 454-0020 [Milliwatt]

(866) 537-2669 [Its an error message, but afterwards it produces a dialtone???][/quotec22e8db791]

Lol, I like the error message.

Tholek

11-01-2006 15:50:37

It's interesting, but I don't equate phreaking to hacking. It comes off as a bit more "trainspotterish". )

h3x

12-01-2006 10:05:46

[quote2c615d84de="Meads"]Im curious as to what Linux distro you run?

Im currently learning linux at the minute im dual booting linux and xp i went the debain route and chose debian based Mepis Linux )[/quote2c615d84de]

Gentoo, of course )