Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
By
Aaron Oseimobor
Unified Communications
Basics
Guy Mitchell
1
TABLE OF CONTENTS
INTRODUCTION ................................................................................................. 3
PHASE 1 ................................................................................................................ 4
PROJECT SCOPE ............................................................................................. 4
Network Cutsheet........................................................................................... 5
Cisco Router 2811 Configuration .................................................................. 6
Cisco 2960 POE Switch Configuration ......................................................... 7
Domain Controller (Dc-Ws17.7b216) Configuration .................................... 7
Exchange Server Configuration ..................................................................... 8
Asterisk Server ............................................................................................. 10
Grandstream Phone Configuration............................................................... 12
Users Email And Voicemail Test................................................................. 13
PHASE 2 .............................................................................................................. 14
PROJECT SCOPE ........................................................................................... 14
Network Cutsheet......................................................................................... 15
Hmail Server Configuration ......................................................................... 16
Asterisk Server Configuration ..................................................................... 17
Users Email And Voicemail Test................................................................. 17
SUMMARY ......................................................................................................... 18
REFERENCE....................................................................................................... 19
2
INTRODUCTION
Over the course of this project a network was built that included a mail server, a Session initiation
protocol server, VOIP phones, a domain controller and Windows client computers. The project
was carried out in 2 phases. Microsoft Exchange server was implemented for mail services in the
first phase and an Open source Mail server (HMail) was implemented for the second phase. The
Project was undertaken to demonstrate the functionality of such an integrated solution and to
identify which solution is best suited for either a SOHO or an Enterprise environment.
3
PHASE 1
PROJECT SCOPE
A network diagram showing the setup for this phase is shown below:
Figure 1
Over the course of this phase the following solutions were implemented:
A domain controller was setup. Additional roles setup on the DC are; DHCP and DNS.
An Exchange server running windows server 2019 was setup and integrated with the Domain.
An Asterisk SIP server was setup for the management of VOIP communication
Network configuration was carried out to provide Internet connectivity. 2VLANS were created
for both Voice and data traffic.
Client systems were setup and joined to the domain.
4
NETWORK CUTSHEET
A How-to-guide is given below that details the various configurations that were carried out during the setup
of this phase.
5
CISCO ROUTER 2811 CONFIGURATION
hostname Router
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 10.10.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 20.20.20.30 255.255.255.0
ip helper-address 10.10.10.5
!
interface FastEthernet0/1
ip address 172.31.132.117 255.255.240.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
ip nat inside source list FORNAT interface FastEthernet0/1 overload
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1 172.31.143.254
!
ip access-list extended FORNAT
permit ip any
Figure 2
Figure 2 above shows the NAT configuration on the cisco router
Also shown are the sub-interface configurations with the default gateways for each VLAN and to
enable Inter-VLAN routing.
6
CISCO 2960 POE SWITCH CONFIGURATION
Figure 4 (DNS)
Figure 4 shows the DNS forward lookup zone and its records of the
devices on the Domain.
7
Figure 5 (DHCP)
In figure 5 shown above two scopes were configured on the DHCP server, one for each VLAN.
DHCP options such as Router and DNS information were also configured.
Figure 5.1 shows the recipients Elliot and ET that were already created in active directory. User
information and Email address were configured as shown above.
8
Figure 6 (Mailbox Database)
Figure 6 shows the Mailbox database created during the setup of exchange. Additional mail box
databases can be created for users whose mail information may be considered sensitive and
stricter restrictions can be assigned. In the figure above one mailbox database is used for both ET
and Elliot emails.
Figure 7 shows the send connector that was configured to allow for the exchange of mails
between users on the domain. A receive connector is usually created by default as a result no
additional config is required.
9
ASTERISK SERVER
An open source Asterisk V.M was used as the SIP server over the course of the two phases of this project.
The following configurations show the configuration of the user extensions and voicemail related
information on the SIP server.
10
Figure 9 (ET Extension and voicemail config.)
Figure 9 shows ET’s extension configuration the Asterisk server.
ET’s phone extension was set 4000 and email information as well as Voicemail password were
configured in the voicemail section as seen in the figure above.
11
Figure 10 (voicemail relay config.)
Figure 10 shows the /etc/postfix/main.cf file edited and the exchange server IP added to enable
replay of user voicemail information to the exchange server and subsequent receipt by users in
their mailboxes.
The Figures below shows the configuration of the 2 SIP phones used for this project.
12
Figure 12 (ET SIP phone config)
The phone configuration shown above in figure 12 shows the IP settings for the SIP server and
extension ID of the User ET.
The figures below show the exchange web mail accounts for ET and Elliot. Mails were sent between
parties and Voicemail left behind after phone call was sent to users’ mailbox.
ET’s mailbox in Figure 13 above, shows voicemails left by Elliot and received from the SIP
server after calls placed to ET went unanswered.
13
Figure 14 (Elliot’s mailbox)
Elliot’s mailbox in Figure 14 above, shows voicemails left by ET and received from the SIP
server after calls placed to Elliot went unanswered.
PHASE 2
PROJECT SCOPE
The 2nd phase of the project involved a replacement of the Mail server used in the previous phase with an
open source mail server. The Open source mail server used during this phase is HMail. The
configurations that remain unchanged from the first phase include:
DC configuration
Network configuration
Client PC configuration
14
A network diagram showing the network setup of this phase is shown below.
Figure 15
NETWORK CUTSHEET
15
HMAIL SERVER CONFIGURATION
Hmail setup.exe was downloaded from http://hmailserver.com/download . Installation and setup were
done on a windows server O.S. The Figures below identify the configurations required to setup HMail
server for the purpose of this project.
Figure 16
Figure 16 above shows the user and domain created on the Hmail server after
installation.
Figure 17
Figure 17 above shows an IP range called LAN added to allow access for devices within the
range to the mail server.
A 3rd party client was used on client PC’s to test the functionality of the open-source server. Mail
client used in this phase was Mail bird.
16
ASTERISK SERVER CONFIGURATION
The Asterisk server postfix file was updated to reflect the change in mail server from the exchange server
to the mail server.
Figure 18
Figure 18 shows an edit of the /ect/postfix/main.cf file to reflect a change in mail server. Relay domain
was set 10.10.10.15 which is the IP address of the Hmail server.
The figures below show the client mail application (Mail Bird) for ET and Elliot. Mails were sent
between parties and Voicemail left behind after phone call was sent to users’ mailbox.
Figure 19
17
ET’s mailbox in Figure 19 above, shows a voicemail left by Elliot and received from the SIP
server after calls placed to ET went unanswered.
Figure 20
Elliot’s mailbox in Figure 20 above, shows a mail sent by ET.
SUMMARY
This project was carried out to show a basic unified communication solution. Two different email solutions
were utilized and a SIP system was setup to provide voice over IP communication. Both mail server
solutions were found to be effective in providing the resources required to support such a UC solution.
However, there were obvious difference in both of their capabilities in handling a UC solution. Based on
the number of features and its scalability in large environments, Microsoft exchange is best suited to provide,
the security, support and management needs that will be required in an enterprise environment.
SOHO’s can benefit from a UC that takes advantage of the free open-source and lightweight Mail server
(Hmail). It has an active user base and it provides the basic features needed. It is also actively supported by
its developers.
18
REFERENCE
En.wikipedia.org. (2019). Unified communications. [online] Available at:
https://en.wikipedia.org/wiki/Unified_communications [Accessed 13 Dec. 2019].
19