 Hello? Hello? It'd be great if you had just a bunch of old cell phones lying around that you could make phone calls with them. Even better yet, not using a service out there. Just using the internet. Being able to talk to friends or family directly without even setting up a server. Well that's what we're going to look at today. Look at this. It's my EPC from like 12 years ago. It cost me like five, six hundred bucks. One gig of RAM, four gig solid state drive left in it. There used to be a second one for storage. But right now I'm running off an SD card. I just need a second computer that I can put up here for you to show you guys. This thing runs very slow and it gets so hot which is part of the issues with it. But today we're going to be looking at LinFone. So LinFone is a SIP application, SIP. So it's going to allow you to make phone calls through the internet or through your network. Now normally you would set up a server or use a service somewhere that's a server. But I'm going to show you today that it's very simple if you're on the same network to just directly connect to another computer without a server. There's no encryption for this so you'd want to be on a private network and stuff like that. But this is very useful. Like sometimes my daughter's in her room and we're playing a video game or something and I want to be able to voice chat with her. There's lots of ways you can do that but this is super simple. There's a GUI interface we're going to look at today. But if you guys like this topic I can show you a little bit more about it in the future. I don't know a whole lot but I know the basics of setting up a server. So connecting to clients outside of your system. And there's also a complete shell based version of LinFone to where you can make calls, receive calls, answer calls, all that good stuff right in your terminal. So let's go ahead and have a look. I'm going to be running a Debian based system here and let's go ahead and install LinFone. So again I'm using a Debian based alive system here running off a flash drive. It's anti-X which is just a lightweight Debian based distro. And I'm just going to use, wrong keyboard, sudo apt install LinFone. Enter and then type in the password. Now again I'm using apt here which is a standard package manager for Debian based systems. LinFone is going to be on pretty much all your major Linux distribution. So use whatever package manager whether it's a shell or a GUI package manager and just install LinFone. Once it's installed you can run it from the shell just by typing LinFone and hitting enter or of course you can go to your menus and select it from your applications. So I'm going to go to my menus here and on this particular one it's under applications. It's under network I believe or internet for this distribution and LinFone. And it will open up. Now the GUI opens up but it also puts an icon down in your system tray. So if I was to close this GUI it's still going to be running as a service down here. And of course you can bring that up just by clicking on it and it brings the GUI back up. So applications like this can get real advanced. Again if you have a server and it's actually hooked to a phone line you can actually make real phone calls to real cell phones or landlines through this protocol. But we're just doing network to network. So how does that work? So basically when we're in here in the application your phone number is going to be your username at your IP address. So on my desktop computer my name is MetalX1000 and my IP address on the local network is 192.168.1.155. So right here in this little bar I type in SIP colon MetalX1000 at 192.168.1.155. It will show up here and I can choose to either make a video call, make a regular call or even send text messages. So right now I'm going to click this call button and I have Lin phone running in the background on my desktop machine and when I click that button I get a phone call. So this rings and this rings and then all I have to do is on my desktop click the pickup button. And as long as you have your microphone and speaker set up properly you are now in a voice conversation. Now again there was a video option and there's also a texting option and again we're connecting directly. If you go through a server you have an option to set up encryption and you'll have logins and passwords for users but I'm just connecting directly so there's no encryption and you can see that if you look at the application there's a red lock icon that is unlocked letting you know that basically anybody on your network can be hearing what you're saying. Obviously it's not just magic they're not just everybody's going to all of a sudden hear what you're saying but if they're sniffing your network and if you're in an office environment and you have a network of phones this is running on the same protocol in fact over a decade ago where I work they got network phones and they put them on the same network as all the other computers and I was able to sniff traffic and using wire shark I was able to hear both sides of the conversation and record them as separate wave files so that's something to think about but again I'm on a closed encrypted network with my family and this is just I'm using it to connect to my daughter's room sometimes to talk to her or my son if we're playing video games but you can set up a network a server with encryption and you can also set up you know an account elsewhere such as a lin phone has a website where you can set up free a free account now you can also get a lin phone app of course for an open source for your phone is available in asteroid and you can do the same exact thing as long as you're on the same network you put in the IP address their username you know sip colon the username at the IP address and of course it puts it into your recent call history so you don't type that every time you can just go to your history also on your phone you can grant it access to your contacts and once it does that if you have a sip information for them in their contacts you can use that to contact people and of course video I can show you the video the EPC here is so slow it's very jerky so it isn't a very good demonstration of that but if you're interested in this I can definitely do more on this topic later again setting up your own server which I just know enough to get a server up and running or accessing the lin phone create an account on lin phone and getting that set up on your phone sent to me a little bit to figure that out how to do that it's not that hard although I recommend setting up your account on your computer because on the app on the phone it really wants you to enter a phone number to create an account but if you do it on your desktop or laptop you don't have to and then you can access it on your phone and also again video chat texting and once you set up a server then you can you know link to this from outside your network but you're gonna do that you may also want to look into using a service such as lin phone so real quick as an example here so when you're writing lin phone on an Android device it's gonna be running in the background as a service there's a little icon up in your system tray here that's what's called on the phone I forget but I'm gonna call myself from my desktop to my phone so I click that it comes up and it uses the ringtone that I use for my regular phone calls I can answer and then I can just talk and again we can do video and texting that way as well so a few more examples again here's my laptop here's my phone I'm going to call my phone from my desktop which is up here at a view so I call that my phone's gonna ring I'm gonna answer it so now I'm in a conversation that way now on the laptop I'm going to call my desktop and my desktop's ringing and I get this on the screen when I pick it up what's fun here if I switch my phone over speaker mode I'm on hold and it plays hold music for you which is pretty cool and of course you can do conference calling too so I'm gonna click this button up here that says start conference call there's also a start a open a conference which has a little text bubble but I'm gonna do the one with the phone just like before I put in the username at and their IP address and then I add them I redid that for my cell phone now I'll do that for the laptop that we're demoing things on and I'll have to do is click start and both my laptop and my phone are ringing I can answer here and I can answer here and now we are on a conference call you can also transfer calls and do everything that you would do you know with a stamp oh the phone call still going on okay I hung up on all three devices but yeah this is just like you know a phone you would have in an office and if you had a phone on your system you know on your network that is a SIP phone a voice over IP phone there's a good chance one that it's running Linux and it's using a SIP protocol so this is something very interesting to use it's something I've played around it within the past but haven't really gotten into and I've just been playing around with it lately so if you're interested in more of this stuff I just showed a basic overview of some of the stuff you can do with the basic GUI I hope that all made sense to you but if you are interested I can again do the same thing using just shell which is nice because it's also helpful like if my daughter is on her computer I can log in and start up Lin phone and answer it and start talking to her even if she doesn't answer even though she's just a room over and then also I can show the very basics of just getting a server up and running that's as far as I got is setting up a few accounts and logging in and then also setting up an account on Lin phone that's a free to set up an account and then you can like my kids both have cell phones that they use when we're on vacations mainly as cameras but if they're on Wi-Fi they can call me or text me which is pretty cool even though they don't have a cellular service that is using some mild phones so let me know comment below let me know it what parts of that sound interesting to you if this is something you're interested in and if a lot of people are interested in I will do some more videos on this so thanks for watching visit films by Chris calm that's Chris the K also check out my patreon page patreon.com forward slash metal x1000 if you're looking to support me and as always I just hope that you have a great day