Asterisk Tutorial 04 – Asterisk PBX Network Setup [english]

So welcome back to another episode of the VoIP guys in a bit of a change to our plan last week, when we’re on our road show, we got asked to sort of demonstrate how to do the network configurations everything I know we said we’re going to do. Adding some telephones and whatever, but we will do that as soon as core stuff yeah a cookie stuff, yeah and but I’m gon na lay a challenge down to Matthias. Now, just like you did to Christian Richter during the road show last week, and so you’ve got eight minutes to set up the DHCP server and so on and so on and so on. Time starts now go okay, challenge accepted good, sir! Here we go, we will see so um people ask us.

Okay, you configure the Esther server. Okay, you configured, I don’t know what I need. A DHCP server for my telephones and all the telephones need a time from the NTP server. So in that video we just do those things. The first thing I forgot in the last video I got a hint from a friend.

I forgot something we made a beautiful start, script yep, but what we not did was. We did not set the start. Script in place for the case of reboot, I thought okay, so we have to add this yeah. You do this with update minus RC and then we say asterisk defaults that way, and then it installs the asterisk start script all runlevels. Okay.

So that’s just one thing ever done: yeah first well done. The next thing is: we need a network where we can play with and where we can place our telephones. So we are here in a virtual machine and we have a n80 environment. So we change that. We bridge the network to our studio.

Our studio network is a little bit where we can play with. We have a switch narrator over there and so on, and we have to adapt our network settings. That’S done, it is in work interfaces and then I have to replace this static address. We want 192. 168.

100 is our studio Network 55 for something we need a net mask and of course we need a gateway. That’S that one. Oh little mistake, then we have to restart the network service. That’S too much, then we have to address see and then we just try. If the network works, the network does not work, so maybe the DNS server is not working.

We need to add one. Here’S a big fat warning, but we ignore that we use Google DNS server, so that’s it for the network environment. The next thing we need is a DHCP server. We need to adapt it. It’S per default.

This 7th, it’s called ooh DHCP server. Here it says no. We say yes and we have to configure it. We have to define a range for our telephones, 100 bla. We will never get more than 20 telephones for our test environment, hopefully, and we need to provide a dinosaur at our telephones.

This could be your internally configured DNS server, but it’s also okay. If this is googliness error, we need a gateway and then we delete the wind. So we don’t want it. We don’t want another DNS server, that’s it so we have an up and running DHCP server for our telephones that we need time you can see here. It’S the wrong time.

You can compare it to my local PC time and that time. So, in any case, it is very important to have the correct time. Yes, so on your asterisk lever, end on your phones, you’re, deploying because everybody then knows that you cannot set the clock to the right time, yep, because everybody can see it on each telephone. So we need an NTP server, it just takes the local time and provides it to our phones, but our local time is also wrong. So we stop it again.

We should say stop and then there is a cool tool which is called NTP date. Ntp date sets your local time once to a NTP source. Okay, so I trust the NTP date: poor, dot, NTP, org, that’s also in great URL. You should know yep and then it just updates and this one more time source. This will set all the time sources for every device on your network analyzer and now this just sets the local time to the right time.

Yeah and the NTP server will be installed. One step before takes the local time and provides it to all your devices cause to boot into the device is not automatically you have to configure it on your phone, ok and test the right time back. We have to start it again. Now it’s able to distribute the local time to all your phones, then we can plug in our phone up. We have a standard – some just known – I don’t know some phone to placeholder for all the phones of the world yeah, which is using IP technology in our test, set that we will one of these and we will use a soft phone.

Why a soft phone? Because it’s free yeah and for testing it’s quite a useful thing, because obviously there’s no hardware expenditure and so on. So it’s we’re going to show you how to set my not soft enough way. Then we wait a second until it boots, and then we will see if our DHCP server is working James. If you just switch back to our server now the DHCP request comes from our snow, mount, it gets.

The IP address gets all the stuff yeah and it’s booting okay, so we can do a test drive. We can try to access data IP gap with the web browser. It’S the ligh p1 t1 line. 102. 1.

9. I’M getting old; ok, it’s still booting. To give it another 30 seconds, yeah, what’s the time that time is yet 20 to 12, so I’m in time, yeah you’re just about in time. We started yeah. Okay, there we go there, we are, and now we have everything ready.

We have a phone to test. We will install another software and we will try to resist it to the asterisk server and just to get things going. Okay. Well, I have to say not bad on that. Ok putting you under pressure.

Thank you about them. Alright, that’s it for the network configurations and, as we said next time, we will do setting up all the phones and cell phones and so on. Thank so much for watching. If you need more information, please visit our website Pascal net. Just thank you for watching bye.

You May Also Like