Asterisk
Wednesday, December 21st, 2005 running time 47:30
Kevin Rose is joined by John Todd, a well known, leading Asterisk expert, to introduce you to the amazing VoIP (Voice over IP) world of Asterisk, the open source voip telephony toolkit. In this episode, Kevin and John take you through the installation and configuration of this powerful tool, and show how it can be used to give anyone complete control over their phone experiences, such as voice over wifi, eliminating phone costs, choosing from hundreds of VoIP providers, creating your own voicemail and menus, and numbers that follow you..just to scratch the surface.
Kevin Rose is joined by John Todd, a well known, leading Asterisk expert, to introduce you to the amazing VoIP (Voice over IP) world of Asterisk, the open source voip telephony toolkit. In this episode, Kevin and John take you through the installation and configuration of this powerful tool, and show how it can be used to give anyone complete control over their phone experiences, such as voice over wifi, eliminating phone costs, choosing from hundreds of VoIP providers, creating your own voicemail and menus, and numbers that follow you..just to scratch the surface.
What is Asterisk? Asterisk is an insanely powerful, yet easy to use, open source voip telephony toolkit (server software) that runs on virtually any platform. It allows anyone to manage VoIP services in their own home in more powerful ways than the most expensive PBX (public branch exchange). For example, it can serve as a gateway from a VoIP service to your copper phone lines, forward calls to your mobile device from wherever you are, allow you to create VoIP connections to anyone on the Internet, manage voicemail, prompts ... a virtually limitless capability depending on how far you want to take it.
Here are some helpful links mentioned in the video:
- Configuration files:
- Asterisk Home Page (Downloads and other information):
- Digium (Commercial sponsors for Asterisk and high quality card manufacturer):
- Additional Asterisk card manufacturers:
- Asterisk Wiki (perfect site for examples, help and all things Asterisk):
- John Todd's Advanced Examples Page:
- OReilly Asterisk Book, Asterisk: The Future of Telephony
- Asterisk-Friendly VoIP Service Providers:
- Asterisk Wiki List: http://www.voip-info.org/wiki/view/VOIP+Service+Providers+Residential
- Teliax: http://www.teliax.com
- VoicePulse: http://www.voicepulse.com
- Broadvoice: http://www.broadvoice.com
- Hardware Vendors:
- Sipura: http://www.sipura.com/products/spa1000.htm
- Polycom: http://www.polycom.com/products_services/0,1443,pw-34-182-12103,00.html
- Hitachi-Cable WIFI VoIP Phone: http://www.hitachi-cable.co.jp/en/hc-news/358/chapter_2-1.html
- Some Good VoIP eTailers:
- Voipsupply.com: http://www.voipsupply.com
- Wiki list of suppliers: http://www.voip-info.org/wiki/view/VOIP+sites
Highlights
open source
(
0:50, 1:27, 8:05, 0:50, 1:27, 8:05
)
operating system
(
1:55, 1:55
)
CBS
(
18:02, 18:07, 18:09, 18:11, 18:14, 18:02, 18:07, 18:09, 18:11, 18:14
)
Annie Dillard
(
32:25, 32:25
)
open source
(
0:50, 1:27, 8:05, 0:50, 1:27, 8:05
)
operating system
(
1:55, 1:55
)
CBS
(
18:02, 18:07, 18:09, 18:11, 18:14, 18:02, 18:07, 18:09, 18:11, 18:14
)
Annie Dillard
(
32:25, 32:25
)
Automatically Generated Transcript(may not be 100% accurate) ( more )
" Welcome -- unabated. And how it -- Yeah if you -- accurate and yeah and it might be. -- if it can't -- and prevalent industry trade yeah. Yeah."
" You -- a lot of other voice over IP or boy oh boy you may have heard of is the open source. VoIP telephony tool kit called asterisk. I'm doing here today with John Todd who is an active contributor to the I -- community -- these -- gonna -- thank you. So tell exactly I -- I have heard of Vonage. I've heard is sky by do you all these services but I have. -- is ass just yet. How does this -- in what can we do it."
" It sure I'm an asterisk really is different because it's not a service an asterisk isn't like a Skype or Vonage or your buying or using a service that supplied by someone else. You're actually doing those services such as voicemail on music on hold then forwarding analysts other neat stuff you're doing -- on your own server okay console asterisk is an open source implementation of all of these features that those products may give you when you're actually running yourself you control the code and you control the way things work."
" So this is something that if I had an extra computer lying around the house. I would that I use that is the Astros are sending it runs on does is -- winner of this staffers is only just I know where the links that."
" Right now what is really unix based application runs on one X and BSD. Has been for the windows but I suggest running on links first before you get here here feet went too far in any other operating system still bug -- when does that would be going when you put predicate. Tell me that they -- what we can do with this mean you shouldn't even talk about the bush not features and things like that but. What are whereas the power NASA's sure really asterisk is a toolkit and so what gives you is the ability to connect different types of telephony systems together. It will connect to -- drivers for connecting existing -- lines like you've got your house right now her alarm your old copper lines. Voice over IP phones with different protocols such as a sip. And -- 323. As well as run applications that I'll connect -- together such as conference rooms. And I think our system announcements. Database integration into your existing tools it's it's really kind of a broad set of things you can you asked and I can't do that. Now I'm not an -- and so asterisk is really that -- tool for around for telephony and its -- is really attractive to people who already. I'm build there own systems and -- are running and so it's on its current."
" I quickly and very cool so let's talk about just the basics of it first of the blade side of sanctions if I just want to place a phone call -- using ask is how. How would what are you go about setting up and how does that work."
" Okay most people initially trying to get -- working they're looking essentially increase the capacity of their home phone system. And it got they've got sent an answering machine and I'm gonna answering service and wanna can -- charged on NASA's can do -- that's kind of a first up the most people take. I'm in implementing asterisk and so what they'll gas. Is they'll get some type of device which allows them to convert their home phone line in -- voice over IP signaling typically been using the sip protocol. So you're keeping your existing copper -- that's right don't -- this service that you want to way to convert to avoid that's right so -- just get -- a couple of together that well -- starting -- you probably want to -- services such as -- occasion and and you probably also want to keep your existing -- pointed out -- do you mean your existing phone -- Clinton has some advice do you control instead -- a way to some other provider at least as you get familiar with the protocol sort of -- total meltdown you can unplug the -- right thank you don't find it. And Iraq the way you start and that's important when you live -- other people in the house and who and now let's say they're they're less pleased when she can't make phone calls and actually in the morning. Yeah so us and -- back -- to start with okay so let me get started in from a hardware is sure really to get started -- recommends. Something like this which is the down. The cipro around -- the -- 3000 spur 3000 -- I'm -- on one side. Com and it has two phone line ports on the other and these are slightly different from each other and one of these ports. Connects to your existing phone -- that comes in from your carrier you're you're. SBC or Verizon nor. Whoever your carrier has. And then the other line goes to a standard old plain old analog phone okay so what this to myself does is it converts between those two things between the analogue phone line and comes into -- house. And a standard phone set but it allows all the packets flow through these and the first so it's going through asterisk first year session was called hair pinning. All of your calls through this device into asterisk and then back down another --"
" Okay so why I think it I got -- I understand so -- be -- you're plugging in a standard phone or an inning converting it then why keep it backed out of there is an important we have -- something to talk on not a -- actually have a thought telephone he's gonna tell -- one of these new standard. The ten dollar telephones against RadioShack corner he's got your house are ready you can plug -- back in here so that's a lot of people convert their houses. Is that so essentially cut the wires that -- the house community here and plug their house -- the other forecasts and our whole house is running on this system this is what's actually providing the Donaldson for every phone home that's really cool you don't have to go and -- how -- threatening he's just just resting."
" And now you've got this magic in between the magic isn't -- asterisk and they're doing things that you can actually re route the calls not necessarily reappear in line -- you can make them go in different directions and and you can do different things -- The inbound calls well from your from your existing carriers so that's really have the power have a little device that converts to about between love and always cost access and -- a fact so being simply look next to me. -- on your carrier affects us just a foreign exchange office and that's access which is what you these devices are affects us devices in the sense refreshing sound. I'm a technology works armament nameless artists and station sorry no so that these are flourishing station devices. And they plug into a meeting that they require a dial tone on the war. You've brought a lot of equipment with you here today. In another there's some really cool things that we don't have time literally died in its -- so you can -- yeah but let's talk about some equipment and the really cool things if you really want -- out later aren't sure how what you can well I mean really because again -- a matter of magnitude you can certainly get away and career had an asterisk as far as all things -- Mister vice chairs the poly com one of them womanizer phones in the market right now. Speaker phone. It can do present so that if you is that there's another extension off hook somewhere in the house it will light up abundance and you can seems off hook. It has an XML display maximum control will display so you can display these are essentially do -- web. Integration -- this device through asterisk or four independently. And it'll draw pictures we're gonna do prematurely and you want through the interface. And this is one of the Lauren Cisco units I'm still fairly nice little less expensive I think a lot of -- of that a lot of our T shirt I had cancer versus a Cisco is really pushing -- that are in their desktop stations -- Cisco is still. Not quite completely -- capable on their internal switch systems. These phones are so capable only that's the protocol that we use with -- most. As far as -- the non commodity items like this these were great they're very they're really -- the phones come and there doesn't seem they're there they're quite broad spread so -- widespread rather -- you can you can find them used appropriately okay so this is really pushing. These phones to be connected to ask just boxes and they want and I'm from right here on out and definitely not -- to -- to best responses and amber are not call control system. Although interestingly enough asterisk some developers an asterisk have. Backwards engineered the proprietary protocols and our pastor supports that in some limited way as well -- good -- so that's the nice thing about open source is that time you can you can. Create all these different components and instant command. And there's -- one that has a business issued to prevent you from Uranus -- we're trying to integrate has many different types of channels or protocols an asterisk is possible and -- proprietary Europe and okay sort of these guys right here is sure geezer essentially reserve slightly modified versions of this -- where there are these are called analog terminal adapters aren't all these are called on terminal adapters because they've taken how -- phone line and converted into IP. This one happens to be DS it has a DSL integrated into and this is again another two line unit. A little less expensive. And this is actually get another version of the an -- long term after it's a single port version very small compact this is me down. I'm by the same company that actually does a lot of work -- asterisk on it runs slightly different protocol called acts. -- I'll be careful actually with a -- in particular this is a Cisco are a nice box but. Some of them are locked because they're used by Vonage people -- Vonage box can't actually amusing for asterisk because. Their hardware locked -- system so. Careful what you buy keep your eyes open and and I guess in reading up on yeah the different types of adapters before you before you pick one up the validity don't know Michael ovitz and links in the showed us he's that you won't get -- the -- to sell these now this I have to tell you showing you this before."
" Our business well -- sold -- I love this little -- and it looks -- itself on its this year inside her. But it's a little different."
" Sure that's a Hitachi IP 5000 and that is actually just a Wi-Fi. Chipset and let's start into a cell phone body. So right now what we did is -- turn them on here in the studio and it immediately found an access point and assertion registered. My number of Wii is on our pastors are back in the office so within the last five seconds apparent up I can make phone calls out. On our on our office PS Sony's -- my voicemail indicators and everything else."
" So you just walk around what this wherever you go and it's constantly scanning looking broad access points it find more initially let's look at -- the same time it sure who just renowned."
" Not enough on works it's it's sends beacon every. Ninety seconds to it to my ass for server saying I'm what -- IP addresses so that inbound calls and how to get back to."
" So you tell me basically when Google rolls up their free Wi-Fi and San Francisco. I can walk around this thing connect cable it would connect my masters box and then I would no longer any myself."
" That's right you -- your home phone assumption ringing on that no matter where you are we sitting as long as you're an open Wi-Fi spot it would be free and that would be correct. I bet it doesn't sound so it doesn't think this here what is -- I'm the other option for connecting. Analog devices to pure Astra servers actually you had the old fashioned Larry Marshall a card and installing this or this is a -- Jim. -- 400 card. And what this has it has daughter cars and -- their effects or affects us you know up to four ports so you can either have four. Individual phones or different phones I consistently. And networks of all of lines. In your house. And for housing for income lines these -- typically used by businesses -- how four different phone numbers they don't want to move away from their old copper infrastructure -- asterisk advanced features a look at for -- so lines so they can get all four of their -- line's ringing through. And then they converted -- into sept and in gods and their phones like this -- this spread out around the office scheduled to actually they actually want to out of the four port. Density inside the asterisk server itself. So this is against the product and give him of the folks -- along sponsorship the world coming asterisk at us."
" We'll we have so much -- coverage they would you want to build and show uses a commonality something. On the -- were in particular box right now we're -- set out. And show users how they can how easy it is to get started took a list Clara some of the stuff and died get a computer here and start building --"
" All right so it cleared all the hardware injuries are put together our asterisk box and -- the features we have put into it today."
" Sure while officials are trying to there actually pretty simple the first thing we're gonna do is look we're gonna try to get. This phone talking through this -- server to hear announcements and you're welcome message okay second stop is to get to asterisk talking to mess. I'm going through the other port talking out who our our phone -- phone line from the phone company okay. I'm in the for a third step is that we're gonna do well I'm -- systems and we do regular voicemails wells were still the email. Okay and in the last time because they're we're going to sign up for and and implement an IT SP -- and -- service writer. That will allow us terminate calls out onto the phone network and a large piece of using the Internet as our as -- delivery mechanism to get those calls to that service provider got you as well below what type hardware isn't taking -- it has started a notice. You know a lot of people who wanted to and you go buy brand new -- machine -- machine now now that's pretty much anything you can pull out a back closets or from under your desk somewhere else got dust collecting on this fine. A 3400 is typically sufficient for a home user. And and 256 megs probably overkill and -- and and a the most you know one or two gigs of of disk is -- so you can this is indeed a thirty dollars and -- flea markets special -- so what -- I know you have a computer all the components so we need I don't need -- here sure. And then we also need broadband connectivity right. So it's harmed by America actually for a second. You -- should at least have a 128 K upstream compare it is possible to use some Kodak's oversaw allow connections. But realistically I would not try as beginner and and it usually -- results so broadband has really come mandatory for words are repeated any decent quality speed. As you should look for priority has load gender and packet loss. Jitters really killer voice over IP latency is not bad Russian grammar satellite and as most people don't notice it even a couple of hundred milliseconds and black. But. Jitters big issue and make sure your provider is -- study. To between them and then some fairly common points out you know most most cable DSL routers do and a decent job of that. How much bandwidth if for making placing a single line caller we going to be using well there are different ways you can encode or transco the call in two -- bits per second. However we're using G 7-Eleven which is the most common codec and that's what's called -- quality and that is 64 kill bits per second an actual audio -- Data but when you incorporate the packet headers and everything you were something about -- between eighty and 82 tilt bits per second. Each direction from a transmit and receive excellent of the standard cable modem or DS wanted to probably have to ongoing conversation and -- tell you probably couldn't. Depends on your cable provider depends -- which restaurant and those by the time I really do it on on the -- and no problem with two channels with. G someone -- yeah if you -- I know some providers other won't charge a little bit more if you want a higher -- train him if you were willing to spend extra money. It could you have multiple lines where you have you know 56 different lines Kosher in the same box easily that's that's really if you've got the -- becomes a function of how much you want to pay some service provider to actually deliver my capacity to you. If you're running of course between two -- servers of course it's it's -- another cluster them much at all. So the last comic on broadband service writers is that if you are doing an asterisk installation -- time. And you have an opportunity you get a static IP address are losing just. -- Sounds good. Now as far as our -- figuring the show basically sort of set this up we have the machine we just have -- got him I would put a fresh installation of -- Red -- credit Red -- it was easy and the disks in my bag and running seriously for attendance like where. Pretty much and in the coming pro to -- and distributions work also work on the yesterday. And I also have a running on Mac OS on my laptop so let's convention and you can get us senate sure sure. And so we really -- get it installed and running is actually pretty trivial. You'll first need to make sure that you've got the kernel sources install if you want to do some more advanced features. So when you're installing a Linux distribution select all on me could do everything that. -- It's us exporting your CBS we're variable."
" You'll see you'll see how some -- site. CBS login password -- on CBS and do CBS update which stretches all the asterisk -- a source code is a CBS up to an asterisk. That unseating the -- directory technique. Refer to compile type make install and -- refer to install and type examples and it will also installments of sample files. Into -- asterisk which is where we're going to be editing files just a few minutes of our time. I configure this box and everything -- it's pretty easy to set up an -- is always follow the instructions that us yeah that's going using I do anything. And any moment but I configurations founder and so the next thing we're gonna do. Is there are the first thing we're gonna really -- is that we're going to try to get this device. We're gonna try to give this device and identity so they can talk to asterisk asterisk -- and August of this and I think again converts your standard analogue phone line. Now converted into U I sit and it's curious that NASA stands for session initiation -- protocol and symptoms has really been a strong protocols for us. They've been for the last four years or so has been -- speed and it's now most of the de facto standard. It's so -- is a way of signaling. Between two devices whether they want to signal was so right. -- I'm -- supports Cisco's proprietary protocol. And so there have been some unpleasant things I think you mentioned earlier than they lost it yet not -- hairless explicitly allows -- engineering to tend to help Africa compatibility and some of some interest in Google's there. And there's also with things which will a -- to connect your sound card. Two speakers as an example for rampaging there's all kinds of different channel drivers to take sound in and out of asterisk okay and the nice thing about ostracism -- small Sam wants you have. Once you've gone through one of these drivers which is what the -- icon files which is we're going to be editing here. Once you've treated the media through one of these child terrorism becomes identical all the channel formats really are treated the same way so that whether you're sending a call out of an analog port 21 of the PCI cards and dungeon cells when you're sending out through sept. Channel. No doubt plans from the configuration files in ultimate you know -- and -- treated identically matches are in essence kind of junior's position of that's a word even. Although here telephony and points within one system for him. So our right now we're gonna do is we're going to configure the sip. Channel we're going to give this super 3000 lines and I -- and it so that when it. Needs to talk to asterisk at number one knows -- ago and come. And vice versa so that we know where you're from desk we're gonna do it especially username and password. And configure some of the parameters and that tells -- first everyone I was looking into this file. It's big it's huge is -- the largest and and there are there are hundreds of options seems like don't be afraid of that because they're they're really mostly options and here you're never been in years. There are so many different piece of equipment up there and or somebody standards. There are no longer than some of them come very infrequently used to that asterisk is of course is -- presence has been collecting newsletter of these different knobs to turn the and a lot of them are has never used. So we're going to -- and look at a few of these options they're the ones are really gonna care amount and I would have probably a clear an example that kind of narrows down. These these options were dreaming looking up so for this device there's are only therefore find different things are looking at and so we're going to describe it. It's gonna call the recon this device. A -- one just pick a name out had. So the nice thing we're gonna -- describe what kind of devices this and it's called the type on the far. The type identifier. Says. -- To make it rang and so we're doing both. So the type method for that we'll both send and C calls is called friend. Don't ask me why nomenclature used asterisk again this kind of got some. And back and forth can gather there's there -- a -- Easter eggs and -- anti. And so friend is already using for the type -- okay. The next thing we're gonna be describing is the context and the context is an essentially appoint her. Which says when we receive a call went in there was an inbound call comes in from this device. Where do we send that in the call processing language in signing the extensions are comp file. We'll get to extensions are confident in just a minute -- but that does move the description of how we handle call them technical mind would -- voicemail greeting the caller we do that. It's essentials account as the programming sequence how we can call. The context is the point within that file that region and we're gonna jump to and so we can have different device is going in different places as an example in -- talk cauliflower and have these. These devices going to a contest called. Don't want this is gonna be -- subscribe distance as phone one look at and so. We want to have -- one context being called one -- call for this unit. Next thing we're gonna do is that we're gonna describe secret. -- on the secret essentially tells us. What the pass phrases that this devices can use to communicate asterisk. You want to how sometimes move authentication you know only things open -- never shared secret between us and asterisk and we're gonna. Decision made that up sexual harassment sure I'm. The next thing and there's going to be the coastline. Now host as one of really two things typically -- isn't supposed to dynamic or -- and such and I contrasts in the word dynamic. We're gonna -- into an IP address because all of this -- convincing some in an arm in our little land here but when you said it's a dynamic that allows you to. Automatically how devices -- phone home every time and it powered up. -- there's apostles called registration and want to describe a little Wi-Fi device to listen we can move around between different Wi-Fi access point -- a little -- graduate earlier every time we do every changing IP address and -- asterisk or whatever the devices that's that that this Wi-Fi phones talking to asterisk is gonna have to know what the IP address is of that Wi-Fi phone as it moves around on the network right. So every nine seconds or refinements are going inscribed. You can register back with an asterisk server. And so if we have host equals dynamic that means every time. This Wi-Fi phone registers the IP address changes and asterisk miner knows that phone is moving -- IP addresses. If for a home network I would suggest you set the ecstatically. So that you always send the calls or receive calls from the same IP address of the times aluminum the next extra security threat on and it's also a little bit easier to do bug. So you towns registration process behind us on calls and receive calls got you. The next thing we've got here is going to be DT MF mode. Teach him off my possession important because it tells. Asterisk how to interpret touchdowns -- touchdowns and this is an important here. However. There are different types of encoding for audio and we're -- amusing toll quality audio. Meaning that's as good as you can get out. But a lot of providers and a lot of Astra servers will accept only lower bandwidth -- meaning smaller amounts of Pakistan or thirty kill bits per second instead of being killed -- percent range. When you compress audio. Though if you have touch tones in the -- of touch -- garbled because you're compressing it's not -- translation -- someone has a directory you have to get through the touchstone that's right Andy compresses on the back end and it doesn't sound right it is not gonna work its gonna get the wrong -- no time at all right so there is an -- from the nineteen -- called twenty and 33 cannot describes. How -- television you move across RTP streams of just what voiceover IP uses out of -- so what happens there's when he got RC 233 when you press attention on this phone and this device here is that. And when the windows aren't squelch the audio will stop playing audio through packets streaming distraction. So then what it does is it inserts a special. Magic packets that say what passion expressed. Let's if you press the -- three you'll get RC 23:3 eastern Pakistan say. Three was press threat receiving device must know that until you read that's right so they both are to be working on RC 2033 and it receives those packets that saying hunters pressed. And -- then plays out the other side of the connection what are the other connection have to be able play the touch tone back citizenship proxy England. The touched on through that that's really important because there a couple of ways of moving touched on the ground. Are between 33 is the most common and usually the best way to do it and do all the providers are you connect up to for years you're worse what service today they don't support. This tornado I am -- I'm -- nine pound and adopt a so that's a pretty good that. Cut so that's really all we need for this particular appear that we created during this particular Symbian the recruits are organized set up and then we're gonna try to. Going to extensions are confident our first part of the test working working here. A welcome message okay. So give us tremendous long warned about substance and."
" So we've gotten the super comp file done now and we're just -- as we've configured this device the super -- To take a phone line and the lines connect to the phone. And actually we've -- on up with the X the settings in September compound. So when the web interface and mister vice and there are few settings that we sun which was essentially telling -- device with the IP address swans island the -- server. With the username was for this device released this line of this device the password. And and we also turn off some things like so that this is able to make calls not registering. Just some additional. A couple little flags said the should be in the configuration files elections which wrong line today. So now that this device is supposedly talking master is really the -- is going to be how -- we get the calls from the us. And have them do something. So -- dot com and those are now -- operating as a single entity where this is something called this a channel. Now we have to say we're we're defining context and context -- called phone wanted to work on screen. Following want to -- extremely simple contacts inside of the extensions icon file is really only got four or -- priorities. The call is being -- into this portion of the dollar plan. Now in extensions dot com -- a phone number that has been dialed he pick up this phone and you dial a number. So this platform tries to match on the number that is being -- that's how it actually processes things through their extensions dot com while okay. So we have. Socialite who has has extend equals greater than. Now after that we have what some of you may recognize as a regular expression of some sort -- released a while current system and anything that starts and underscore. News means that after that character you're expecting to find a wild card system. Capital tax stands for and number zero through nine. And period stands for any other sequence of numbers. So this right now this is extremely simple context we wanted to catch every number that was dial. And execute these. Four priorities in order and so we essential -- any number -- any number of numbers and and at least one digit long. We'll execute these four earnings at work right it's going to be an analyst regions communities informed -- and is and then if there's a hang up anywhere -- marriage -- Missouri and and actually -- and talk about them of the retain soldiers and has the answer sure it. So the first thing that happens is answer meaning that the -- for server sends back an acknowledgment using set sang I'm ready to take this call accept the call and negotiates what type of audio compression scanning and all these other things which which described the media flow over IP okay. The second thing we do is actually subtle call for two seconds we wait for two seconds and interestingly enough was a repeat happens so quickly that very often. The the chips and the analog portions of these systems don't catch up. Before the of the audience is flawless and breakthrough rights over this kind of weight around when I loved the audio find its way in both directions and actually do as we we played like a file. The file called Titi monkeys is -- comes actually include an asterisk along the moment of other really amusing sounds. I use a lot from my tester is because people like too violent and monkeys for some colossus stories about people spending hours in monkeys and one. So we've got we've got this playback -- the playback Metafile our own brother command does exactly think it -- it plays -- file can these -- some format but asterisk has almost indefinite -- person can interpret wave. -- And a whole bunch of different file format I saved -- figures are confirmation is actually working because here come over the that's right and the last thing we do after the final and complete unit hangs up the line doesn't think it doesn't hangs up so give it a try pick. Is -- right now are now used -- number and he's gonna find the exit the wild -- set right answer is don't know us dollar cellphone number dials a number that you want. It's now. There is -- some kind so it successfully successfully complete the call can monkeys now. All right so next time now we've got a dialing from this phone and hearing asterisk and where to put the other half of this equation place Ringo and -- look at PST -- line you've got your prior to try to get down to go on here so that we call in from outside the outside world. It will go in and here in an asterisk. And then after that we can start to connect them together -- an Astros Houston plant aren't so -- it -- line and rule look at opposite okay. That's we've looked at a local -- am writes Annie Dillard -- configuration on the web interface there right. So this line comes in from mine in our case comes infamous BC where is your home phone line and it's -- here -- the web interface again and configured the PS2 in line. So now we've -- this box configured so that this PS2 airline we're never gets an inbound call will automatically round that call to. The -- system. And we got millions of -- file we've added a description of the this line would -- them -- one. So that in the master server can and do something women and -- in the extensions dot com now okay so right now we have configured rerouted to other lines and extensions -- conflict. -- essentially our I'm sorry three lines that are extremely simple. And weaves sort of now also if you call and on this line you'll play back the same on your files going to try again yourself it's on my cellphone. I'm gonna call our local number here. And if it works you have it's that lets you playback when islands again and so. Connecting and now."
" Wondering."
" Are you okay Craig Barrett trade. So actually we're gonna do now we've proven that we can actually get infamous line and connects to the master server and we've proven doing -- phone to connect to the -- server. Now we're actually ready to start doing some of the neat stuff he can -- parts that are involved wires and rent and configuration mister vice they're pretty much over. So we're gonna go into extensions are confidante Karen I'm gonna come on come on some of these. The comments and additional lines here or we're gonna have to do and they're confident coming out these three lines you don't have the don't have anything that's on and on comments these lines of talk about on dialing through so. We know uncommon three more extensions and what they're doing is they're matching on. This device when we call in only on me. PS2 online is actually. Saying that it's gonna and I'll installing stringer saying it's passing them that the caller ID or not -- even dial number is going to be home phone line. So we're smashing on home phone line. And then the first attorney we're gonna do is gonna dialing. Back out on -- channel. Two this is essentially the same device but a different port. So when we describe that device has a pro one so it's a -- one ounce of heroin and we're gonna dial a number 410 seconds. And there's no answer and ten seconds then we're going to jump to the second priority which essentially sends us to question there's going to be a very generic greeting and longer be able to send your. You're reading this is really easy to set up is that all you have to do you know I was always meltdown lying there is one more thing we have to go in the voice a lot of confound and the description of the more of the line one. Voice mailbox and here we've got a it has -- one million the first your password right now the moment as 1234 -- it actually has a place for your name. That's actually used and the kind of teaching application -- what's called directory function. Then if you have a company directory. You can actually spell out someone's name of the dial -- and look through -- files from an animal dial your extension or get back in response -- extension in the -- you know -- and treasury note addressed to send me voicemail to email conversion automatically does not."
" So because they believe is the standard and -- file incident is an attachment through say mail out of the astronauts he lives right in -- in several different formats you can choose which one you might have attached and it's okay so we just had or friends you have -- lines I'm going hello and I've saved the configuration I'm going to -- asterisk and you should be able to do and so -- echoing and we should hear this phone -- Now once this phone does ring it's going to wait ten seconds we don't pick up -- aren't. I -- so. More -- ten seconds the counter hasn't quite exact. And so after. Little go to the next line which is -- that's right activate their real quick endorsement. So there now now we humans usually a message right now it's recording -- the conceit on the screen -- says format wave. And funding of the phone to phone."
" It actually will wait for a few seconds of silences. If it's unable to detect an actual. Changeable to this war actually smart enough to know that there's no left align right there goes hung on the line. Announce -- a message -- you and his senior emission reduction in earmarks that's awesome. That's me now there's also with things you -- voicemails an example it can send I hatter. Message to you with just a few bits of racial incidents you Peter. It's a totally different principles and unification. You can have there's a web interface it's actually in -- out on astrophysics chicken horseman on the web and it will delete it right from the system that's -- of course than there's and there's another application which allows you dial into the system. And retrieve your voicemail the normal way which -- to go through an application or type in your password and Richard messages into at the moment catching Nicholson about how hard is it is set up like. Multiple mailboxes are different options you want to press want to go to this mailbox -- isn't an -- sure those are called my BR and and it's actually very very easy to do and I'm BR than an asterisk on them. The is it would essentially you describe what the possible exits -- one but number people can dial while playing back oh speech message. And then you can define your programming logic with a new extensions a couple of I'm very very easy to do. You can have multiple people want to house you have five or six voice over IP phones is an example each person announcement and underline. And non based on an area might -- little brown calls independently teachers person house Americo. You know what I thought there's nothing cool things -- we didn't have time to show today. -- worsen the other things that are commonly used as racists sure now well asterisk is a tool kit sort of used for whole lot of things there are people running -- sound very very large call centers hundreds of seats. -- is being used as a Gateway to replace -- standard voice to PSE and type of things we're converting. You know I'm maybe a hundred calls and sit and turning it into pure channels. -- on primary interface channels now two different carriers and people are using ostracized voicemails terrorist replace they're very expensive. All the iron type of voicemail systems you're gonna pay. Peter 10000 dollars to upgrade your personal system asterisk is an extremely cost effective way to do that I don't with the same functionally. There's one fellow that I know that actually -- program masters to give -- math quizzes to his kids and I hope yeah and so the extent stuff Vuitton and he readies the same Fella has is whole house looked up through the and mr. home program. And now has asterisk. Total time -- garbage out uses the speaker funny essentially is using asterisk as a a voice toolkit. To notify myself under certain things or to. Playback things over intercom systems in this house -- using asterisk is that as an extension of other tools and and it works very well as a part of a much larger integrated system. You know what if I yeah I borrowed I travel a lot in -- on a road -- a laptop is -- a -- of a way to I can connect masters box. To receive phone calls -- how does that work sure. There are variety of free soft clients as what are called on -- speak except. Or kayaks isn't perfect which is gonna asterisk proprietary protocol that you can run on your laptop whether it's windows Macintosh Olympics. And they look as if they are identical to this device here sit this kind of nice is because it doesn't matter where on the network it has. It looks like a device it's able to handle or both machine and make. Telephony calls so I mean not on your laptop passenger open up your laptop and register. You could make it so that on your -- house calls will fork. So that they go to Rasul as ring this phone and -- a -- tunnel -- association and on so I have my it masters box here in San Francisco. I fly to China your laptop bar and those calls is automatically be rerouted to me that's right in Iraq as a thread and you'll be able to make calls pound on this line matter where you have to be seated. What got conferencing is -- multiple people calling into the same sure butters are conferencing application around. That's actually one of the other applications longer please Astros -- isn't justify itself where you can bridge you know 304050 people together. Do you people abuse -- from a smaller purposes but yeah you can bridge. A fire or six people together again -- the costs of some of these expensive permanent basis and I softly sisters so if you have the bandwidth at home for something like that because you're going to be producing many people isn't common to see someone. Go out and rent to nine and what's not outsource voicemail services is an example. I'm most people most businesses though London's other office because they want. They -- the -- connection goes down their desktop phones are communicating with each other. And I'm gonna depends on what you model is as far as how you've got Astra serves distributed you can also most clusters servers talking to each other. Through writing really complex and I'm real interest in protocols and they exchanged our plans so that when -- Cyrano is a phone numbers from the other one. Automatically and dynamically like very much like Alistair for the routing for such craziness so many options he could do this -- configuration files and a little confusing the we're gonna save all the -- you created today so anyone out there wants to download those. They can it's either gonna get started right they're fairly they're actually fairly. Small. And then monstrous configuration files -- Individual dimensions of these different applications -- the last thing we have to do is obviously -- a win we connect this phone to use your standard copper phone lines are -- has cost the country actually do that your end how how does that while we have two options we described we've got this line connection here. But the whole whole point -- this is to try to see if we can reduce our cost so. Or windows or this time where is it was called Atlantis peer Internet swapping service -- And they're gonna terminate the calls for us count on the public switch network threat -- much slower rate and -- potentially isn't additional flexibility. So on the service we're -- right now is called tele acts and they are they actually provide both sip and I extermination. What we're trying to -- working here in the studio and we of course front of the -- are you here quick frequently which is that sometimes -- doesn't want to be behind a Nat. I'm and so figured that than most we're here you're probably have some sort of situation like that so we're right we're trying to solve our problem -- only say that we were talking about of course like Linksys rather network address translation we're gives you an internal IP addresses kind of hard -- you know walls and going -- really don't want external drives so. -- And as you can see it's probably only about twelve or so lines you know -- asking 2000 million options never -- his must've -- so we're gonna stick with this fairly concise file. You need to -- talent hacks and then get time time for an account. They charged remnants there is great. As -- there -- other providers have you can shop around and then you can integrate some at a -- from somewhere -- if you wanted to get rid of your standard -- altogether. Is there -- way to just -- they -- by telephone of the -- I was most of these providers will not only actually terminate calls onto the public switched telephone network. But they'll sell you. I'm DOD -- directing them dial numbers. From mountain pretty much any area because that you can think -- the only the real exotic thousands exceptional think it's. Our -- Alaska phone memorable remember -- you can get a number -- and now it's usually a couple dollars extra month. So we out of this configuration now immunize next time come on now. And now we go back into extensions -- com which is where all the processing of our calls occur and we're going to essentially changed the recording where -- play back the monkeys and we're just gonna Sarah instead of sending and the -- we're gonna actually. Connected using the dial statement. The downstream and we'll solution this allows to describe another channel that we're going to link this to catch him so right here we have dial -- IX two is the protocol and then now we have our authentication token here. And then not telling -- which is the name of the -- which we've described in. The you know I actually can't file and that's pretty -- it so we can pick -- the -- regular committee shot I. -- is call myself and the she should just work grant given trying to. You can see dialing don't. Need you know. Making progress. -- Yeah yeah. Yeah okay. So now as far as how your route calls around -- there's a whole bunch of different options he's just kind of basics but you know I think most people get the basics and they're bound to be able to figure out. I connect different -- channels together how you can connect it to the conferencing and everything else if you wanted to bring multiple. Phone numbers into a single box how would you go about adding those other lines well for as an example combine implement his -- silent sign up for them. And I'll send the calls to you via whatever protocol -- like in surprise accident you can disasters around it manually that's right you can of the calls going in real life. Very cool thanks so much for creating all these files and -- take all these configuration files you've worked on today. Wheels -- modeled him on the website all of the article and let everyone download them so they don't have to. -- And there's also the other asterisk future talking book which allowing just publishers -- excellent resource for beginners nice when the animal books that -- and they they chose the starfish I'm quite appropriate. Show I don't thanks -- so much and you want any more information so we talked about they can view all the details on our website system that SY STM dot org. Hello I'm okay rose."
" Welcome -- unabated. And how it -- Yeah if you -- accurate and yeah and it might be. -- if it can't -- and prevalent industry trade yeah. Yeah."
" You -- a lot of other voice over IP or boy oh boy you may have heard of is the open source. VoIP telephony tool kit called asterisk. I'm doing here today with John Todd who is an active contributor to the I -- community -- these -- gonna -- thank you. So tell exactly I -- I have heard of Vonage. I've heard is sky by do you all these services but I have. -- is ass just yet. How does this -- in what can we do it."
" It sure I'm an asterisk really is different because it's not a service an asterisk isn't like a Skype or Vonage or your buying or using a service that supplied by someone else. You're actually doing those services such as voicemail on music on hold then forwarding analysts other neat stuff you're doing -- on your own server okay console asterisk is an open source implementation of all of these features that those products may give you when you're actually running yourself you control the code and you control the way things work."
" So this is something that if I had an extra computer lying around the house. I would that I use that is the Astros are sending it runs on does is -- winner of this staffers is only just I know where the links that."
" Right now what is really unix based application runs on one X and BSD. Has been for the windows but I suggest running on links first before you get here here feet went too far in any other operating system still bug -- when does that would be going when you put predicate. Tell me that they -- what we can do with this mean you shouldn't even talk about the bush not features and things like that but. What are whereas the power NASA's sure really asterisk is a toolkit and so what gives you is the ability to connect different types of telephony systems together. It will connect to -- drivers for connecting existing -- lines like you've got your house right now her alarm your old copper lines. Voice over IP phones with different protocols such as a sip. And -- 323. As well as run applications that I'll connect -- together such as conference rooms. And I think our system announcements. Database integration into your existing tools it's it's really kind of a broad set of things you can you asked and I can't do that. Now I'm not an -- and so asterisk is really that -- tool for around for telephony and its -- is really attractive to people who already. I'm build there own systems and -- are running and so it's on its current."
" I quickly and very cool so let's talk about just the basics of it first of the blade side of sanctions if I just want to place a phone call -- using ask is how. How would what are you go about setting up and how does that work."
" Okay most people initially trying to get -- working they're looking essentially increase the capacity of their home phone system. And it got they've got sent an answering machine and I'm gonna answering service and wanna can -- charged on NASA's can do -- that's kind of a first up the most people take. I'm in implementing asterisk and so what they'll gas. Is they'll get some type of device which allows them to convert their home phone line in -- voice over IP signaling typically been using the sip protocol. So you're keeping your existing copper -- that's right don't -- this service that you want to way to convert to avoid that's right so -- just get -- a couple of together that well -- starting -- you probably want to -- services such as -- occasion and and you probably also want to keep your existing -- pointed out -- do you mean your existing phone -- Clinton has some advice do you control instead -- a way to some other provider at least as you get familiar with the protocol sort of -- total meltdown you can unplug the -- right thank you don't find it. And Iraq the way you start and that's important when you live -- other people in the house and who and now let's say they're they're less pleased when she can't make phone calls and actually in the morning. Yeah so us and -- back -- to start with okay so let me get started in from a hardware is sure really to get started -- recommends. Something like this which is the down. The cipro around -- the -- 3000 spur 3000 -- I'm -- on one side. Com and it has two phone line ports on the other and these are slightly different from each other and one of these ports. Connects to your existing phone -- that comes in from your carrier you're you're. SBC or Verizon nor. Whoever your carrier has. And then the other line goes to a standard old plain old analog phone okay so what this to myself does is it converts between those two things between the analogue phone line and comes into -- house. And a standard phone set but it allows all the packets flow through these and the first so it's going through asterisk first year session was called hair pinning. All of your calls through this device into asterisk and then back down another --"
" Okay so why I think it I got -- I understand so -- be -- you're plugging in a standard phone or an inning converting it then why keep it backed out of there is an important we have -- something to talk on not a -- actually have a thought telephone he's gonna tell -- one of these new standard. The ten dollar telephones against RadioShack corner he's got your house are ready you can plug -- back in here so that's a lot of people convert their houses. Is that so essentially cut the wires that -- the house community here and plug their house -- the other forecasts and our whole house is running on this system this is what's actually providing the Donaldson for every phone home that's really cool you don't have to go and -- how -- threatening he's just just resting."
" And now you've got this magic in between the magic isn't -- asterisk and they're doing things that you can actually re route the calls not necessarily reappear in line -- you can make them go in different directions and and you can do different things -- The inbound calls well from your from your existing carriers so that's really have the power have a little device that converts to about between love and always cost access and -- a fact so being simply look next to me. -- on your carrier affects us just a foreign exchange office and that's access which is what you these devices are affects us devices in the sense refreshing sound. I'm a technology works armament nameless artists and station sorry no so that these are flourishing station devices. And they plug into a meeting that they require a dial tone on the war. You've brought a lot of equipment with you here today. In another there's some really cool things that we don't have time literally died in its -- so you can -- yeah but let's talk about some equipment and the really cool things if you really want -- out later aren't sure how what you can well I mean really because again -- a matter of magnitude you can certainly get away and career had an asterisk as far as all things -- Mister vice chairs the poly com one of them womanizer phones in the market right now. Speaker phone. It can do present so that if you is that there's another extension off hook somewhere in the house it will light up abundance and you can seems off hook. It has an XML display maximum control will display so you can display these are essentially do -- web. Integration -- this device through asterisk or four independently. And it'll draw pictures we're gonna do prematurely and you want through the interface. And this is one of the Lauren Cisco units I'm still fairly nice little less expensive I think a lot of -- of that a lot of our T shirt I had cancer versus a Cisco is really pushing -- that are in their desktop stations -- Cisco is still. Not quite completely -- capable on their internal switch systems. These phones are so capable only that's the protocol that we use with -- most. As far as -- the non commodity items like this these were great they're very they're really -- the phones come and there doesn't seem they're there they're quite broad spread so -- widespread rather -- you can you can find them used appropriately okay so this is really pushing. These phones to be connected to ask just boxes and they want and I'm from right here on out and definitely not -- to -- to best responses and amber are not call control system. Although interestingly enough asterisk some developers an asterisk have. Backwards engineered the proprietary protocols and our pastor supports that in some limited way as well -- good -- so that's the nice thing about open source is that time you can you can. Create all these different components and instant command. And there's -- one that has a business issued to prevent you from Uranus -- we're trying to integrate has many different types of channels or protocols an asterisk is possible and -- proprietary Europe and okay sort of these guys right here is sure geezer essentially reserve slightly modified versions of this -- where there are these are called analog terminal adapters aren't all these are called on terminal adapters because they've taken how -- phone line and converted into IP. This one happens to be DS it has a DSL integrated into and this is again another two line unit. A little less expensive. And this is actually get another version of the an -- long term after it's a single port version very small compact this is me down. I'm by the same company that actually does a lot of work -- asterisk on it runs slightly different protocol called acts. -- I'll be careful actually with a -- in particular this is a Cisco are a nice box but. Some of them are locked because they're used by Vonage people -- Vonage box can't actually amusing for asterisk because. Their hardware locked -- system so. Careful what you buy keep your eyes open and and I guess in reading up on yeah the different types of adapters before you before you pick one up the validity don't know Michael ovitz and links in the showed us he's that you won't get -- the -- to sell these now this I have to tell you showing you this before."
" Our business well -- sold -- I love this little -- and it looks -- itself on its this year inside her. But it's a little different."
" Sure that's a Hitachi IP 5000 and that is actually just a Wi-Fi. Chipset and let's start into a cell phone body. So right now what we did is -- turn them on here in the studio and it immediately found an access point and assertion registered. My number of Wii is on our pastors are back in the office so within the last five seconds apparent up I can make phone calls out. On our on our office PS Sony's -- my voicemail indicators and everything else."
" So you just walk around what this wherever you go and it's constantly scanning looking broad access points it find more initially let's look at -- the same time it sure who just renowned."
" Not enough on works it's it's sends beacon every. Ninety seconds to it to my ass for server saying I'm what -- IP addresses so that inbound calls and how to get back to."
" So you tell me basically when Google rolls up their free Wi-Fi and San Francisco. I can walk around this thing connect cable it would connect my masters box and then I would no longer any myself."
" That's right you -- your home phone assumption ringing on that no matter where you are we sitting as long as you're an open Wi-Fi spot it would be free and that would be correct. I bet it doesn't sound so it doesn't think this here what is -- I'm the other option for connecting. Analog devices to pure Astra servers actually you had the old fashioned Larry Marshall a card and installing this or this is a -- Jim. -- 400 card. And what this has it has daughter cars and -- their effects or affects us you know up to four ports so you can either have four. Individual phones or different phones I consistently. And networks of all of lines. In your house. And for housing for income lines these -- typically used by businesses -- how four different phone numbers they don't want to move away from their old copper infrastructure -- asterisk advanced features a look at for -- so lines so they can get all four of their -- line's ringing through. And then they converted -- into sept and in gods and their phones like this -- this spread out around the office scheduled to actually they actually want to out of the four port. Density inside the asterisk server itself. So this is against the product and give him of the folks -- along sponsorship the world coming asterisk at us."
" We'll we have so much -- coverage they would you want to build and show uses a commonality something. On the -- were in particular box right now we're -- set out. And show users how they can how easy it is to get started took a list Clara some of the stuff and died get a computer here and start building --"
" All right so it cleared all the hardware injuries are put together our asterisk box and -- the features we have put into it today."
" Sure while officials are trying to there actually pretty simple the first thing we're gonna do is look we're gonna try to get. This phone talking through this -- server to hear announcements and you're welcome message okay second stop is to get to asterisk talking to mess. I'm going through the other port talking out who our our phone -- phone line from the phone company okay. I'm in the for a third step is that we're gonna do well I'm -- systems and we do regular voicemails wells were still the email. Okay and in the last time because they're we're going to sign up for and and implement an IT SP -- and -- service writer. That will allow us terminate calls out onto the phone network and a large piece of using the Internet as our as -- delivery mechanism to get those calls to that service provider got you as well below what type hardware isn't taking -- it has started a notice. You know a lot of people who wanted to and you go buy brand new -- machine -- machine now now that's pretty much anything you can pull out a back closets or from under your desk somewhere else got dust collecting on this fine. A 3400 is typically sufficient for a home user. And and 256 megs probably overkill and -- and and a the most you know one or two gigs of of disk is -- so you can this is indeed a thirty dollars and -- flea markets special -- so what -- I know you have a computer all the components so we need I don't need -- here sure. And then we also need broadband connectivity right. So it's harmed by America actually for a second. You -- should at least have a 128 K upstream compare it is possible to use some Kodak's oversaw allow connections. But realistically I would not try as beginner and and it usually -- results so broadband has really come mandatory for words are repeated any decent quality speed. As you should look for priority has load gender and packet loss. Jitters really killer voice over IP latency is not bad Russian grammar satellite and as most people don't notice it even a couple of hundred milliseconds and black. But. Jitters big issue and make sure your provider is -- study. To between them and then some fairly common points out you know most most cable DSL routers do and a decent job of that. How much bandwidth if for making placing a single line caller we going to be using well there are different ways you can encode or transco the call in two -- bits per second. However we're using G 7-Eleven which is the most common codec and that's what's called -- quality and that is 64 kill bits per second an actual audio -- Data but when you incorporate the packet headers and everything you were something about -- between eighty and 82 tilt bits per second. Each direction from a transmit and receive excellent of the standard cable modem or DS wanted to probably have to ongoing conversation and -- tell you probably couldn't. Depends on your cable provider depends -- which restaurant and those by the time I really do it on on the -- and no problem with two channels with. G someone -- yeah if you -- I know some providers other won't charge a little bit more if you want a higher -- train him if you were willing to spend extra money. It could you have multiple lines where you have you know 56 different lines Kosher in the same box easily that's that's really if you've got the -- becomes a function of how much you want to pay some service provider to actually deliver my capacity to you. If you're running of course between two -- servers of course it's it's -- another cluster them much at all. So the last comic on broadband service writers is that if you are doing an asterisk installation -- time. And you have an opportunity you get a static IP address are losing just. -- Sounds good. Now as far as our -- figuring the show basically sort of set this up we have the machine we just have -- got him I would put a fresh installation of -- Red -- credit Red -- it was easy and the disks in my bag and running seriously for attendance like where. Pretty much and in the coming pro to -- and distributions work also work on the yesterday. And I also have a running on Mac OS on my laptop so let's convention and you can get us senate sure sure. And so we really -- get it installed and running is actually pretty trivial. You'll first need to make sure that you've got the kernel sources install if you want to do some more advanced features. So when you're installing a Linux distribution select all on me could do everything that. -- It's us exporting your CBS we're variable."
" You'll see you'll see how some -- site. CBS login password -- on CBS and do CBS update which stretches all the asterisk -- a source code is a CBS up to an asterisk. That unseating the -- directory technique. Refer to compile type make install and -- refer to install and type examples and it will also installments of sample files. Into -- asterisk which is where we're going to be editing files just a few minutes of our time. I configure this box and everything -- it's pretty easy to set up an -- is always follow the instructions that us yeah that's going using I do anything. And any moment but I configurations founder and so the next thing we're gonna do. Is there are the first thing we're gonna really -- is that we're going to try to get this device. We're gonna try to give this device and identity so they can talk to asterisk asterisk -- and August of this and I think again converts your standard analogue phone line. Now converted into U I sit and it's curious that NASA stands for session initiation -- protocol and symptoms has really been a strong protocols for us. They've been for the last four years or so has been -- speed and it's now most of the de facto standard. It's so -- is a way of signaling. Between two devices whether they want to signal was so right. -- I'm -- supports Cisco's proprietary protocol. And so there have been some unpleasant things I think you mentioned earlier than they lost it yet not -- hairless explicitly allows -- engineering to tend to help Africa compatibility and some of some interest in Google's there. And there's also with things which will a -- to connect your sound card. Two speakers as an example for rampaging there's all kinds of different channel drivers to take sound in and out of asterisk okay and the nice thing about ostracism -- small Sam wants you have. Once you've gone through one of these drivers which is what the -- icon files which is we're going to be editing here. Once you've treated the media through one of these child terrorism becomes identical all the channel formats really are treated the same way so that whether you're sending a call out of an analog port 21 of the PCI cards and dungeon cells when you're sending out through sept. Channel. No doubt plans from the configuration files in ultimate you know -- and -- treated identically matches are in essence kind of junior's position of that's a word even. Although here telephony and points within one system for him. So our right now we're gonna do is we're going to configure the sip. Channel we're going to give this super 3000 lines and I -- and it so that when it. Needs to talk to asterisk at number one knows -- ago and come. And vice versa so that we know where you're from desk we're gonna do it especially username and password. And configure some of the parameters and that tells -- first everyone I was looking into this file. It's big it's huge is -- the largest and and there are there are hundreds of options seems like don't be afraid of that because they're they're really mostly options and here you're never been in years. There are so many different piece of equipment up there and or somebody standards. There are no longer than some of them come very infrequently used to that asterisk is of course is -- presence has been collecting newsletter of these different knobs to turn the and a lot of them are has never used. So we're going to -- and look at a few of these options they're the ones are really gonna care amount and I would have probably a clear an example that kind of narrows down. These these options were dreaming looking up so for this device there's are only therefore find different things are looking at and so we're going to describe it. It's gonna call the recon this device. A -- one just pick a name out had. So the nice thing we're gonna -- describe what kind of devices this and it's called the type on the far. The type identifier. Says. -- To make it rang and so we're doing both. So the type method for that we'll both send and C calls is called friend. Don't ask me why nomenclature used asterisk again this kind of got some. And back and forth can gather there's there -- a -- Easter eggs and -- anti. And so friend is already using for the type -- okay. The next thing we're gonna be describing is the context and the context is an essentially appoint her. Which says when we receive a call went in there was an inbound call comes in from this device. Where do we send that in the call processing language in signing the extensions are comp file. We'll get to extensions are confident in just a minute -- but that does move the description of how we handle call them technical mind would -- voicemail greeting the caller we do that. It's essentials account as the programming sequence how we can call. The context is the point within that file that region and we're gonna jump to and so we can have different device is going in different places as an example in -- talk cauliflower and have these. These devices going to a contest called. Don't want this is gonna be -- subscribe distance as phone one look at and so. We want to have -- one context being called one -- call for this unit. Next thing we're gonna do is that we're gonna describe secret. -- on the secret essentially tells us. What the pass phrases that this devices can use to communicate asterisk. You want to how sometimes move authentication you know only things open -- never shared secret between us and asterisk and we're gonna. Decision made that up sexual harassment sure I'm. The next thing and there's going to be the coastline. Now host as one of really two things typically -- isn't supposed to dynamic or -- and such and I contrasts in the word dynamic. We're gonna -- into an IP address because all of this -- convincing some in an arm in our little land here but when you said it's a dynamic that allows you to. Automatically how devices -- phone home every time and it powered up. -- there's apostles called registration and want to describe a little Wi-Fi device to listen we can move around between different Wi-Fi access point -- a little -- graduate earlier every time we do every changing IP address and -- asterisk or whatever the devices that's that that this Wi-Fi phones talking to asterisk is gonna have to know what the IP address is of that Wi-Fi phone as it moves around on the network right. So every nine seconds or refinements are going inscribed. You can register back with an asterisk server. And so if we have host equals dynamic that means every time. This Wi-Fi phone registers the IP address changes and asterisk miner knows that phone is moving -- IP addresses. If for a home network I would suggest you set the ecstatically. So that you always send the calls or receive calls from the same IP address of the times aluminum the next extra security threat on and it's also a little bit easier to do bug. So you towns registration process behind us on calls and receive calls got you. The next thing we've got here is going to be DT MF mode. Teach him off my possession important because it tells. Asterisk how to interpret touchdowns -- touchdowns and this is an important here. However. There are different types of encoding for audio and we're -- amusing toll quality audio. Meaning that's as good as you can get out. But a lot of providers and a lot of Astra servers will accept only lower bandwidth -- meaning smaller amounts of Pakistan or thirty kill bits per second instead of being killed -- percent range. When you compress audio. Though if you have touch tones in the -- of touch -- garbled because you're compressing it's not -- translation -- someone has a directory you have to get through the touchstone that's right Andy compresses on the back end and it doesn't sound right it is not gonna work its gonna get the wrong -- no time at all right so there is an -- from the nineteen -- called twenty and 33 cannot describes. How -- television you move across RTP streams of just what voiceover IP uses out of -- so what happens there's when he got RC 233 when you press attention on this phone and this device here is that. And when the windows aren't squelch the audio will stop playing audio through packets streaming distraction. So then what it does is it inserts a special. Magic packets that say what passion expressed. Let's if you press the -- three you'll get RC 23:3 eastern Pakistan say. Three was press threat receiving device must know that until you read that's right so they both are to be working on RC 2033 and it receives those packets that saying hunters pressed. And -- then plays out the other side of the connection what are the other connection have to be able play the touch tone back citizenship proxy England. The touched on through that that's really important because there a couple of ways of moving touched on the ground. Are between 33 is the most common and usually the best way to do it and do all the providers are you connect up to for years you're worse what service today they don't support. This tornado I am -- I'm -- nine pound and adopt a so that's a pretty good that. Cut so that's really all we need for this particular appear that we created during this particular Symbian the recruits are organized set up and then we're gonna try to. Going to extensions are confident our first part of the test working working here. A welcome message okay. So give us tremendous long warned about substance and."
" So we've gotten the super comp file done now and we're just -- as we've configured this device the super -- To take a phone line and the lines connect to the phone. And actually we've -- on up with the X the settings in September compound. So when the web interface and mister vice and there are few settings that we sun which was essentially telling -- device with the IP address swans island the -- server. With the username was for this device released this line of this device the password. And and we also turn off some things like so that this is able to make calls not registering. Just some additional. A couple little flags said the should be in the configuration files elections which wrong line today. So now that this device is supposedly talking master is really the -- is going to be how -- we get the calls from the us. And have them do something. So -- dot com and those are now -- operating as a single entity where this is something called this a channel. Now we have to say we're we're defining context and context -- called phone wanted to work on screen. Following want to -- extremely simple contacts inside of the extensions icon file is really only got four or -- priorities. The call is being -- into this portion of the dollar plan. Now in extensions dot com -- a phone number that has been dialed he pick up this phone and you dial a number. So this platform tries to match on the number that is being -- that's how it actually processes things through their extensions dot com while okay. So we have. Socialite who has has extend equals greater than. Now after that we have what some of you may recognize as a regular expression of some sort -- released a while current system and anything that starts and underscore. News means that after that character you're expecting to find a wild card system. Capital tax stands for and number zero through nine. And period stands for any other sequence of numbers. So this right now this is extremely simple context we wanted to catch every number that was dial. And execute these. Four priorities in order and so we essential -- any number -- any number of numbers and and at least one digit long. We'll execute these four earnings at work right it's going to be an analyst regions communities informed -- and is and then if there's a hang up anywhere -- marriage -- Missouri and and actually -- and talk about them of the retain soldiers and has the answer sure it. So the first thing that happens is answer meaning that the -- for server sends back an acknowledgment using set sang I'm ready to take this call accept the call and negotiates what type of audio compression scanning and all these other things which which described the media flow over IP okay. The second thing we do is actually subtle call for two seconds we wait for two seconds and interestingly enough was a repeat happens so quickly that very often. The the chips and the analog portions of these systems don't catch up. Before the of the audience is flawless and breakthrough rights over this kind of weight around when I loved the audio find its way in both directions and actually do as we we played like a file. The file called Titi monkeys is -- comes actually include an asterisk along the moment of other really amusing sounds. I use a lot from my tester is because people like too violent and monkeys for some colossus stories about people spending hours in monkeys and one. So we've got we've got this playback -- the playback Metafile our own brother command does exactly think it -- it plays -- file can these -- some format but asterisk has almost indefinite -- person can interpret wave. -- And a whole bunch of different file format I saved -- figures are confirmation is actually working because here come over the that's right and the last thing we do after the final and complete unit hangs up the line doesn't think it doesn't hangs up so give it a try pick. Is -- right now are now used -- number and he's gonna find the exit the wild -- set right answer is don't know us dollar cellphone number dials a number that you want. It's now. There is -- some kind so it successfully successfully complete the call can monkeys now. All right so next time now we've got a dialing from this phone and hearing asterisk and where to put the other half of this equation place Ringo and -- look at PST -- line you've got your prior to try to get down to go on here so that we call in from outside the outside world. It will go in and here in an asterisk. And then after that we can start to connect them together -- an Astros Houston plant aren't so -- it -- line and rule look at opposite okay. That's we've looked at a local -- am writes Annie Dillard -- configuration on the web interface there right. So this line comes in from mine in our case comes infamous BC where is your home phone line and it's -- here -- the web interface again and configured the PS2 in line. So now we've -- this box configured so that this PS2 airline we're never gets an inbound call will automatically round that call to. The -- system. And we got millions of -- file we've added a description of the this line would -- them -- one. So that in the master server can and do something women and -- in the extensions dot com now okay so right now we have configured rerouted to other lines and extensions -- conflict. -- essentially our I'm sorry three lines that are extremely simple. And weaves sort of now also if you call and on this line you'll play back the same on your files going to try again yourself it's on my cellphone. I'm gonna call our local number here. And if it works you have it's that lets you playback when islands again and so. Connecting and now."
" Wondering."
" Are you okay Craig Barrett trade. So actually we're gonna do now we've proven that we can actually get infamous line and connects to the master server and we've proven doing -- phone to connect to the -- server. Now we're actually ready to start doing some of the neat stuff he can -- parts that are involved wires and rent and configuration mister vice they're pretty much over. So we're gonna go into extensions are confidante Karen I'm gonna come on come on some of these. The comments and additional lines here or we're gonna have to do and they're confident coming out these three lines you don't have the don't have anything that's on and on comments these lines of talk about on dialing through so. We know uncommon three more extensions and what they're doing is they're matching on. This device when we call in only on me. PS2 online is actually. Saying that it's gonna and I'll installing stringer saying it's passing them that the caller ID or not -- even dial number is going to be home phone line. So we're smashing on home phone line. And then the first attorney we're gonna do is gonna dialing. Back out on -- channel. Two this is essentially the same device but a different port. So when we describe that device has a pro one so it's a -- one ounce of heroin and we're gonna dial a number 410 seconds. And there's no answer and ten seconds then we're going to jump to the second priority which essentially sends us to question there's going to be a very generic greeting and longer be able to send your. You're reading this is really easy to set up is that all you have to do you know I was always meltdown lying there is one more thing we have to go in the voice a lot of confound and the description of the more of the line one. Voice mailbox and here we've got a it has -- one million the first your password right now the moment as 1234 -- it actually has a place for your name. That's actually used and the kind of teaching application -- what's called directory function. Then if you have a company directory. You can actually spell out someone's name of the dial -- and look through -- files from an animal dial your extension or get back in response -- extension in the -- you know -- and treasury note addressed to send me voicemail to email conversion automatically does not."
" So because they believe is the standard and -- file incident is an attachment through say mail out of the astronauts he lives right in -- in several different formats you can choose which one you might have attached and it's okay so we just had or friends you have -- lines I'm going hello and I've saved the configuration I'm going to -- asterisk and you should be able to do and so -- echoing and we should hear this phone -- Now once this phone does ring it's going to wait ten seconds we don't pick up -- aren't. I -- so. More -- ten seconds the counter hasn't quite exact. And so after. Little go to the next line which is -- that's right activate their real quick endorsement. So there now now we humans usually a message right now it's recording -- the conceit on the screen -- says format wave. And funding of the phone to phone."
" It actually will wait for a few seconds of silences. If it's unable to detect an actual. Changeable to this war actually smart enough to know that there's no left align right there goes hung on the line. Announce -- a message -- you and his senior emission reduction in earmarks that's awesome. That's me now there's also with things you -- voicemails an example it can send I hatter. Message to you with just a few bits of racial incidents you Peter. It's a totally different principles and unification. You can have there's a web interface it's actually in -- out on astrophysics chicken horseman on the web and it will delete it right from the system that's -- of course than there's and there's another application which allows you dial into the system. And retrieve your voicemail the normal way which -- to go through an application or type in your password and Richard messages into at the moment catching Nicholson about how hard is it is set up like. Multiple mailboxes are different options you want to press want to go to this mailbox -- isn't an -- sure those are called my BR and and it's actually very very easy to do and I'm BR than an asterisk on them. The is it would essentially you describe what the possible exits -- one but number people can dial while playing back oh speech message. And then you can define your programming logic with a new extensions a couple of I'm very very easy to do. You can have multiple people want to house you have five or six voice over IP phones is an example each person announcement and underline. And non based on an area might -- little brown calls independently teachers person house Americo. You know what I thought there's nothing cool things -- we didn't have time to show today. -- worsen the other things that are commonly used as racists sure now well asterisk is a tool kit sort of used for whole lot of things there are people running -- sound very very large call centers hundreds of seats. -- is being used as a Gateway to replace -- standard voice to PSE and type of things we're converting. You know I'm maybe a hundred calls and sit and turning it into pure channels. -- on primary interface channels now two different carriers and people are using ostracized voicemails terrorist replace they're very expensive. All the iron type of voicemail systems you're gonna pay. Peter 10000 dollars to upgrade your personal system asterisk is an extremely cost effective way to do that I don't with the same functionally. There's one fellow that I know that actually -- program masters to give -- math quizzes to his kids and I hope yeah and so the extent stuff Vuitton and he readies the same Fella has is whole house looked up through the and mr. home program. And now has asterisk. Total time -- garbage out uses the speaker funny essentially is using asterisk as a a voice toolkit. To notify myself under certain things or to. Playback things over intercom systems in this house -- using asterisk is that as an extension of other tools and and it works very well as a part of a much larger integrated system. You know what if I yeah I borrowed I travel a lot in -- on a road -- a laptop is -- a -- of a way to I can connect masters box. To receive phone calls -- how does that work sure. There are variety of free soft clients as what are called on -- speak except. Or kayaks isn't perfect which is gonna asterisk proprietary protocol that you can run on your laptop whether it's windows Macintosh Olympics. And they look as if they are identical to this device here sit this kind of nice is because it doesn't matter where on the network it has. It looks like a device it's able to handle or both machine and make. Telephony calls so I mean not on your laptop passenger open up your laptop and register. You could make it so that on your -- house calls will fork. So that they go to Rasul as ring this phone and -- a -- tunnel -- association and on so I have my it masters box here in San Francisco. I fly to China your laptop bar and those calls is automatically be rerouted to me that's right in Iraq as a thread and you'll be able to make calls pound on this line matter where you have to be seated. What got conferencing is -- multiple people calling into the same sure butters are conferencing application around. That's actually one of the other applications longer please Astros -- isn't justify itself where you can bridge you know 304050 people together. Do you people abuse -- from a smaller purposes but yeah you can bridge. A fire or six people together again -- the costs of some of these expensive permanent basis and I softly sisters so if you have the bandwidth at home for something like that because you're going to be producing many people isn't common to see someone. Go out and rent to nine and what's not outsource voicemail services is an example. I'm most people most businesses though London's other office because they want. They -- the -- connection goes down their desktop phones are communicating with each other. And I'm gonna depends on what you model is as far as how you've got Astra serves distributed you can also most clusters servers talking to each other. Through writing really complex and I'm real interest in protocols and they exchanged our plans so that when -- Cyrano is a phone numbers from the other one. Automatically and dynamically like very much like Alistair for the routing for such craziness so many options he could do this -- configuration files and a little confusing the we're gonna save all the -- you created today so anyone out there wants to download those. They can it's either gonna get started right they're fairly they're actually fairly. Small. And then monstrous configuration files -- Individual dimensions of these different applications -- the last thing we have to do is obviously -- a win we connect this phone to use your standard copper phone lines are -- has cost the country actually do that your end how how does that while we have two options we described we've got this line connection here. But the whole whole point -- this is to try to see if we can reduce our cost so. Or windows or this time where is it was called Atlantis peer Internet swapping service -- And they're gonna terminate the calls for us count on the public switch network threat -- much slower rate and -- potentially isn't additional flexibility. So on the service we're -- right now is called tele acts and they are they actually provide both sip and I extermination. What we're trying to -- working here in the studio and we of course front of the -- are you here quick frequently which is that sometimes -- doesn't want to be behind a Nat. I'm and so figured that than most we're here you're probably have some sort of situation like that so we're right we're trying to solve our problem -- only say that we were talking about of course like Linksys rather network address translation we're gives you an internal IP addresses kind of hard -- you know walls and going -- really don't want external drives so. -- And as you can see it's probably only about twelve or so lines you know -- asking 2000 million options never -- his must've -- so we're gonna stick with this fairly concise file. You need to -- talent hacks and then get time time for an account. They charged remnants there is great. As -- there -- other providers have you can shop around and then you can integrate some at a -- from somewhere -- if you wanted to get rid of your standard -- altogether. Is there -- way to just -- they -- by telephone of the -- I was most of these providers will not only actually terminate calls onto the public switched telephone network. But they'll sell you. I'm DOD -- directing them dial numbers. From mountain pretty much any area because that you can think -- the only the real exotic thousands exceptional think it's. Our -- Alaska phone memorable remember -- you can get a number -- and now it's usually a couple dollars extra month. So we out of this configuration now immunize next time come on now. And now we go back into extensions -- com which is where all the processing of our calls occur and we're going to essentially changed the recording where -- play back the monkeys and we're just gonna Sarah instead of sending and the -- we're gonna actually. Connected using the dial statement. The downstream and we'll solution this allows to describe another channel that we're going to link this to catch him so right here we have dial -- IX two is the protocol and then now we have our authentication token here. And then not telling -- which is the name of the -- which we've described in. The you know I actually can't file and that's pretty -- it so we can pick -- the -- regular committee shot I. -- is call myself and the she should just work grant given trying to. You can see dialing don't. Need you know. Making progress. -- Yeah yeah. Yeah okay. So now as far as how your route calls around -- there's a whole bunch of different options he's just kind of basics but you know I think most people get the basics and they're bound to be able to figure out. I connect different -- channels together how you can connect it to the conferencing and everything else if you wanted to bring multiple. Phone numbers into a single box how would you go about adding those other lines well for as an example combine implement his -- silent sign up for them. And I'll send the calls to you via whatever protocol -- like in surprise accident you can disasters around it manually that's right you can of the calls going in real life. Very cool thanks so much for creating all these files and -- take all these configuration files you've worked on today. Wheels -- modeled him on the website all of the article and let everyone download them so they don't have to. -- And there's also the other asterisk future talking book which allowing just publishers -- excellent resource for beginners nice when the animal books that -- and they they chose the starfish I'm quite appropriate. Show I don't thanks -- so much and you want any more information so we talked about they can view all the details on our website system that SY STM dot org. Hello I'm okay rose."









