Sie sind auf Seite 1von 15

CHAPTER 3

INSTALLATION AND CONFIGURATION

3.1 VoIP Server Configurations

With 3CX, users can build their own VoIP server. VoIP is Voice over Internet
Protocol. It is used to make calls using the TCP/IP stack. With 3CX VoIP server,
users can make calls to and from their Android phone and other IP phones locally
without any cost. This is very cost effective solution for small, medium to large
corporate offices. This chapter will show the users how to install and configure 3CX
to act as a VoIP server and makes call to and from Android phone using their own
3CXVoIP server.

3.1.1 VoIP Server Setup

Figure 3.1 Installation of Debian for 3CX


Installation of Debian for 3CX is shown in Figure 3.1. There are twenty steps to
install Debian for 3CX.

1. Download the Debian for 3CX ISO from https://www.3cx.com/phone-


system/download-links/
20

2. If users are using a hypervisor/virtualized OS set the CD option to boot from


the ISO and ensure the CD drive is set to connect on startup. If users are
installing
on a mini PC, then create a bootable image, plug it into one of the available
Mini PC’s USB ports, and set the BIOS to boot from the USB drive to start the
installation.
3. Boot users’ system with the downloaded 3CX ISO, select “Install” from the
main boot screen and press the <Enter> key.
4. Important: Users need to configure a static IP address for the 3CX host
machine. Select <Go Back> or press the ‘ESC’ key when asked for the
hostname to first set the IP address of the system and then configure the
hostname. The 3CX system’s IP address affects the running PBX services,
connected clients and IP phones. To change the IP address on a running 3CX
system, users need to reboot the machine and then re-provision the connected
apps and IP phones. If users don’t want to set a static IP address, proceed to
Step 6.

Figure 3.2 Configure Network Manually

5. Select “Configure Network Manually” and press the <Enter> key to set a
static IP address as shown in Figure 3.2. The installer will ask users to enter
the system’s static IP address and select <Continue>. Enter the network
netmask and select <Continue>. Finally, enter the name server(s) IP address
(es) and select <Continue>.
21

6. Enter a hostname for the computer so users can easily identify it on users’
network, using the characters ‘a’ to ‘z’, numbers ‘0’to ‘9’ and the ‘-’ character.
7. Enter a domain name –if this is a network, use the same domain users used on
other computers in the network, for example mycompany.com. After users
enter the machine’s domain, select <Continue> to proceed.
8. Select the language users wish to install as the default system language and
press the <Enter> key.
9. Select users’ geographical location from the location menu to update the
system location and press the <Enter> key to proceed.
10. Specify the root account password for the machine and select <Continue> to
re-enter the password for verification purposes. Finally, select <Continue> to
proceed. Note: We recommend users to set a strong password for the root user,
as this account has no restrictions!
11. Select the system time zone and press the <Enter> key to proceed.

Figure 3.3 Partition for “Guided – use entire disk”

12. Partition users’ disk, selecting “Guided – use entire disk” as shown in Figure
3.3. And press the <Enter> key to proceed.
13. Confirm users’ disk selection by pressing the <Enter> key. Note: If users are
installing on a bare metal machine, please remember that all the data on users’
disk will be erased!
14. Select the “All files in one partition” partitioning scheme and press the
<Enter> key to proceed.
22

15. Select “Finish partitioning and write changes to disk” and press the <Enter>
key to proceed to the Debian for 3CX installation.
16. Select ‘Yes’ and press the <Enter> key to confirm writing changes to the disk.
The install process can take about 5-20 minutes, depending on users’
machine’s performance. When the Debian installer finishes, the machine is
rebooted and the 3CX installation starts automatically.
17. Choose the 3CX package to install on the “3CX Update Channel” screen:
 “3CX Stable” for the stable edition of the PBX and proceed to the next
step.
 “3CX Beta” for the evaluation edition of the PBX and proceed to the
next step.
 “3CX SBC” for the Session Border Controller edition of 3CX and
follow this guide to configure the SBC.
 Select <OK> to agree to the 3CX License Agreement on
the “Configuring unattended-upgrades” screen.

Figure 3.4 Finishing of 3CX installer

18. After the 3CX installer finishes, the machine is rebooted and the 3CX
configuration starts automatically. As shown in Figure 3.4, users can run this
via a Web Browser or from the command line. Select option (1) to use a web
browser on another machine, and point users’ browser to http://<ip of
machine>:5015. Visit this guide for step by step instructions on running the
first time configuration wizard.
19. Open 3CX Web interface. Now open 3CX Web portal using URL shown after
the installation to finish the setup. Get users’ free license key from
here https://www.3cx.com/voip-ip-pbx/.
23

20. Once users get the license key as shown in Figure 3.5, paste it on License key
box and click “Next”.

