Implementing a campus VoIP intercom VLAN: A technology review, system requirements and architecture

Voice over the internet can be used with existing Local Area Network infrastructure within an organisation such as DIT to cut down the communication costs within the campus premises. This paper presents how can VoIP intercom be set and the requirements of the system. Voice is very important method of communication and hence is important to make it cheap and easily available. In this work, a VLAN was created in the DIT LAN then an appliance IP-PBX was installed, the phones were connected to a nearest by backbone switch. With gateway of the phones being the IP-PBX and VLAN tagging of the respective connected switch ports, the phones were able to connect to the PBX. The analysis of the system during busy hour shows that the system reliable and suitable to be used if the concurrent calls do not exceed the maximum capacity of the PBX. It is on this basis that this paper tends to critically review this new technology VoIP, x-raying the different types. It further more discusses in detail the VoIP system, VoIP protocols, and a comparison of different VoIP protocols. The compression algorithm used to save network bandwidth in VoIP, advantages of VoIP and problems associated with VoIP implementation were also critically examined. It equally discussed the trend in VoIP security and Quality of Service challenges. It concludes by reiterating the need for a cheap, reliable and affordable means of communication that would not only maximize cost but keep abreast with the global technological change.


Introduction
Voice over Internet Protocol (VoIP) is a technology that makes it possible for users to make telephone calls over the internet or intranet networks.The technology does not use the traditional Public Switched Telephone Network (PSTN); instead calls are made over an internet protocol data network.VoIP has great benefits of increased saving, high quality voice and video streaming and several other added value services.Examples of VoIP software are: Skype, Google talks and windows live messenger [1], [2].

Overview of VoIP
VoIP stand for Voice over Internet Protocol.VoIP enables us to compress and convert voice signal to digital signal and transmit it through Internet Protocol (IP)-enabled network like Internet, Ethernet and Wireless LAN [3].VoIP uses Internet protocol to manage voice packet over Internet protocol (IP) network.

 Types of VoIP Service
There are different types of VoIP based on the infrastructures employed by the owner of the network.Listed are some popular services used in VoIP.

 Computer to Computer
Computer to Computer service provides Internet telephony free using the same softphone software such as Skype, Instant Messaging, AOL etc.It is a software-based VoIP service and both the caller and the receiver must be using their computer in order to place calls.The following requirement must be met to use computer to computer VoIP service: softphone software, a sound card and good Internet service.With computer to computer VoIP service, the user may not be able to call either landline or mobile phones, and also the recipient must be online in order to call him/her.

 Computer to phone and vice versa
This is a software-based and hardware-based service.Softphone software is used to route the call to an Internet protocol and hands off to a conventional telephone network [3].To use the service, one needs to subscribe and be charged at a low rate.Examples include Skype, MSN and Google Talk that provides the service to enable their customers to call landline from their computer.Computer to phone requirements are Internet-enabled phone and computer, VoIP service subscription, modem and Analog Terminal Adapter to convert the call signal to digital signal and also back to analog signal.Computer to phone does not allow emergency call users and needs to have a computer connected to the internet.

 Phone to Phone
This is a hardware-based service that allows the caller and receiver to call each other using the Internet.Many telephone companies use this to handle long distance calls.VoIP convert the audio sound into data packets and transfer these packets over the Internet.It allows emergence calls and does not need PSTN for initiation and termination of calls.

VoIP system architecture
Voice over Internet Protocol (VoIP) system is made up of End User Equipment, Network component, call processor, Gateway and Server.The End User Equipment is the part mainly used to access the VoIP system and communicates with other End point [3].End User equipment initiate and maintain the signals needed to establish calls over the IP network.It also helps to convert voice to data packet, voice and video communication, monitoring and network surveillance capability.They are connected to the network with cable and maybe wireless devices.Examples of end user equipment are IP-enabled phones, multimedia computers and VoIP enabled workstations installed with softphone.The Network Component includes routers, switches, cables, firewalls and wireless access point.There are many existing institution's Internet Protocol networks that will enable the installation of our VoIP system.The network must be strong enough to support the VoIP system because the impact of IP network is higher than the data network.Gateway is an optional component of VoIP network that helps to route calls, handle call connection, and manage terminal and Multipoint control unit (IP-PBX) [4].It is responsible for providing address translation, bandwidth control, and access control and helps to improve the quality of service and security of VoIP network.Gateway serves as an interface between public switched telephone networks (PSTN) and VoIP router.Gateway is made up of Signalling Gateway (GS), Media Gateway (MG), Media Controller and multipoint control unit (MCU).Signalling Gateway helps to manage signal traffic while the media gateway manages media signal.The media gateway controller manages traffic between Signalling gateway and media gateway while multipoint control unit is the part that establishes conference calls between three or more people for converged voice, video and data conference.It provides audio or combination of audio, video and data conference depending on the strength of participating endpoint [5] Call processor is software running on end user equipment operating system that helps in call set up, call monitoring, user authorization, signal coordination and bandwidth control.It translates a phone number to IP address.Figure 1 shows the components of VoIP system.

