Tech

How does VoIP work?

o you ever find yourself looking at your watch and thinking “This call’s costing me a fortune.” If you do, you’re still stuck in the 20th century with telephone technology that’s barely changed since the 19th! In the 21st century, there’s no reason why we should be paying through the nose, by the minute, to use a telephone network when most of us now have access to a very credible alternative: the Internet. After all, if the Internet (which relies on large parts of the telephone network) can carry text, images, and video clips, it should be able to carry people’s voices just as easily. That’s the thinking behind VoIP (Voice Over Internet Protocol) which, simply stated, means using the Internet to make and receive telephone calls. How exactly does it work? What are the advantages and the drawbacks? Let’s take a closer look!

What is the Internet anyway?

To lots of people, using the Net means looking at YouTube videos or buying books from Amazon.com—but both of these things are really about the World Wide Web, not the Internet. The Internet is the worldwide network that links virtually every modern computer on the planet, and it’s made up of telephone lines, satellite links, fiber-optic cables, and old-fashioned copper wires. The World Wide Web (all those shopping sites, home videos, and so on that you browse from your computer) is just one of the things that uses the Internet; email is another. The Internet is designed so that it can send all kinds of information, in all kinds of different ways, between the various computers that it connects together, and without any kind of rewiring or redesign. (Technically, this is called the end-to-end principle.) That’s why, in the mid-1990s, some clever technical people were able to figure out how to send telephone calls over the Net, much like any other kind of information. This was the birth of VoIP.

What is VoIP?

All the information that travels over the Net—from the latest music videos on YouTube to the confirmation email from Amazon that your book is on its way—is sent by a method called packet switching. Something like an email, which might be pages and pages of characters, isn’t actually sent as one big chunk: when it leaves your computer, it’s broken down into many small pieces called packets, each of which travels independently across the Internet (theoretically by a completely different route from other packets) before being reassembled into a copy of the original email when it arrives at its destination. It’s a bit like sending a book through the post not as a big fat parcel but by putting every single page into a separate envelope, individually addressed and dispatched. It might sound odd to send things this way, but packet switching is actually an extremely quick and efficient way of handling the billions of emails, web pages, and everything else that has to zip back and forth across the Net every single day. (You can read more about how it works in our main article on how the Internet works.) All the computers connected to the Internet understand how to send and receive packets like this; thankfully, they all agree to work in exactly the same way using exactly the same system, which is known as the Internet Protocol or IP. (One of the key parts of the IP that you may be familiar with is that every computer can be “addressed” by quoting a unique number, known as its IP address, which is a bit like the computer equivalent of a telephone number or building address. Currently most computers have IP addresses made from four pairs of two digits separated by points, such as 12.34.56.78. For more info please click this link https://www.ringcentral.com/how-do-voip-phones-work.html.

How does VoIP work?

How, then, do you send a telephone call over the Internet? There are really three separate problems to solve before you can do it: alerting someone that you want to call them, turning your voice into digital sound and sending it over the Net (and receiving replies in the opposite direction), and “interfacing with” (linking in to) the ordinary telephone network, if your call is going to a traditional landline telephone or cellphone (mobile phone). Let’s look at each of these in turn.

Call signalling

When you make a traditional telephone call to a friend, you lift the receiver and listen for the dial tone before punching in someone’s number. What’s happening here is that you’re opening up an electric circuit between your home phone and the telephone exchange. When you dial the number, the exchange opens up a second circuit to the receiver’s phone, causing their handset to ring. As soon as your friend lifts the receiver, there’s a complete circuit open between your two phones and you can start to talk (“send and receive voice data”, if you prefer).

With VoIP, things are different. Internet telephony is much more like cellphone telephony, with people having unique telephone numbers that aren’t permanently linked to one physical location: the person you’re calling could be anywhere on the planet (and might not be in the same place two days running). So the first part of making a VoIP call involves your computer locating the receiver on the Internet, signalling their computer to receive a call, and, once that’s done, the two computers agreeing the technical nitty-gritty of how they will actually exchange the data (just as fax machines and modems “handshake” at the start of a call). For VoIP to work effectively, every computer that uses it has to do these things exactly the same way—and that’s why VoIP systems use carefully agreed international standards (known as protocols). The two protocols that cover signalling are technically known as H.323 and SIP (Session Initiation Protocol, sometimes also known as RFC 4168). Simply speaking, these protocols set up a communication route between two IP addresses (the sender’s and the receiver’s) across which the actual telephone call data can be sent and received.

Call transmission

To send a basic telephone call over the Internet, you have to turn a speaker’s voice into digital (numeric) form. That’s relatively easy and the technology has been around for many years. (For example, when rock bands record CDs or MP3s, the noises they produce with their voices or instruments, which are analog sounds, are converted into numbers, which are digital signals, that can be stored or manipulated by computers. For more about the difference, see our main article on analog versus digital technology. This general process is called analog to digital conversion. When you listen to a CD or MP3, those numbers are converted back into sounds your ears can hear by digital to analog conversion.) The piece of software responsible for this process—converting audio sound into digital data and back again at the other end—is known as a CODEC (Coder-Decoder). The CODECs used for VoIP are designed to work optimally with sounds of frequencies from a few hundred hertz (Hz) up to perhaps 5000Hz or so (the frequency range of the human voice), although since 21st-century phone calls are just as likely to contain video (chat) data as voice sounds, VoIP systems often contain video CODECs as well as audio ones.

Once a spoken voice has been turned into numbers, it’s relatively easy to break it into packets and send it over the Internet to another computer, where it can be reassembled and turned back into the sound of a voice by exactly the reverse process. Again, the computers involved in sending and receiving the data have to work according to the same protocols (agreed methods). The data-sending protocol used in VoIP is called RTP (real-time protocol), and it’s also the protocol that computers use for receiving streaming media (videos you watch as you download them, in real time, over the Internet).

Read More: Top 10 famous Veg foods in Switzerland.

Related Articles

Back to top button