Figure 3.5 License key box


Next configurations are the following five steps.

1. Configure login username and password as shown in Figure 3.6.

Figure 3.6 Login user name and password


1. Confirm users’ IP address or set new one
2. Select the type of Public IP
3. Select users’ preferred Subdomain/FQDN as shown in Figure 3.7.

Figure 3.7 Preferred Subdomain/ FQDN


24

4. Figure 3.8 shows port selection for Web services (HTTPS/HTTP) and VoIP
(SIP and Tunnel)

Figure 3.8 Port Selection

5. Select the default network adapter is shown in Figure 3.9.

Figure 3.9 Default network adapters

Wait for domain setup to complete the following four steps:


1. Select Extension Length
2. Set Admin Email
3. Select Country and Time Zone
4. And all other settings asked
3.1.2 VoIP User Extension
For user extension, users will do the following three steps.
1. Click “Add” as shown in Figure 3.10.
25

Figure 3.10 “Add” for user extension

2. Then, write extension number and name as in Figure 3.11.

Figure 3.11 Enter extension number and name

3. In Figure 3.12, click “Phones” for phone provisioning.

Figure 3.12 Enter “Phones” for phone provision

3.1.3 VoIP User Registration


There are two ways for VoIP user registration from PC and from mobile device.
26

1. User registration of 3CX phone for windows is shown as Figure 3.13.

Figure 3.13 User registration of 3CX for window

2. Users must scan QR code for their normal phones. Once the 3CX application
is installed on their phones, the users must do the following three steps:
(1) Click “Agree” as in Figure 3.14.

Figure 3.14 “Agree” for mobile device registration


27

(2) Click Scan “QR Code” as in Figure 3.15.

Figure 3.15 Scan “QR Code”

(3) The QR Code scanning is as in Figure 3.16.

Figure 3.16 Scanning QR Code

3.3 VoIP Client Configurations


After installing 3CX, start up the 3CX program. Once loaded, it will tell user
that no VoIP accounts are configured. So, the users will do the following two steps.
28

1. Click the “Create Profile” button as shown in Figure 3.17.

Figure 3.17 “Create Profile”

2. On the window that pops up, click “New” as the following Figure 3.18.

Figure 3.18 Configuration of user seven fields

Now users can configure their VoIP account. Edit the following seven fields:

1. Account name: enter a name of users’ choosing for the account


2. Caller ID: enter users’ seven digit extension number
3. Extension: enter users’ seven digit extension number
4. ID: enter users’ seven digit extension number
5. Password: enter the password for the extension
6. In “My Location: area, select “I am out of the office-external IP” and enter
“sip.gradwell.com”.
29

7. If users are behind a firewall and using a private IP tick the “Use Outbound
Proxy server” box and enter “nat.gradwell.com:5082” in the field below. Their
configuration should look something like Figure 3.19.

Figure 3.19 Successful registration

8. Click “OK” when users are finished, and then “OK” again. Their account is
now registered successful.

3.3.1 Network Setup

VoIP quality can easily denigrate if network conditions are not suited for voice
(VoIP). For this reason it is best to follow some good basic network design when it
comes to users’ LAN (Local Network Area). The following Figure 3.20 can work
well for a stable VoIP deployment, whether at home or with users’ small business

Figure 3.20 Network Setup


30

3.3.2 VoIP Phone and Client Setup


For phone, the following steps must be done to setup 3CX.
1. In Figure 3.21, click “Continue Installing”.

Figure 3.21 “Continue Installation”

2. Click “Next” for softphone installation of mobile device as shown in


Figure 3.22.

Figure 3.22 “Next” for softphone installation


3. Then, click “Next” as shown in Figure 3.23.

Figure 3.23 “Next” for softphone installation


31

4. And then, click “Install” as shown in the following Figure 3.24.

Figure 3.24 “Install” for softphone installation

5. The application is now installing as shown in Figure 3.24.

Figure 3.24 Installation of the application

6. Click “Open” or “Done” for installation as shown in Figure 3.25.

Figure 3.25 “Open” or “Done” for installation


32

VoIP client setup is as follow.


1. To install 3CX for client, click “Next” as shown in the following Figure 3.27.

Figure 3.27 “Next” for the client installation

2. And also click “Next” as in Figure 3.28.

Figure 3.28 “Next” for the client installation

3. Click “Browse” to choose the folder location as shown in Figure 3.29. And
then also click “Next”.

Figure 3.29 Choose the folder location


33

4. Then, Click “Install” as the following Figure 3.30

Figure 3.30 Installation of 3CX client

5. After installing 3CX, click “Finish” as in Figure 3.31

Figure 3.31 “Finish” for 3CX client

6. 3CX phone for window is now ready to register.

Das könnte Ihnen auch gefallen