Figure 1 Typical architecture of VoIP network
The server enables the establishment of call and support for other features in the system.The Session initiation server allows the user to forward calls to different location in the VoIP network.

VoIP Protocols and Standard
There are many protocols and standards for VoIP network (H.323, SIP, MGCP, RTSP, RSVP, SDP etc) but only the most commonly used ones are discussed.

H.323 protocol
H.323 protocol was developed by International Telecommunication Union and Telephony (ITU-T) in 1997 based on Real-time Transport Control protocol (RTCP) for sending voice, video and data over IP-based network [5].H.323 provides multimedia conferencing on Local Area Network (LAN) and brings together point to point communication and multipoint conferences.It was widely adopted because it is reliable and easy to maintain.The components include terminals, Gateway, Gatekeeper and Multipoint control unit (MCU).Terminal is the end point that provides real-time communication for the VoIP network.Gateway is the interface between IP network and the PSTN to another H.Another important component of H.323 protocol is the multipoint control unit (MCU).It acts as a bridge that enables two or more terminals and Gateway to participate in a multipoint conferencing.MCU is made up of Multipoint controller (MC) and Multipoint processor.Multipoint controller determines the capabilities of the network terminal using H.245 protocol stack but does not perform multiplexing of audio, video and data.Multipoint processor is responsible for multiplexing of media stream.H.323 consists of a number of protocol suites.The protocol suites and functions are listed:  H.245 provides capabilities for channel usage, advertisement, establishment and conference control. H.255 for call control  Q.931 for all signalling, call control and setup. Registration Admission status (RAS) is used for communicating with H.323, endpoint and gatekeeper.It provides interaction between H.323 and the gatekeeper.
The table 1 lists the use of protocol stacks in audio, video and data packet, and their transport protocols.The problems of H.323 protocol are lack of flexibility, high connection setup latencies implementation difficulties.Figure 2 and 3 shows the architecture of H.323 and the connection procedures.

Session Initiation Protocol (SIP)
Session Initiation Protocol (SIP) was developed by Internet Engineering Task Force (IETF) designed to initiate and terminate VoIP session with one or more participant [6], [7].It is an ASCII-based peer to peer application protocol that initiates, modifies, creates and terminates interactive multimedia communication session between users.Because of the flexibility of SIP, it is used for audio, video and data packet transmission and communication.Session Initiation Protocol is similar to hypertext transfer protocol (http) made up of client-server.The client sends a request to the server and the server process the request and sends back to the client in a process called transaction.SIP is used in applications such as instant messaging, Apple chart, MSN messenger.The use of User description protocol (SDP) for carrying out negotiation for codec identification enables the support for user mobility by proxy and redirect server to the user's current location.

Components of SIP
SIP consists of User Agent and Network server.User Agent is the endpoint that acts on behalf of the user and maybe client or server.The client is called the user agent client and helps to initiate SIP request while the server known as user agent server receives the request, process it and returns the responses on behalf of the user.Network servers include registration server, proxy server and redirect server.Registration server is used for uploading current location of user, proxy server receives the request forward it to the next hop while redirect server on receiving request, determines the next hop and returns the address of the next hop server to the client instead of forwarding the request.

SIP call Flow
 The six steps for establishing communication in SIP protocol are:  User registration, initiation and location. Media determination. Determining the willingness to accept or reject calls. Call setup. Call modification and handling. Terminating the call (end of call).

SIP Messages
SIP defines several messages for communicating with the client and SIP server [8].Some of the messages are listed

Comparison of H.323 and SIP protocols
SIP and H.323 provides similar functions but exhibit different strength depending on their applications.Both SIP and H.323 perform such functions as call set up and tear down, call control, waiting, holding and transfer, forwarding, return, identification, Call Park and capabilities exchange [9].H.323 is mainly used for multimedia conferencing which can support voice and video conferencing, white boarding, and data collaboration.Most people who use H.323 protocol claim it is complex and has overhead hence it is inefficient for VoIP system.It also lacks extensibilities and scalability required of VoIP signalling protocol.But SIP reuses most of its header field, encoding rules, error code and authentication mechanism of hypertext transfer protocol (HTTP) [10].Table 2 summarizes the differences between SIP and H.323 protocols  [12]. Reduce the cost of Ownership: VoIP integrates data and voice communication traffic into a single network thereby reducing the cost of infrastructural ownership and maintenance redundancies.It brings different network elements together such as call server, application server and client server [13]. Efficient utilization of network resource: VoIP network improves the network bandwidth efficiency and quality of service by eliminating silence during conversation, reduce repetitive pattern in human speech and increases inefficient data throughput. Greater operational flexibility: IP-based network is made up of different layers of separate components that can be integrated to form a whole system.This allows the system, application, and services to be dynamically managed resulting in a customized, flexible and extensible system.

