After listening to that last presentation, I just almost want to yell, but I probably went from a Type 2 to a Type 6. What we're going to cover is we're going to teach you everything about phone systems for beginners. We're going to tell you how normal phone systems are deployed. We're going to tell you how open source phone systems are deployed, what exists. We're going to show you examples of how to script your own phone systems, how to make your own phone systems, and what they can do that other phone systems can't do. Can you see me moving this mouse cursor around up here, and is there something going on here? Yeah, I know. We're hacking this so that we have two screens because we've got a lot of information. We're making a little modification here. That's actually an old presentation. Isn't Mac OS X great? I was asleep. Last time I slept was probably about two and a half days ago. A lot of these wonderful slides you're going to see I did in Mac OS Sketch application, which I compiled in the car on the way here. Some of them aren't the highest quality, but the info is all there. Let me pull something out here, actually. I'll start at the beginning. Okay. Yeah, in the beginning, about 18, late 19th century, Bell and possibly some other people came up with this cool phone idea, basically saved the world a ton of time, made the world free for democracy. Actually, if you take one of those old piece of crap phones and plug it in the phone system today, it still works, and that was a killer hack. There have been very few improvements since then, but we're still looking. We think that open source software is probably the way it's going to happen because this has been the most patent-ridden proprietary market that software has ever seen. Let me hit it. We actually are developers on the GnuComm and Bayon projects. The GnuComm and Bayon projects are open source projects that implement application servers and a variety of other servers that you can script your own telephone systems with. We're going to show you how to do it from basic voicemail stuff to very complex systems. I'll go back to Sketch. All right. Okay, so here, assuming you were a business or an individual, your first phone system is something like an answering machine. You've got four line phones. These little slashes with fours there indicate four lines. It's hooked up in parallel with the four phones coming from the phone company. You've got a switch. Later on, maybe you get a key term, what's called a little switching device, and that's an important distinction from the answering machine. The key term is a switching device, whereas the answering machine is actually an application server. It's called an interactive voice response server. What it does is it interfaces a person to a computer. You've got an interface that's just a keypad, speaker, microphone. Anything you can interact with on a computer is interactive voice response, and that's what an answering machine is. So the key term, if you guys are into networking and you don't know about phone systems, the key term is like a mat box. Basically, it takes a few lines in, you see a few lines coming in there, and splits it out into a whole bunch of lines. And what you can do is you can, there's also the concept of hunting now, which you didn't have probably After that, you very well might end up with a computer-based phone system. And there are some cool things about having an all-in-one integrated computer-based phone system. There are some really lousy things too. Some of the cool things are, first of all, you don't have lots of pieces of equipment that may or may not work together. You don't have to use up extra resources. Connecting these two together, there are a lot of resources actually used there. The computer-based system can also interact, possibly, with your, say, your database or your website or whatever. Any questions on that so far? I mean, that's basically kind of the evolution of these types of phone systems. There's a little bit more on this. I'll show you a few more. Let's see what we got. Okay, so less often seen are systems that are based on splitting out the interface from the logic entirely. This happened in the 80s, or kind of gained favor in the 80s, because, people came out with programmable switches. They were just dumb. All they did was the switching part. They connected one port to another. You had to have a computer there that watched everything and told them everything to do. You know, connect this port to that port. Oh, you hear a ring. Pick up the line. Transfer it. Whatever. You had to tell them everything. The CTI and channel bank method is how you would do a dumb interface in your office. And the CTI and programmable switch method is how a central office would do it. How a phone company or somebody else would do it. Subtle difference in that the programmable switch is a little bit more intelligent and a lot more capable. All right. I know I've got another one. Nah. All right. So, there are a lot of different ways to create phone systems, though. And what people are doing with voice over IP now, does anybody here not know what voice over IP means? Or, probably. You guys just aren't going to. The first person who at least says he doesn't know what voice over IP means gets a shirt. All right. And it's a cool shirt, by the way. It's like this, you know, all cotton and rock shirt. So, and by the way, has anybody in here ever written a device driver? All right. Wait a minute. Wait a minute. Hey, if you've written a device driver, you can come up and grab one. I'll explain later. I only brought three of them. Sorry. I'll probably have more in John's booth downstairs. All right. So, Dan, is that computer up? Thanks. Okay. So, voice over IP is basically means you're sending voice over Internet protocol in a packet-switched manner. Internet protocol is, you know, part of the suite of protocols we use every day. Basically, sending voice over it involves having, compressing the voice, having a session protocol that understands how you set up a phone call over, you know, this packet-switched network, having, you know, compression codecs that are efficient, and all the lower layers. Generally, what people have used it for in the past is things like toll bypass. Say you want to call. Okay. And so it's a pretty straightforward process. You can send it across the country. And you don't want to pay long-distance bills or to another country. You don't want to pay long-distance bills. You can compress the voice, send it as packets over the Internet back and forth, decompress it at the other end, negotiate. The two people can talk through, say, a computer or average PC with sound card speakers. And you get an intelligible voice usually. It depends on your internet connection, of course. worse. But, Voice over IP basically is commonly used for that. You don't pay any long distance fees. So, it can be cool. Lots of other reasons it can be cool. Things like, you know, if you, if you had your, this was a phone cable and I pulled it out, you're hung up. You know, but that's not the case with Voice over IP. I didn't just, okay. So, yeah, there may be some smoke here. Lots of things aren't going to work, but we've got so many guys, it just doesn't matter. So, let me explain to you kind of an interesting, tweaky way of making a phone system that uses Voice over IP. Imagine that these are, these are little computers with connections to, this is the phone system, by the way. That's what these things are. And these are phones. You like? Okay. So, you've got these computers that are connected both to the internet and to the phone system. They've got interfaces to both. A network interface for packet data, a network interface for circuit switch data, phone lines. You have, these computers are able to gateway data from either network. They're called gateways. You generally connect, you can connect analog phones to them. That's called a station port or an FXS port. Just connect a phone right into them. Talk away. So, you can connect either over the packet switch network or the circuit switch network. You can talk to other gateways. You can get a set of cooperating gateways together. There are groups of people, us included, who have formed our own Voice over IP networks. And it's not that hard. And we're going to explain how to do that, too. I'm going to probably, I might come back to some of these. But I don't want to, I don't want to go over your head. So, I think I'm going to start with stuff that, how ready is that computer? Not ready. Okay. I'm just going to explain, then, the first demos. And then we're going to give them as soon as that computer's ready. Here's an old architecture that we had for our system. Basically, we work on the GNU projects communication subsystem. That doesn't mean a lot to most of you. But what it means to us is that we're trying to get a fully functional, complete set of software, that you can use to build your own phone systems, and we're making it part of the GNU project. There are several components. As you can see, we've got one called Bound. We finished this one. Babylon finished this. Working on that. Trashed that. Trashed that. Working on the on that. I'll cover some more stuff later, but this one here, basically all of these are daemons. They're servers that carry out a small portion of the functionality that you need to make a full range of phone systems. However, standalone, they can do quite a bit. Bayon is the one that I'm going to cover first, and that's an application server or interactive voice response server. Like I said, interactive voice response superset of tons of stuff. Voice messaging, call center type stuff, covers a lot. Any interface, are we supposed to have water? Between a human and a computer. That's interactive voice response. I'm going to cover a little bit of, okay, this is a good one. We generally stick to a three-tier interface. Architecture. Those of you who develop web apps, you have an interface language. It's called HTML. It's simple. Describe it in a small document. You can figure it out. It does one thing. It describes the interface to the end user, to the client. Then you have a logic layer. That's what your application servers do. Maybe your Perl scripts or your CGI. If you program using those, then in the back, you've got your data. There's three tiers, clean separation. We like it. Very nice. There are a lot of servers that operate the same way. Apache operates this way. Bayon operates this way. That's the IVR server. We have a little interface language. It's stuff like play a prompt, record a prompt, listen for the guy to press some digits. These are how he's interfacing to it. Okay. First, casually, the laptop. You can't see all the spackles, though. Okay. We also are able to execute application logic with Bayon, just like CGI's. We call it TGI. Basically, it's the same thing. Let's go here. We call it TGI. Basically, the same thing. Let's go here. We've got to start giving some of this stuff away. Who understood what three-tier meant? Who's ever written a Bayon application? That's too many people. You do not count. Oh, wow. That's a bummer. Okay. Who wants to write a Bayon application? Okay. You look kind of evil, so I'm going to give you the horns. What did we have? No one? I think we have a TGI. Am I good? TGI is just like CGI. It's basically, pass information via environment variables. Pretty simple stuff. What you do is your application comes to a point where it decides I need to take some information from the user. Like say, I'm going to have digits pressed on the keypad. And I'd like to pass that to, say, a Perl script. It takes them via TGI, passes them through environment variables. There's a little Perl module just like with your three-tier web application to broker that. So, there's some other application servers that Bayon is supposed to work with. We're also trying to get this to work with the GNU Enterprise project. They have an application server as well. Basically, what that does is it takes form interfaces that are business forms, like shipping, receiving, accounting, those kinds of guys, three-tiered. The back end, they do some logic when you fill out your form. Product gets shipped. Lots of stuff we can integrate with them. I'll cover a little bit of that later. Go back to these sketches. What's up? Okay. So, here's one application. We started naming all this stuff, you know, with acronyms, you know, like TOC and PSCT and stuff like that. But it was impossible to find new acronyms, so we're calling it, naming them after donuts. And this one's called Super Donut because it's a totally killer application. It's a really good example of CTI. Unfortunately, we're not going to be able to do that. We're not going to be able to do that as a demo because the machine that we had Interchange running on is not here. And we'll probably demo it later in the showroom floor. What this does is it allows you to purchase applications, or rather, purchase goods, track goods, do everything you could do with a shopping cart over the phone. Now, granted, you wouldn't want to do a whole lot of that over the phone. But you would want to do a little bit. You'd want to track the goods. You would want to buy, like, movie tickets and pizza and things that you buy when you're on the road. If your internet was down and you had to get something, you'd still want to get it. And so, you'd be able to, you know, go through a menu, pick items out of a list, buy things. This is just, you know, a pretty good example. It's Interchange and Bayonne, again, actually, basically, those aren't on the same level. Apache and Bayonne are on the same level. Cooperating together, sharing the same data. We use the same backend that Interchange uses. Yeah. Okay. Interchange is a, this is going to be interesting. Interchange is... I just gave away a screwdriver. Oh, really? Okay. Interchange is a shopping cart, just so you know. So, what I'm talking about, buying things on the web, being able to do transaction completion on the phone, et cetera. That wasn't one of mine, was it? Okay. So, that's going to be a challenge. Okay. I'm about to show you a demo of Bayonne. Unfortunately, I'm not going to be able to see it, which stinks. Can we use this box to, so that I can see it, too? No. No box. No. Okay. We don't have a switch. Can you... We can switch them. Yeah. Back and forth. Okay. We'll just switch them. Yeah. Well, actually, I think you can go to the application up here and display it now. Yeah. Do you have, like, a . No. No. No. Just the text file, so you can go forward. This is going to be a little crudgy, but I'm going to show you the first apps over here. Jason's will be less crudgy. What's that? What do we have to give this guy? Spark. Oh, yeah. We've got a Spark for you with HPEX and... Is this yours? Or is this a... No. It's DEFCON's. DEFCON's stack. DEFCON's stack? Oh, okay. Are we actually allowed to give this guy? Yeah, that's what you tell us to do. All right. All right. Well, now, the next person who saves our ass gets this. It's pretty cool. I mean, we've got HPEX 11, some Microsoft... Right. We've got cookies. We actually have others. How about this? Can we give this one? All right. Let me see what's going on here. That. That. That is a very phallic box. That's the biggest box here, probably. Yeah. Dude, these are just... This is a minefield. I mean... I'll do parts for you. All right. Dan, you're going to have to be my table slave. You're twisted again. I'm not. Yeah. All right. You can take this. Can you switch cables? All right. So, what is it you're going to do... Thanks. Yeah. Just a second. So, what I'm going to show you in a minute is a couple of things. Basically, I'm going to run through a Bayon application with you. And I'll show you CC script first, which is the interface language. Okay. Okay, well in a minute. I know. Switch. This is a buggy hack, but okay, so what you've got here is CC script, and that's our interface language to Bayonne, which is a phone application server. What we're trying to do here is allow you to very quickly, if you have any questions, with a small amount of code, design an interface to a phone system and express that. There are a lot of other ways to do it. What this does here is it has commands like set variables, clear variables. You can do that. You have the concepts of variables. You also have the concepts of digit traps, where you see the caret. That's trapping a digit, so probably it's down here. So digit traps. Basically, on a trap digit, you execute the code after the trap. That's it. Then what you have are other things you can do, like you can execute pull scripts with the data that you've collected. You can collect data. Jason, am I on a collection? Does anyone have a laser pointer? All right. Yeah, that's very hard. So you can do things like play files, play audio files, record audio files with this. You just have to type. What's that? Oh, yeah. Maybe I can. Hold it. Hold it. Pull it through. Holy cow. We're at 24 minutes. This is rad. This is rad. Okay, so you can set variables. This sets this variable to this variable. Basically, you're assigning this variable to this variable. This session variables are one type, and then all of the variables are of another type. Session variables are variables that are valid throughout the session and get changed by Bayon. For instance, this contains all the digits that Bayon has collected since the session variables have been cleared. So the question is, can you pass it to other functions? Yes, you can. You can actually have subroutines. Session digits are valid throughout the session. So this here is actually a login script, and I made a couple of different login scripts. This one is basically we've collected some digits from the user. We had a collection. We have a collect function up here, and we have a deterministic way that actually looks in a little database. This is a lib exec call. It's just like a CGI call. This is the name of the script that it's calling. Then we have a randomish method, which actually what this does is it looks at the bottom of a file of passwords that were generated, one-time passwords. There's a little Perl script to generate 100 of them. It gets the last one and then deletes it. Basically, when you log into the voicemail system, you'll only use one password once. Usually what you'll do is you'll print out 100 one-time passwords onto a business card, and then you'll cross them off as you use them. They'll be deleted, and they won't exist anymore. That's actually a little bit... I figured this would be kind of cool for here, because it's... I've been doing this for a while. I love security nature. People couldn't go in and poke around and delete your files if they were sitting outside with a lineman's phone or something when you type your password in. That's kind of cool. What I'll probably do is I'll just show you Bayon running in trace mode. I'll show it. Go through here. We have a debug mode for Bayon if we don't get blown away. We'll show you basically all of these script steps executing. You actually... It's pretty cool developing with this, because you don't actually have to start and stop the server to change this stuff. It's just like... It's almost like HTML. You can just type one command to the server, and the server will then recompile all of this stuff internally, all of its scripts. Real time, the application will change as you've defined it. It won't change, of course, until the next caller picks up on a port. A port, by the way, is roughly equivalent to a little phone socket in the back of a computer. Let me put it in trace mode and see if that helps. Excellent. We're good. All right. All right. All right. All right. All right. All right. All right. All right. So if I call into this system here, it's a basic voicemail system. I'm just going to show you the hack that I just did. Here goes. I'm calling through a little separate switching box here. I could explain that later, but it's not very interesting. So it explains that it's ringing, it's probably... It's asking me to do something. I'm going to. Oh, okay. It just asked me to enter my password. I'll load it to the mic next time. So that's an invalid password. So it didn't like that. But I will show you now a valid password that I'll get out of the one time password file. This is the little PL script that Bayon Ms. is gonna call to get the value out of the password file. And I'll show you a password case that I'll have to go into in a matter password file to. And you'll understand the script a little better. So that's just it. There's just a bunch of numbers about. What's that last number, Jason? 6970. Okay, 6970. So let's go ahead and look at that Pulse script one more time. Yeah. Okay, so the Pulse script basically has to get a value from the CC script, the interface script that I just showed you. It gets a value where it's not debugged, so it gets it there, the TGI query. And then it goes ahead and chops it off, the last line off, returns it, and then goes ahead and sets the value back with the TGI set. And that's it. That's basically a TGI script. So 6970, I think that's it. I can't hear that. Okay. Thank you for calling Open Source Telecom. Please enter your password. You have entered an invalid value. Please enter your password. Oh. That hurts. 845, 0. 845, 0. That one's deleted now, dude. Oh, wait. What's that? Oh, never mind. I was just going to hold it while you entered the passcode. Okay. Okay. Anyway, so this is basically the way that it works. We didn't enter the right number. The other interesting things that you could do with this voicemail system that you wouldn't do with other voicemail systems easily is, you know, say, have your voicemail emailed to you so you didn't actually have to use a phone. You know, you could check them on the web or online. I actually did write a little script like that. Let's see. Okay. Okay. So this is a, actually this is a way over-complicated. I did write this for this, well, I wrote it for somebody else, but what this does is it just checks a directory and sees if any files have changed, and if they have, it just emails you links to the new ones. And that's really all you need to do. You don't need to touch your voicemail application or anything. You know, it's simple, it's useful for other things, and, you know, you can do that. You can do kind of clean hacks like this if you have a powerful system. By the way, the Bayon is used commercially by, you know, lots of big companies. We're doing the Enterprise Call Center for Sun with it. There's just a, it's a robust, mature app. Okay, so. What kind of hardware do you use? What kind of hardware? Okay. Very good question. There are a lot of different vendors of, let me see if I have some. Okay, I don't. The, there are a lot of different vendors of computers for lefting cards out there. Very few of them actually have open source drivers, which is kind of bad, because usually what happens is a kernel will rev and your driver will no longer load or you just, you just can't use a newer kernel or something and it stinks. But it's livable. You can deal with it. Intel Dialogic has a full line of cards that you can use with, use on Linux. Linux only, Voicetronics is a company, an Australian company that you can use. They make a line of analog cards, basically. They'll do call logging. They'll do voice response. You can implement a PBX with it. With their stuff. They've got some pretty cool stuff. And Quicknet is another company. We're going to show you a Quicknet card. We actually have a Voicetronics card in here doing this message block. And, and, card in here. Doing this, a message block. So we can call it if you want to do this, demo. And then we've got a QuickNet card in there. We're going to show you a voiceover IP demo with that. And QuickNet makes some single-port, low-density cards that are designed for, you know, Soho-type environments or just, you know, personal use. They can be used in gateways. You can throw one or two of these QuickNet cards into a gateway. They do hardware compression and echo cancellation, so it makes your voice—basically, it can improve the quality of your voiceover IP call. Where are we at? Okay. It's not too bad. What's that? Okay. Let me do some terminology. You don't know what a codec is? A codec—yeah, okay. I know. The question is, will your codecs scale automatically on the fly if your traffic gets heavy? And the answer is generally no. What will happen is they—codecs usually have a rated at a certain amount of bandwidth. They're usually named ITU names, like G711, you know, G723. A lot of them are proprietary, and even if you reverse-engineered them, you couldn't use them. A lot of the really good ones—and it's really sad that a lot of the good ones that do voiceover IP codecs are proprietary. You would just have to license them. It would be illegal to use them even if you reverse-engineered them. But most of these cards—companies that make these cards are specifically designed to do voiceover IP. These guys actually license the codecs and put it in hardware on the card, so you don't have to purchase it. Also, Microsoft NetMeeting has licenses for most of the codecs in it. We're going to show you basically— A Linux box here, one of our next demos, showing a voiceover IP gateway on a Linux box and a Microsoft NetMeeting client, just to show you the interoperability. It's not—the situation isn't hopeless. There are people working on really high-quality, low-bandwidth codecs for voiceover IP use through open source. There's one called Speaks out there. Speaks, yeah. So there's quite a bit of useful stuff out there. You can also use G711 and GSM. Those are two codecs that are about cell phone quality or toll quality, and they work. They're not as nice as the other codecs. So we're a little behind on that. Do I have any questions on this stuff on a demo? How Bayon works? How the three-tiered architecture? Yes, sir? Well, basically what happens is, when you have a server like this, it's just got ports in the back. There are four ports back here. And based on the card that you buy, it's an interface card, okay? You generally will buy an interface card to either lines from the phone company, trunk sidelines, or station sidelines, which just connect straight to phones. All your voicemail systems, your answering machines, they just connect to the phone company. You. Do you have some interface cards that you can use in SS7 or just phone? No. There is an open SS7 stack. It's an out-of-band protocol. There are cards that have everything under the sun built into the card in software. Dialogic actually has this thing. Back in the day, we used to make them out of 286s. And we put a whole bunch of these dialogic cards in there, and they have this out-of-band bus, just a ribbon cable going across all of the cards. And everything would be done on the cards. You name it. These days, we're doing... Actually, I'll show you another slide on this. We're doing what's called host processing. We're taking everything out of the expensive DSP cards, and we're putting it into host processing. We're implementing it all in commodity software, making the interface cards very cheap, making it possible to build inexpensive systems. You've had your hand up a long time. What about ISDN support? What's that? What about ISDN support? Yeah. Actually, the Intel cards all support ISDN primary rate. There are... Pardon? ISDN has a lot of standard features. Yes, it does. And actually, those are all supported by Intel. They've got a full ISDN primary rate stack. They work internationally. They work on the internet. They work internationally everywhere in the world. There are basic rate ISDN drivers. I don't have much experience with basic rate ISDN drivers because, frankly, it's just not viable where I live. What's that? We've used the FRITZ card. There's this cheap card called the FRITZ Cappy card. It's a Cappy driver, right? Well, it's called the FRITZ card, but it's a Cappy driver. Cappy and FRITZ. You... I'm really not a fan of the Cappy card. I don't like it. But, you know? It's a nice little digital device with very little features on it. Also, the files sharing capability is really good. Yes, it's the best device for the Internet. I've bought this from Dell. It's a nice little digital device for the Internet. I've bought this from Dell. I've bought this from Dell. But, you know? You need to have all the necessary hardware and the media necessary to do a high quality Every device you're using is always going to be high quality OS. You can use a couple of different types of hardware. You don't have to be too good at getting the right electrical components or whatever. that are all, you know, basically a cheap echo canceler has like four or five FFTs in it. It's a very complicated piece of software to write. And really good ones, you know, have a lot more. You're always going to have a lot of fairly complex software, at least, I think, in our lifetime, you know, compressing this stuff and, you know, processing the audio because you have to do it in a packet-based system. I'm going to take one from you. I'm going to take one more question from you, sir. Oh, well, I think you actually had it up longer. You in the back? Can somebody relay that? Yeah, actually, that's another thing that you can do in host processing. We actually have the VoiceTronics card does that in host processing. It's got an echo canceler that works in host processing. It's not as efficient as doing it on a desktop. It's not as efficient as doing it on a DSP, of course. Intel cards generally do all this on DSPs. They'll bridge calls. There's a simple command in Bayon CC script called join, and you just join two ports together. I can show you that. And let me actually cover a little bit more material before I turn it over to Jason because I just want to touch on a few of the questions that were asked. No, go for it. No, go for it. Small capacity systems. SS7 is not generally used in small capacity systems. It's usually an out-of-band protocol. It's used between central offices. There are a few people who are using OpenSS7. Like Lockheed uses it between their offices. I really don't know how prevalent it is, how heavily used it is, because I haven't used it. I'm working on small systems actually. Up to, say, 96 ports per box. I don't know if any of you guys saw this paper. Okay, if any of you saw this, way back in the late 80s or mid-80s, there was this paper done at SGI about graphics cards. It was called the Wheel of Reincarnation, which I'm sure a million things have been called. Does anybody have a copy of that paper? Okay. There's a tentative. You do? You actually do? Wow. Okay. I think we're supposed to give away the big computer to the woman with the biggest boobs. I didn't. That's not me. That's actually what we were told. Yeah, CON staff. And we need evidence. The IPX, however, is yours. Please email me a copy of that paper. So, the Wheel of Reincarnation basically described how you started out with these really special purpose things like DSPs. They're graphics processors. And then eventually the host processors got more powerful and you discovered that you could do a lot more with host processing. And the graphics cards became less powerful. But over time, what would happen is that people would realize that there'd be another generation of graphics chips and it'd take it away and it'd be more powerful. And people would start using high-end graphics cards. And it would cycle like this. And that's kind of what we're doing with DSPs and telephony, too. We kind of started out with doing everything in...well, actually, we started out doing everything analog. We didn't have a whole lot of digital stuff. We've gone through a cycle of digital signal processing and we're heading towards a cycle of host processing. And it's kind of an interesting thing to notice. So, other projects that I should really mention. Let me just see if I have a slide on that. Oh, really? That was rude. Okay, so other projects that I should mention are... No, that's cool. Asterisk, which is a Linux and FreeBSD compatible-based PBX-type system. Asterisk is a sort of an all-in-one server. It will do primarily switching and primarily uses the channel bank methodology currently that I described to you before where you have a computer controlling an interface that's a channel bank. It's a little different. A channel bank is a piece of equipment that you might buy from AdTran or somebody like that, whereas a computer telephony card is something you'd stick in a computer. It's not a standalone box. You get a little bit more flexibility, maybe, with a standalone computer, but it's a viable, what they're doing is a viable way of doing things, and it's a very interesting project. You can purchase switching equipment that runs Asterisk. I should also mention Vocal, which is an entire suite of voice over IP-based applications. It's actually by a company that was bought by Cisco. So they're a considerable force in open source within Cisco, and all their stuff is based on a session protocol called SIP. For a long time there was a controversy between two protocols for voice over IP. Well, not that long, but there was this controversy, and there are different camps. SIP is the more recent protocol. H323 is the older one. H323 is complex as hell. And it's an ITU protocol. SIP is really simple, ASCII-based, IETF protocol. At least it was. Now it's getting more and more complicated. So IETF stuff at least starts out kind of cool and simple, but it's not really that simple anymore. So the base out there is H323, but everybody's developing SIP stuff. We're going to show you an H323 thing because that's just what we're using. Let's see, what are... Good H323 client, Gnome-o-phone, and a Gnome meeting. Gnome meeting is basically an equivalent to Microsoft NetMe. H323, like I said, is a complex protocol. It covers everything from whiteboard to video to audio. It covers little talking heads, if you wanted to have a little talking head up here and how the mouth would move if you didn't want your face to appear. You name it. So anyway, Gnome meeting and NetMeeting support a small fraction of that stuff and are compatible. The only thing that's not compatible, and we're kind of getting back around to the same problem we mentioned before, is the default codec that NetMeeting uses is proprietary codec. So you have to set up NetMeeting to use an open codec, which the Gnome meeting people have kindly created a one-button installer for. So you download Gnome meeting, you can get that, send it to your friends at the NetMeeting, they'll be using an open codec. Still be compatible with whatever else you're using probably. How you doing? Okay, I'm going to give Jason the mic. This is Jason Spence. He's not only working on Bayonne and H323 apps, but he also works on a lot of drivers and he's working on our next switching gatekeeper, Ipswitch. Hi, I'm Jason and I'm a technical consultant with Open Source Telecom Corporation, the company that Rich and I work for. Hi, I'm Jason and I'm a technical consultant with Open Source Telecom Corporation, the company that Rich and I work for. What I have here is I have NetMeeting running on my laptop. Sorry. What I have here is I have NetMeeting running on my laptop, and NetMeeting's going to establish an H323 connection to a program named PSTN Gateway on this machine, which listens on TCP port 1720. Once this session is established, they're going to start sending UDP packets with audio data between them and, well, you'll see. ... ... ... Over here on your right, you should see PSTN Gateway calling this phone here. ... Where's my... Hold on. ... ... ... ... ... ... ... ... ... ... ... ... ... There's a lot of different hardware you can choose for doing voice over IP. A lot of it's very expensive. That's just the way the market is. People are used to paying for telephone service. The internet has a lot very different economics. People are used to getting things for free. There's a problem with the telephone industry these days in that it's become so competitive that it's no longer possible for the telephone company to provide the quality of service that we've been used to over the past 10 years. So you have issues like in San Francisco, maybe, does anybody here live in San Francisco? I'm sure you're familiar with the problems getting DSL in some of the high density areas. Okay. Well, the telephone industry has a lot of problems. The telephone company provides a connection to their network using copper. Now, this copper sometimes ends up below the water table and it gets soaked and you get a bad connection. Your DSL goes down. Your phone connections get crackly. Now, these days we have 802.11. In San Francisco, there are huge wireless networks being put up by communities and volunteers. These serve the same purpose that the phone company does. They provide a connection to the network and allow people to send data between two endpoints on the network. Now, we're starting a program called OpenTelco. OpenTelco is a community-run telephone network. It takes advantage of internet economics and inexpensive telephony hardware done by companies like Voicetronics in order to enable you to do toll bypass using H323. You can get more information about OpenTelco at, I think we might have a link on our website. I found out when we set up today that we don't have internet access up here so I can't show you on the laptop. You can get it at the Unix surplus booth tomorrow. That's right. You can get more information about OpenTelco at the Unix surplus booth tomorrow in the vendor area. I guess we're over time, but I've got a few other little things I just want to explain because I assume there are some application developers out there. Okay. All right. Okay. All right. All right. Okay, so, well, I wanted to explain the next, oh, hey, I found it, process of elimination. The next step for GNU.com is actually to allow developers of applications that have nothing to do with our telephony servers to use a simple API to develop. Basically, we have this thing called Fritter, and that's an API library that has extremely simple commands, like open device, you know, dial, play, stuff like CC script, only in an API method. You get callbacks and so forth. Then we've got a protocol that is corresponding. It's called Glazed, and the protocol can broker API commands from your application. Say it's a calendar app, and it's supposed to page people at a certain time or call them all to, you know, do a teleconference or whatever. If you have telephony resources on your box, you would just use a library like Fritter with your calendaring app to talk to, say, your voice modem or something. If you have telephony resources, say, in the next office, a big BAYONN server running your phone system, you would probably have to use Fritter and Glazed, which would protocol the API to BAYONN. That's kind of the next step. The other thing that we're kind of excited about doing is BAYONN NG, which is our next generation voice response server, has split out. Largely, it's called BAYONN NG, which is our next generation voice response server, and it's actually split out all of its drivers for the many cards that it supports, and it supports most of the cards that are supported on open source systems. And we're going to split out that as a standalone library that you can use in your applications as well, and that we can use throughout GNUcom, and we call that PhoneStreamer Junior. There was a more advanced attempt at that called PhoneStreamer that was based on GStreamer. It actually did everything, multiplexed audio and so forth. And it's a great app. But it turned out to be a little heavyweight and complex, so we're going to start out with the library. So that's the main thing. So if anyone with big tits wants this box, it stands alone. I don't know, you're going to have to show us. This is sad. We only have one, those were kind of, they were about dimes, maybe. You know, I have no idea what this is. I don't do it. That's part of it. It's just a surprise. Yeah. We'll settle for big nipples. There's a SCSI card on the back, and VGA. It's got to be worth something. That's one of the high density adapters there. Okay. So we're going to take this down to the Unix surplus booth, and you can go ahead and claim it there if you're the person with the biggest nipples today. So. I don't know. The box will be down there. You know, I hope you enjoyed the talk. I know our hacks on the video system were annoying, but hey, you know, that's what we do. So, what's that? Yeah, gnucom.org. And you should be able to get a rating from there. Let me point at it with the pointer. I hope this is, I hope I'm actually pointing at something. Am I? Gnucom, G-N-U-C-O-M-M. See that? See that little X there? Let's move around. Okay, so gnucom.org. Got it. And actually, I'm willing to take questions until they kick us out. So, who's got questions? Oh, geez, yeah. Oh, wow. All right, we've got to give you something else, man. We have a bag of Chips Ahoy here, if you'd like a cookie. So, anybody who asks a question from now on gets a Chips Ahoy. That card, if you've got a card, wait and listen to this. That card, I can buy in bulk for $5. And it's a host processing modem. It's a tiny little modem that doesn't do anything much. All it has is a line interface and a tiny little DSP that... ...will generate and detect DTMF. And, you know, it's...It will buffer audio back and forth from the phone line to the PCI bots. Now, a number of people have worked on this in the past and had some success in using it as a $5 computer telephony card. But it...Progress has really stalled on it. And frankly, I don't have the time...And you see my code. I don't have the skill to make this thing a viable alternative for any other function. And so, for hackers who want to set up a phone system that can do anything one of these more expensive cards can do for five bucks. But it would really improve the ability, or it would make developing phone applications more accessible if somebody would finish off the open source driver for that. It's been reverse engineered. Almost completely. Enough to do all the stuff we want to do. What's that? Yeah. Somebody was saying something. Yeah. That was before the DMCA. Yeah, that was before the DMCA. It wasn't me. I'm only joking. Come have a cookie and we'll talk. You. Oh, jeez, I didn't even mention those. CMU wrote a great open source . . . . . . voice recognition system and a great text-to-speech system. They're . . . what's that? They're pretty killer. Sphinx is the name, as in the Sphinx, Egypt, of the voice recognition system. And it doesn't have a big vocabulary, but it will certainly work for a lot of these applications if you just wanted to recognize numbers and a discrete set of data. Speech recognition's got a few problems. Festival is a great text-to-speech engine that's totally open source. It's got a lot of language support. The guys who wrote it actually have a company. They'll make custom voices for you for Festival. So if you want a voice that sounds just like, you know . . . Knight Rider. Knight Rider. Or . . . I was trying to get them to do Weezords of War. But the . . . . . . . . . . Yeah. . . . Max. . . . He's like, like, playing games with . . . Yeah. That kind of stuff. Alec Guinness, whatever. So, it's called Sepstrel, their company. And it's really cool. And these guys are doing some great work. They still support the open source stuff. And, yeah, there's lots of good software out there for that. . . . . . . . . . . . . . You can, but some of it is easier than other stuff. Like, they own it for voice response. We've got this system that people make write applications, you know, quick. For doing things like routers and switches, we haven't got there yet. Jason's working on one called Ipswitch. We'll probably have a prototype out, you know, real soon now. There are relatively inexpensive cards. Generally, these cards here, by the way, they cost, you know, well over $100 per port. So you buy a 12-port card, you're probably spending, you know, $100 to $200 per port, you know, maybe two grand. And some of them go way higher. Yeah? Male Speaker 3. A female. Male Speaker 3. Are we talking about the box here? Male's cap. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Male Speaker 3. Or, you know, 12 trunk lines, 12 station lines, the other way around, whatever you want. And a lot of them do work that way. That's kind of a good way to do it, to jump around. Doing it in software is really dangerous. You don't want to have the phone company, you know, send 100 volts into your station side interface usually. So, no, that's a trunk side thing. That will allow you to do, say, voice response and so forth. There's also a little tiny, Pavel Machek, we have a little tiny voice over IP client for an old version of a reverse engineered driver for that. It's pretty cool. Yeah, behind that guy. Does the web support? Yeah, sure, caller ID, yeah, Annie. Yeah, basically anything these cards support, we've probably implemented a feature for. You know, the guys with the biggest feature set are Amazon. Intel, Dialogic, and, you know, we haven't implemented all of that. But there are people working on it. Where's the laser pointer? Oh, I'm sorry, dude. Maybe it's in my pocket. I stole somebody's laser pointer. No, okay. Yeah, who else? Oh, you. You know what? The software that we're writing, we... We started on a voice modem driver and never finished it, and that is probably the biggest pain in our butt that we've just never taken care of, is finishing the voice modem driver. It's not that hard. You know, we can basically talk AT commands. There are just a few, you know, maybe a day of coding or two days of coding to finish that driver. And we get that on the mailing list all day long, so I have no idea why we haven't finished it. Sorry, dude. Oh, yeah, we gave this away, and the dude took off. Wow. I wonder if he's going to send me the document. Is the guy who won this still here? He's not going to send me the document. Does anybody else have that document from SGI about the wheel of reincarnation? No? Okay. Has anybody here ever delivered a ninja burger? Has anyone ever received a ninja burger? Okay, there. Okay. Is anyone willing to deliver a ninja egg foo young? This is a cool system. Very compact. All right. Our ninja. Come get it. All right. So. Oh. Again. Oh. All right. We've been told to shut up. So. I guess. That's it. If you guys have questions, you can ask us afterwards. Thanks, man. Thanks, man. Where's the egg? We're young, dude. Huh? Where's the egg? on a You guys, I'm in, what the fuck? It's an eye hospital.