Simple VOIP Server for home or Business
- RaviKumar Uthirapathy
- May 23, 2020
- 3 min read
This post may help for hobbyist or Beginners of Raspberry pi with simple few steps.
Materials Required,
1, Raspberry pi Board(A+ or B + or Pi2 or Pi3 or Pi4 even PiZero also enough
2. MicroSD card 8 GB Class 10
3. 5V/2Amps MicroUSB power supply for Raspberry Pi board
4. Internet Connection with Static IP or Dynamic IP
Knowledge Required.
SSH using Knowledge
Router Port forwarding
Rasbian OS installation on Raspberry pi
1. On the Raspberry Pi open up terminal or SSH to the Pi
2. First, install the mumble server onto the Raspberry Pi by typing the following:
sudo apt-get install mumble-server3. Now we need to do some basic configurations such as set up a superuser so we can connect, do this by running the following command.
sudo dpkg-reconfigure mumble-server4. This command will present you with a few options, set these however you would like mumble to operate.
Autostart: I selected Yes
High Priority: I selected Yes (This ensures Mumble will always be given top priority even when the Pi is under a lot of stress)
SuperUser: Set the password here. This account will have full control over the server.
5. You need the IP address to connect, to get this type the following:
ip addr show6. Write this number down next to inet (It will be under either eth0 or wlan0) as we will need it to connect to the server and also setup port forwarding for outside access.
Configuring the Raspberry Pi Mumble Server
Now we will probably want to set up a few things on the Mumble server such as welcome message, password (if you don’t want anyone just joining).
1. In SSH or the terminal app enter the following command:
sudo nano /etc/mumble-server.ini2. This command will open the server config in the nano text editor.
3. Everything here is pretty self-explanatory:
Find welcomeText and update to whatever you would like displayed when a user joins the channel.
Find serverpassword and update if you would like a password for users looking to join the server.
Uncomment registerserver by removing the # and replace mumble server with the name that you would like to use for the base channel.
4. You will need to restart the server for changes to take place. Enter the following command.
sudo /etc/init.d/mumble-server restartOnce the server has rebooted, you can now move onto accessing it via the mumble client.
Accessing the Mumble Server
There are a few things we will need to do to access the server, and this includes downloading the Mumble software.
1. Download & install the Mumble client from their website mumble.org. (Don’t install server)
2. Open up the program and go to Server->Connect
3. In here add the details
Label: The name that will appear in your server list.
Address: This is the IP Address we wrote down earlier.
Port: 64738 (Unless you changed it)
Username: superuser
Password: The one you set earlier using the dpkg command.
You should now be able to connect to your server.
4. Now we have it working there is a few more things you may want to configure and setup.
Setting up External Access to the Mumble Raspberry Pi Server
To set up external access, using Static IP or Dynamic IP. Choose any one as you like
1. Head to your Router admin page (This will typically be 192.168.1.1 or 192.168.254
2. Enter the username and password. Default typically is admin & admin. (You should change this if this the case)
3. In here go to forwarding->Virtual Server and then click on add new.
4. In here enter:
Service port: In this case 64738
IP Address: 192.168.1.103
Internal Port: We want this to be the same as the service so 64738
Protocol: All
Status: Enabled
5. These settings will route all traffic destined for port 64738 to the mumble server (192.168.1.103)
Check your router settings and confirm they are correct.
Check your IP hasn’t changed (Some IPs will provide you with a dynamic IP rather than a static IP)
Restart the router.
Restart the Raspberry Pi.
Comments