Challenges Associated with VoIP Implementation
 There are number of challenges hampering the implementation of VoIP network for everyday use because the Internet was not designed to transfer real time data, network equipment drops most packets leading to queues that cause jitter in packet transfer.Routing in IP network is time consuming compared to switching network.Delay and packet loss in network affect quality of service (QoS).Efforts are on the way to reduce these challenges which include the use of Reservation protocol (RSVP), design of high priority queues for real time traffic and the use of multiprotocol label switching (MPLS) to speed up packets through routing points.Another problem of the Internet is that it is not managed by a single centralised operator that can coordinate the flow of calls, but made up of different networks and service providers which makes it difficult for providing real time traffics [14], [15]. For efficient and effective real-time communication, network bandwidth is of paramount importance.A network is made up of individual nodes and links that generate huge amount of traffic.If these nodes send more packets greater than the network can accommodate, it can lead to network congestion which can cause QoS problems.When a network congestion occurs, packets need to be queued leading to jitter and latency in the network.The network should be designed to support data and real-time transmission of voice and video for better service quality. When discussing problems of VoIP implementation, the issue of power failure and backup system are mentioned.Traditional telephones operate on internal 48-volt internal power supply.Therefore, it can still continue to work even if there is power outage.So, they need to have backup power system using Uninterruptible power supply (UPS) and proper power back up assessment done regularly to ensure there is sufficient power for the VoIP system. The use of softphones software is another challenge of VoIP implementation.These softphones are vulnerable to worms, virus, Trojan horses and spyware attack and can compromise the security of the network.Computers connected to the Internet can be attacked if a user visits a compromised website even if he/she did not open the website.Traditional PSTN telephone can provide emergency calls because it is tied to physical location and emergency service provider can easily track caller's location to the emergency dispatch office.But an individual using VoIP network can be from anywhere around the globe, thereby making emergency call location difficult because the caller's location and identity can't be traced easily.Even if the VoIP service provider can provide for emergency calls, there is lack of standard in VoIP environment. Most of the Wireless devices in the market today come with Wired Equivalent Privacy security algorithm.WEP has been found to be very weak and can be cracked with free software available online.With the recent introduction of Wi-Fi Alliance's Wi-Fi Protected Access (WPA/WPA2), there is an improvement which can be integrated into VoIP system.VoIP compression-decompression algorithm (codec) and gateway can be encrypted to provide improved security to avoid the latency problem of link or network-layer encryption.

VoIP Quality of Service (QOS)
Quality of service is the ability to control and measure data transmission rate or throughput and error rate and provides better, predictable result to selected network traffic over different underlying technologies.Voice and video packet is intolerant to packet loss, jitter and delay unlike traditional data packet that has minimal delay in delivery of their packets; there is no need to address Quality of Service (QoS) issues.To convey voice traffic over IP network, there is need to ensure reliable arrival of the packets.Therefore, quality of service provides dedicated bandwidth, controlled jitter and latency, and also improved loss characteristics.This section will discuss these Quality of Service (QoS) parameters as they affect VoIP.
Delay: delay is the amount of time it takes to transmit data packet from source to destination.It is the end to end delay or time delay incurred in speech by VoIP system.To ensure high quality, delay should be controlled so that communication delay should be less than 150ms [15], [16].Delay is caused by three major factors such as codec algorithm, queue algorithm of communicating equipment and variable delay caused by network condition at the time of transmission.It is important to minimise delay to an acceptable level of 150ms to ensure better quality of service.Codec (compression-decompression) introduces three kinds of delay:  Processing or algorithmic delay which is the time required for codec to encode one voice frame. Look ahead delay, the time required for a codec to examine part of the frame  Frame delay is the time required for sending system to transmit a single frame.
Compression algorithm affects delay, the higher the level of compression the higher the delay the system.
Packet Loss: Packet Loss is caused by hybrid circuits where it changes from 4-wire to 2-wire.It occurs when there is packet drop in the network leading to loss.And VoIP packet is very sensitive, packet loss can greatly affect the Quality of Service (QoS) of VoIP system.The acceptable packet loss in VoIP system is below 1%, and anything beyond this limit is unacceptable.The major causes of packet drop are congestion in the network and buffer size, every effort should be made to ensure the network is design to counter network congestion.
Jitter: Jitter is the variation in inter-packet arrival rate which introduce variable transmission delay over the network.Because VoIP use User Datagram Protocol (UDP), IP network cannot guarantee the delivery time to the packets leading to inconsistent rate of arrival.Jitter can be removed using jitter buffer, allowing an equal stream to collect a packet and store them long enough to permit slowest arrival in correct sequence.Jitter buffer adds to the overall delay.To support VoIP traffic reliability, the network should guarantee the following:  Packet-forwarding latency that should be within maximum tolerable for VoIP conversation. Packet forwarding jitters within tolerable level to sustain a VoIP session. And guarantee bandwidth and capacity for VoIP session in case of network congestion.
The network should provide low latency and jitter to maintain high quality.We need to control all the mentioned parameters to ensure high quality of VoIP service for students and staff.Sometimes we also need to prioritised network application and limited shared network resources.

