[fusion_builder_container hundred_percent=”no” hundred_percent_height=”no” hundred_percent_height_scroll=”no” hundred_percent_height_center_content=”yes” equal_height_columns=”no” menu_anchor=”” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” background_color=”” background_image=”” background_position=”center center” background_repeat=”no-repeat” fade=”no” background_parallax=”none” enable_mobile=”no” parallax_speed=”0.3″ video_mp4=”” video_webm=”” video_ogv=”” video_url=”” video_aspect_ratio=”16:9″ video_loop=”yes” video_mute=”yes” video_preview_image=”” border_size=”” border_color=”” border_style=”solid” margin_top=”” margin_bottom=”” padding_top=”” padding_right=”” padding_bottom=”” padding_left=””][fusion_builder_row][fusion_builder_column type=”1_1″ layout=”1_1″ spacing=”” center_content=”no” link=”” target=”_self” min_height=”” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” background_color=”” background_image=”” background_position=”left top” background_repeat=”no-repeat” hover_type=”none” border_size=”0″ border_color=”” border_style=”solid” border_position=”all” padding_top=”” padding_right=”” padding_bottom=”” padding_left=”” dimension_margin=”” animation_type=”” animation_direction=”left” animation_speed=”0.3″ animation_offset=”” last=”no”][fusion_imageframe image_id=”14279″ style_type=”none” stylecolor=”” hover_type=”none” bordersize=”” bordercolor=”” borderradius=”” align=”center” lightbox=”no” gallery_id=”” lightbox_image=”” alt=”voip phone system” link=”” linktarget=”_self” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” animation_type=”” animation_direction=”left” animation_speed=”0.3″ animation_offset=””]https://www.watech.com/wp-content/uploads/2019/03/voip-banner.jpg[/fusion_imageframe][fusion_code]Jmx0O2JyJmd0OyZsdDticiZndDs=[/fusion_code][fusion_separator style_type=”default” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” sep_color=”” top_margin=”” bottom_margin=”” border_size=”2″ icon=”” icon_circle=”” icon_circle_color=”” width=”” alignment=”center” /][fusion_code]Jmx0O2JyJmd0OyZsdDticiZndDs=[/fusion_code][fusion_title margin_top=”” margin_bottom=”” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” size=”1″ content_align=”center” style_type=”none” sep_color=””]
VoIP Phone System
[/fusion_title][fusion_text]
I. VoIP Overview
Some businesses are hesitant to move from a traditional private brand exchange (PBX) with landlines to voice over internet protocol (VoIP) because of the lack of understanding of the technology.
ItÔÇÖs not that they have a hard time grasping it. There are just a lot of confusing information about VoIP on the internet. For example, the term VoIP is being used as a catch-all phrase for various communication technology, including the cloud, IP PBX, SIP, and other digital communication technologies. These terms may be related to VoIP but they are different concepts, altogether.
This VoIP technology primer attempts to bring clarity to the cloud-based technologies that offer digital collaboration.
This resource can help organizations understand what VoIP is, what it is not, and how it works.
II. What is VoIP?
VoIP stands for voice over internet protocol. As the name implies, the technology allows users to transmit voice communications over IP networks in real time. In general, VoIP is a group of telephony protocols that works through packet-switching technology where voice travels to its destination via individual network packets across various networks, including the internet. VoIP enables computer networks to function like traditional phone lines across the public switched telephone network (PSTN). The PSTN uses circuit-switched phone technology to transmit voice.
VoIP has only become a reliable business communications option in the last two decades, but the technology has been around for much longer.
Development of VoIP started around February 1995 when VocalTec Ltd., a company in Israel, came up with the idea to allow one user to call another through their computers with a microphone and speakers. This technology was initially limited. It only worked if the caller and the receiver had the same software setup.
The technology improved in the years that followed. These improvements gave rise to products like PC-to-phone and phone-to-phone solutions. VoIP was soon running across IP switches and routers. This made VoIP a standard feature on modern-day networking equipment.
VoIP has become a vital communications component of the modern business communications industry. TodayÔÇÖs communications solutions, including WaTech Alpha Voice, combine cloud voice solutions using VoIP and can interconnect with legacy phone systems through gateway connections to the PSTN.
III. VoIP communications vs. PSTN communications
To better understand the differences between VoIP and PSTN, hereÔÇÖs a side-by-side comparison.
[/fusion_text][fusion_text]
Public Switched Telephone Network (PSTN) |
VS |
Voice over Internet Protocol (VoIP) |
---|---|---|
Dedicated phone linesWhen placing a phone call using PSTN, you are connecting over a circuit-switched path. The PSTN sets up a dedicated channel (or circuit) exclusively for the call. This connection remains for the duration of the phone call. Your voice will follow the same dedicated path during the call. |
Connectivity |
Internet connectionVoIP uses packet switching where the speakerÔÇÖs voice is sampled and broken up into lots of little packets which are then transmitted over the internet. These packet payloads (your voice) are reassembled by the receiverÔÇÖs phone and played by the phone handset. |
Requires 64 Kbps per callA single PSTN connection has a dedicated bandwidth of 64 Kbps. A T1 circuit with 23 channels can, therefore, handle 23 concurrent calls. Because of this limitation, the network isnÔÇÖt able to handle additional capacity (calls) until someone hangs up to release network resources. |
Bandwidth |
Ethernet requires 87 Kbps per callVoIP codecs use just under 100 Kbps. The 87 Kbps includes the protocol stack header bytes. Both the high-quality G.711 codec and the high definition G.722 codec only use 87 Kbps in each direction. |
No free calls, costly international callsPSTN calls use the telephone carrierÔÇÖs network infrastructure. So, in essence, every call made over PSTN is charged based on the use of this resource. Long distance and international calls are even more expensive since they are charged on a per minute basis or through a bundled minute subscription. |
Cost |
Free VoIP-to-VoIP calls, nominal subscription feesYouÔÇÖre already paying a fixed fee for your internet connection (perhaps on a monthly basis), so you wonÔÇÖt incur any charges when you make a call using VoIP. Long distance calls, if not entirely free, have very low per minute rates and are often included in a regular monthly price. |
Available at an extra costCall management features such as call waiting, call forwarding, caller ID, and call transfers are usually only available at an additional cost. |
Business features |
Standard and includedMost VoIP providers typically offer call management capabilities like call waiting, call forwarding, caller ID, and call transfers as standard or included features in their subscription plans. |
Requires purchase of new hardwareOpening a new office (for instance) will require purchasing more hardware, on top of hooking it up to the original system, which can be costly and complicated. Upgrading your existing equipment is also quite expensive and requires a lot of time and energy. |
Scalability |
Requires only bandwidth and software upgradesLines can easily be added as your needs grow. If one user moves to another state, the number and the phone can go with that person as well. If you need more capacity, contact your internet service provider (ISP) to buy more bandwidth. |
Requires additional physical linesAdding new extensions typically requires paying for the use of dedicated lines for each phone and paying a professional to punch down the wires for an additional phone and is therefore expensive. |
Extensions |
Standard and includedIf you need to add extensions to your phone system, all you have to do is to make the necessary configurations on your admin control panel and assign it to a user. |
Remains active during outagesThe PSTN service remains active even during power outages because the hardwired landline phones receive their electrical power from the PSTNÔÇÖs central office (CO). NoteÔÇöThe base station of cordless phones requires a local electrical supply and will be unusable during a power outage. |
Business continuity |
No internet means no serviceIf power is out or the internet connection is down, your VoIP service may not work, especially without a backup power solution. The VoIP service is unavailable when internet connectivity is unavailable. |
Location is traceableEmergency service responders can instantly trace your location via the phone making the 911 call since the phone is associated with a known geographic location through its connection to the PSTN. |
Emergency calling |
Location information may be untraceable or limitedYour e911 emergency calls cannot always be traced to a specific geographic location unless you, the subscriber, provide this information accurately to your VoIP provider. |
IV. What VoIP is not
There are many misconceptions surrounding VoIP. This is especially true since the web uses the same term to refer to related but entirely different concepts.
Here are some common terms used interchangeably with VoIP, but are not the same thing:
-
Cloud PBX
ÔÇöPrivate branch exchange (PBX), refers to the private phone system used by organizations to manage and route calls. A cloud PBX offers similar functionality, but it is hosted in the cloud instead of on-premises at the customerÔÇÖs business. Cloud-based PBX systems interoperate with traditional phone lines like PSTN through gateways.
-
SIP
ÔÇöSession initiation protocol (SIP) signals call initiation, changes, and terminations. Whereas SIP signals the phone calls, real-time transport protocol (RTP) carries the voice or media of the calls.
-
IP phones
ÔÇöThe term has been used to describe both the technology (VoIP) and the hardware for it. For our purposes, IP phone will refer to the hardware or software device used to take and make VoIP calls. IP phones include hard phones and softphones.
- WebRTCÔÇöVoIP and WebRTC allow users to communicate from anywhere via the internet. WebRTC enables VoIP communication through a browser. WebRTC offers real-time communications (RTC) through simple application programming interfaces (API).
[/fusion_text][fusion_imageframe image_id=”14081″ style_type=”none” stylecolor=”” hover_type=”none” bordersize=”” bordercolor=”” borderradius=”” align=”center” lightbox=”no” gallery_id=”” lightbox_image=”” alt=”VoIP Phone System” link=”” linktarget=”_self” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” animation_type=”” animation_direction=”left” animation_speed=”0.3″ animation_offset=””]https://www.watech.com/wp-content/uploads/2019/03/VoIP-Basics-750×420.jpg[/fusion_imageframe][fusion_text]
V. How VoIP works
A. Basic VoIP concepts
Before we get into how VoIP works, let us familiarize ourselves with some important concepts.
The primary technology components include:
IP networking
ÔÇöVoice and data are encapsulated within internet protocol (IP) packets. Source and destination IP addresses determine sender and receiver. IP packets are routed between different networks as they are passed from router to router across both private and public networks.
EncapsulationÔÇöWhen transmitting voice across a network, the voice is captured and segmented into small samples which are carried as payloads.
- The voice payload is a small portion of the audio stream. This sample is encapsulated by various network headers. The voice sample is the largest part of the message.
- A real-time transport protocol (RTP) header is attached to the front of the voice payload. Remember RTP carries media and SIP carries signaling.
- A transmission control protocol (TCP) header or a user datagram protocol (UDP) headerÔÇöUDP carries the RTP header and then the media payload. TCP carries the SIP header for signaling.
- An internet protocol (IP) header holds the IP version, the source IP address, the destination IP address, packet size, and more.
[/fusion_text][fusion_text]
Internet protocol (IP) address
ÔÇöThe network interface card (NIC) of every device to an IP network is given an IP address. IP version 4 addresses are built as four decimal numbers from zero to 255 that are separated by dots. For example, 192.168.1.1 is a commonly used private IPv4 address. IP addresses identify both the source and destination, the sender and the receiver, or the caller and the called party in a VoIP connection.
Port addressÔÇöPort addresses range from zero to 65535. Just as IP addresses reference a specific network device, port addresses reference a listening service or program on a given device. An SIP server will listen for incoming requests on port address 5060 by default.
Transmission control protocol (TCP) vs user datagram protocol (UDP)
The most common types of VoIP protocol delivery stacks are TCP over IP or UDP over IP.
-
Transmission control protocol (TCP)
includes built-in handshaking before transmission and retransmission in case of error or message loss. Packets sent using TCP are guaranteed to be correct, and if it is lost it will be retransmitted. For these reasons, session initiation protocol (SIP) signaling is sent within a TCP message.
-
User datagram protocol (UDP)
is sometimes referred to as the ÔÇ£send and prayÔÇØ method. UDP is a much simpler delivery method. UDP carries messages that do not need guaranteed delivery like voice or video. When voice or video messages are sent, the receiving party does not want to receive late messages. For these reasons, real-time transport protocol is sent within a UDP message.
TCP can easily cause delays if data packets get corrupted. UDP prioritizes speed over error protection and retransmission.
[/fusion_text][fusion_text]
Session border controllers (SBC) act like firewalls to manage traffic by only allowing authorized subscribers to pass through. SBCs ensure high quality of service for voice calls. RingCentral uses SBCs between internet service providers (ISP) and RingCentral and between common carriers and RingCentral.
Real-time transport protocol (RTP)
RTP carries audio and video media streams with minimal delay. The RTP header contains information about the audio media file being streamed, including:
- Media content type
- Whether or not there have been ÔÇÿtalk spurtsÔÇÖ
- Sender identification
- Synchronization, time stamping, and sequencing data
- Loss detection
- Segmentation and reassembly rules
- Security (encryption)
- No retransmission capabilities (lost or delayed RTP messages are not resent)
The RTP header carries information about media streams and holds the payload format for the media type. RTP provides timestamps for synchronization and includes sequencing and time stamping. But, RTP offers no quality of service (QoS).
The RTP stream also has a companion protocol called RTCP or real-time transport control protocol, which is initiated and travels alongside the RTP stream. It does not carry media but generates RTP stream quality statistics.
Real-time Transport Control Protocol (RTCP)
RTCP provides feedback on the following:
- Quality of the media flow
- Number of lost packets
- Number of packets sent
- Number of bytes sent
- Jitter (difference in packet interarrival time) statistics
- Round-trip delays (the time it takes for a signal or message to get from the sender to the receiver and back)
RTCP provides valuable information when troubleshooting VoIP calls.
Each RTP stream is unidirectional. For both the caller and the callee to talk, you need a duplex stream. An RTP stream must be initiated in both directions.
[/fusion_text][fusion_text]
VoIP Codecs
Codecs, or coder-decoder, convert analog audio signals like your voice into digital samples. The received digital audio signal is converted back to an analog signal for the human ear upon arrival at the receiverÔÇÖs phone.
Codec selection will determine the bandwidth required and the sound quality of the conversation.
Here are some of the most common codecs:
- G.711ÔÇöIts formal name is pulse-code modulation (PCM). G.711 samples your voice 8,000 times per second and uses around 87 Kbps of bandwidth on an IP network. G.711 provides high-
quality voice end-to-end. The G.711 codec can be used on PSTN landline and VoIP packet samples with RTP. - G.722ÔÇöG.722 samples your voice 16,000 times per second and uses around 87 Kbps of bandwidth on an IP network. G.722 offers better voice quality and clarity than G.711 and is classified as HD voice.
- OpusÔÇöOpus offers a near-CD quality for voice with a bandwidth requirement between 60 and 80 Kbps. RingCentral uses Opus codec on their softphones.
- G.729ÔÇöG.729 samples your voice at a rate of 8,000 Kbps and uses around 31 Kbps of bandwidth on an IP network. G.729 is not recommended for VoIP since it does not degrade well across IP networks.
Session Initialization Protocol (SIP)
SIP signals VoIP calls and is responsible for helping VoIP emulate telephone-like attributes. As said above, a lot of people mistakenly refer to VoIP as SIP as if they are the same. But as you can now see, VoIP is a group of protocols, and SIP is just one component working in the background to help VoIP calls work.
SIP is an open standard signaling protocol that can establish, manage, and terminate real-time communications over IP networks. SIP can be encapsulated or carried by either TCP or UDP.
SIP follows the client/server model, where the server refers to the VoIP provider (like WaTech Alpha Voice), and the client is the requesting phone.
[/fusion_text][fusion_code]Jmx0O2JyJmd0OyZsdDticiZndDsKJmx0O2NlbnRlciZndDtbZnVzaW9uX3NvY2lhbF9saW5rcyBpY29uc19ib3hlZD0mcXVvdDsmcXVvdDsgaWNvbnNfYm94ZWRfcmFkaXVzPSZxdW90OyZxdW90OyBjb2xvcl90eXBlPSZxdW90OyZxdW90OyBpY29uX2NvbG9ycz0mcXVvdDsmcXVvdDsgYm94X2NvbG9ycz0mcXVvdDsmcXVvdDsgdG9vbHRpcF9wbGFjZW1lbnQ9JnF1b3Q7JnF1b3Q7IGJsb2dnZXI9JnF1b3Q7JnF1b3Q7IGRldmlhbnRhcnQ9JnF1b3Q7JnF1b3Q7IGRpZ2c9JnF1b3Q7JnF1b3Q7IGRyaWJiYmxlPSZxdW90OyZxdW90OyBkcm9wYm94PSZxdW90OyZxdW90OyBmYWNlYm9vaz0mcXVvdDtodHRwczovL3d3dy5mYWNlYm9vay5jb20vV2FUZWNoVGVsZWNvbS8mcXVvdDsgZmxpY2tyPSZxdW90OyZxdW90OyBmb3Jyc3Q9JnF1b3Q7JnF1b3Q7IGdvb2dsZXBsdXM9JnF1b3Q7JnF1b3Q7IGluc3RhZ3JhbT0mcXVvdDtodHRwczovL3d3dy5pbnN0YWdyYW0uY29tL3dhdGVjaF90ZWxlY29tLyZxdW90OyBsaW5rZWRpbj0mcXVvdDsmcXVvdDsgbXlzcGFjZT0mcXVvdDsmcXVvd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