Security of VoIP
VoIP encryption is used as a technique to scramble voice data packets into unreadable jumbles while they are in transit.
Internet protocol (IP) used to carry traffic over packet-switched data network is vulnerable to different types of attacks by hackers.A hacker can use sniffer or other publicly available hacking tools to modify, identify, store and play back voice traffic transmitted over IP network.The hacker can have access to users' call and determine the identity of the caller.Another security breach of VoIP is eavesdropping, where a hacker can listen to the communicating parties.Despite the facts that the end user equipment is deployed on an internal protected network, the endpoints are not individually protected by the network firewall and maybe threatened.
Softphone software installed on the endpoint may have vulnerabilities in the operating system (OS) it is running on.The operating system should be installed with an anti-virus software, virus detection host-based firewall or host-based intrusion detection [16].The PSTN media gateway is also vulnerable to attacks; IPSec can be used to prevent interference with user call and to prevent unauthorised call from being set up.
Many security requirements are needed to secure VoIP service and application.There include  Protection of privacy of call conversation. Authentication of calls and end points protection from insecure of network resources. Ensuring of correct billing by the service provider and protection of billing information form authorised access. Protections of caller behaviour or statistical information from authorised access.
Protection of network servers and endpoints from well-known threat and man in the middle attacks.

Conclusion
This paper provides a critical summary on the technological view, system architecture and requirement on deploying VoIP network as an alternative to other voice technologies.It adds knowledge to the available literature on the VoIP system, its requirements, protocols and system requirements.VoIP however is presented as a sure alternative over the Public Service Telephone Network (PSTN) and other mobile phone standards such as GSM and CDMA for Voice.Therefore, as to keep abreast with the global technological change and maximizing cost, a reliable and cheap means of communication is inevitable, VoIP stands as the best alternative for any campus community such as that of Dar es Salaam Institute of Technology (DIT) communication.

Compliance with ethical standards
323 gateway.It provides Internet translation between the different terminals.Gatekeeper is the most vital component of the H.323 protocol.It acts as the central point for all calls and provides services for end point registrations.The functions of Gatekeeper are:  Translate alias address to transport address  Deny or grant access based on call authorization, source and destination address. Call Signalling with end point terminals  Control the number of terminals permitted at a time in H.323 protocol (bandwidth management)  Maintain the list of ongoing call H.323 calls to determine the busy terminals for bandwidth management. Rejection of call from terminal due to authorization failure in the use of H.225 signalling (Call authorisation).

Figure 3 H
Figure 3 H.323 connection and call flows


INVITE-used to initiate a call by inviting user SIP session call. ACK -for reliable exchange of invitation messages. CANCEL -to cancel a pending request by client. BYE-indicates termination of initiated call. REGISTER-provide information about user location to the SIP server. OPTION-used to get information about call capabilities. INFO-process out-of-bound information.

Figure 4
Figure 4 and 5 shows the architecture of SIP standard and call flow in VoIP systems.

Figure 4 Figure 5
Figure 4 Typical SIP Architecture

Table 1
Protocol stack and transport protocols Terminal A will start Registration admission status message exchanged by initiating call to the gatekeeper. The information provided by gatekeeper is used by Terminal A to contact B.  Terminal A sends a SETUP message to Terminal B  Call proceeding message is sent by terminal B and request permission from gatekeeper. Terminal B sends an Alerting and connect message. Determination of master/slave terminal and open logical channels by Terminal A and B using H.245 message exchange. Establishment of Real-Time protocol (RTP) paths.
The stages in audio connection between terminal, gateway and gatekeeper in H.323 protocol are:Registration of terminal and Gatekeeper registration (H255-RAS). Call routing between the terminal and gatekeeper (H.225-RAS and H.225-Q.931). Initial communication and capability exchange  Establishing audio communication (open logical channel) (H.245)  Audio transmission (RTP/RTCP). H.323 follows the following steps to establish connections between clients (Mona &, Nirmala, 2002).The two endpoints will register with the gatekeeper.

Table 2
Comparison SIP of and H.323 Widespread availability of Internet protocol (IP): IP network is readily available all over the world, with people having access to PC linked to internet.Furthermore, availability of gateways to/from PSTN allows calls to use VoIP for voice and video calls