Voice

What Is VoIP and How Does It Work

VoIP (Voice over Internet Protocol) replaces analog telephony with internet-based voice. Learn how it works, the main types, and how to pick a provider.

VoIP stands for Voice over Internet Protocol. It is a technology that transmits voice calls over the internet instead of traditional copper phone lines. A VoIP system converts your voice into digital data packets, sends those packets across an IP network, and reassembles them as audio on the other end.

You probably use VoIP every day. WhatsApp calls, Zoom meetings, and FaceTime audio all run on it. Businesses use it to replace desk phones, run call centers, and build voice features into software. The concept is simple. The quality of the result depends on the network underneath it.

What is VoIP

VoIP is a category of voice transmission, not a single product. Any call that travels as data packets over an IP network counts as VoIP telephony. The term covers consumer apps, business phone systems, and the programmable voice infrastructure that developers build on. People also call it IP telephony, internet calling, or voice over internet.

VoIP technology works with a VoIP number, which looks and dials like any other phone number but routes over the internet instead of the public switched telephone network (PSTN).

There are three ways to make a VoIP call:

  • Softphone. An app on your computer or smartphone that places calls through your internet connection. No dedicated hardware required.
  • IP phone. A desk phone that connects to your network over Ethernet or Wi-Fi instead of a phone jack. It looks like a traditional phone but speaks IP natively.
  • Analog telephone adapter (ATA). A small device that converts the signal from a standard analog phone into digital data, so legacy handsets can work on a VoIP network.
    • All three methods do the same job. They capture your voice, digitize it, and hand it to an IP network for delivery.

      How VoIP works

      Every VoIP call follows the same path. Your microphone captures analog sound. A codec encodes that sound into digital data. The system splits the data into small IP packets, each stamped with addressing information. Those packets travel across the internet, often taking different routes. At the destination, the receiving system reassembles the packets in order, decodes them, and plays the audio.

      This happens fast. A well-built network completes the round trip in a fraction of a second. A poorly built one adds delay you can hear, which is why infrastructure matters more than the concept itself.

      VoIP call flow

      Voice input
      Codec encodes
      Packetized
      Internet transport
      Reassembled
      Voice output

      Two protocols do most of the work. SIP (Session Initiation Protocol) handles signaling. It sets up the call, negotiates the session, and tears it down when you hang up. RTP (Real-time Transport Protocol) carries the actual voice packets during the call. SIP is the phone ringing. RTP is the conversation.

      Codecs sit between your voice and the wire. Each one trades bandwidth for audio quality differently.

      CodecBitrateCharacter
      G.71164 kbpsUncompressed, standard call quality
      G.72248-64 kbpsWideband, HD voice
      Opus6-510 kbpsAdaptive, high quality at low bandwidth

      For developers, VoIP is programmable. This Python example uses the Telnyx Call Control API to place an outbound call, speak a message with text-to-speech, and hang up.

      import os
      import telnyx
      from dotenv import load_dotenv
      
      load_dotenv()
      
      # Initialize the client with the new SDK pattern
      client = telnyx.Telnyx(api_key=os.getenv("TELNYX_API_KEY"))
      
      # Place an outbound VoIP call
      response = client.calls.dial(
          from_=os.getenv("TELNYX_PHONE_NUMBER"),
          to="+15551234567",
          connection_id=os.getenv("TELNYX_CONNECTION_ID"),
      )
      
      call_control_id = response.data.call_control_id
      print(f"Call initiated: {call_control_id}")
      
      # When the call is answered, speak a message
      client.calls.speak(
          call_control_id=call_control_id,
          payload="Hello. This call was placed programmatically over VoIP.",
          voice="female",
          language_code="en-US",
      )
      
      # End the call
      client.calls.hangup(call_control_id=call_control_id)

      Full example with webhook handling, error handling, and setup instructions: make-outbound-phone-call-python.

      Build voice into your productThe Telnyx Voice API runs on a private, owned network with co-located AI inference, delivering sub-500ms latency where multi-vendor stacks average around 1,000ms.

      Explore the Voice API

      VoIP vs traditional phone systems

      The PSTN routes calls through dedicated circuits on physical copper and fiber lines. VoIP routes calls as packets on shared IP networks. That single difference drives everything else, from cost to scalability.

      FactorVoIPPSTN
      InfrastructureInternet connection, softwareDedicated copper lines, switches
      CostLower, no line rental per userHigher, per-line hardware and fees
      ScalabilityAdd users in softwareInstall new physical lines
      FeaturesRouting, recording, AI, APIsVoice and basic forwarding
      Call qualityDepends on network conditionsConsistent but narrowband
      Remote workWorks anywhere with internetTied to physical location

      The PSTN still has a place in some deployments, and carriers worldwide are phasing it out at different speeds. For a full comparison, read PSTN vs VoIP.

      Types of VoIP services

      VoIP services come in several forms. The right one depends on whether you want a finished product, a bridge for existing hardware, or raw programmable infrastructure.

      • Hosted VoIP. The provider runs the phone system in the cloud. You get handsets or softphones, and the provider manages everything else. Good for teams that want telephony without operating it.
      • SIP trunking. Connects your existing PBX to the internet, replacing physical phone lines with virtual ones. Telnyx SIP trunks carry a 99.999% uptime SLA. The differences are covered in SIP trunking vs VoIP.
      • Programmable voice. A VoIP API lets developers place, receive, and control calls in code. This is how software products get calling features, IVRs, and AI voice agents.
      • Business phone systems. Packaged UCaaS platforms that bundle calling, messaging, and video for end users.
        • Fixed vs non-fixed VoIP

          A fixed VoIP number is tied to a physical address, the way a landline is. Businesses use fixed numbers for local presence and regulatory compliance. A non-fixed VoIP number has no address requirement and can be issued anywhere, which suits remote teams and global operations. Either way, the process to get a VoIP number takes minutes rather than the days a landline install requires.

          VoIP network infrastructure

          A VoIP network is the collection of servers, gateways, and transport paths that carry voice traffic as IP packets. It replaces the circuit-switched PSTN with packet switching. On the PSTN, a call reserves a dedicated circuit for its full duration. On a VoIP network, packets share bandwidth with other traffic and get routed dynamically. Packet switching is more efficient and far cheaper, but it makes call quality a function of network engineering.

          Several components make a VoIP network run:

          • SIP servers. Handle registration, call setup, routing, and teardown. They are the control plane of the network.
          • Media gateways. Translate between VoIP and the PSTN so internet calls can reach traditional phones and vice versa.
          • Session border controllers (SBCs). Sit at network edges to manage security, interoperability, and traffic policy.
          • Codecs. Encode and decode audio, balancing quality against bandwidth.
          • RTP transport. Carries the voice packets themselves once a session is established.
            • A VoIP carrier operates this infrastructure and interconnects with the PSTN and other carriers. Here the market splits. Some carriers own their network end to end. Many resell capacity from other operators, which adds hops, middlemen, and latency to every call. When something breaks on a resold network, the provider files a ticket with someone else. When it breaks on an owned network, the provider fixes it.

              Voice traffic is real-time, so a VoIP network has strict performance requirements:

              MetricTargetEffect when missed
              LatencyUnder 150ms one wayTalkover, awkward pauses
              JitterUnder 30msChoppy, distorted audio
              Packet lossUnder 1%Dropped words, robotic sound
              Bandwidth~100 kbps per callDegraded or failed calls

              Quality of Service (QoS) settings help meet these targets. QoS tells routers to prioritize voice packets over bulk traffic like file downloads, since a late voice packet is a useless voice packet. On a private backbone, the operator controls prioritization across the entire path. On the public internet, voice packets compete with everything else. This is why network ownership shows up directly in what a call sounds like.

              Benefits of VoIP for business

              The commercial case for VoIP starts with cost. Businesses switching from legacy telephony save on line rentals, hardware, long-distance charges, and maintenance contracts. [TODO: verify the 40-60% cost savings figure and the 90% international traffic figure against a citable source before publish. Do not publish either stat unsourced.]

              Sub-500ms

              Latency with co-located VoIP and AI infrastructure vs ~1,000ms on multi-vendor stacks

              Beyond cost, the advantages compound:

              • Scalability. Adding a line is a software change, not a hardware install. Scaling from ten users to a thousand requires no new wiring.
              • Location flexibility. Employees answer business calls from any device with an internet connection. The phone system follows the person, not the desk.
              • Global reach. Telnyx offers local phone numbers in 140+ countries, so a company can hold local presence worldwide from one platform.
              • Advanced features. Call routing, recording, transcription, IVR, and analytics come standard on modern platforms rather than as paid add-ons.
              • AI integration. Because VoIP calls are already digital data, AI can transcribe, analyze, and respond to them in real time. Basic VoIP moves voice. AI-native voice acts on it. That step only works well when the AI inference runs close to the telephony, which is an infrastructure decision, not a feature toggle.
                • How to choose a VoIP provider

                  Most VoIP providers explain the technology the same way. The differences show up in the infrastructure behind the sales page. Use these criteria to evaluate any VoIP carrier:

                  • Network ownership. Ask whether the provider owns its network or resells another carrier's capacity. Owned networks mean direct control over quality, routing, and pricing. Telnyx owns its network end to end, which typically translates to 40-60% lower pricing than resold alternatives.
                  • Latency. For AI voice use cases, ask where inference runs relative to telephony. Co-located infrastructure delivers sub-500ms latency. Stitching together a telephony vendor, a transcription vendor, and an LLM vendor pushes conversations toward 1,000ms, and callers notice.
                  • Global coverage. Check number availability in the countries you operate in, and whether numbers are provisioned directly or through partners.
                  • API access. A provider with real APIs lets you automate provisioning, call control, and reporting instead of filing support tickets.
                  • Reliability. Look for a published SLA. Telnyx SIP trunks carry a 99.999% uptime commitment.
                  • Vendor count. A voice stack assembled from four to six vendors means four to six bills, four to six support queues, and finger-pointing when quality drops. One vendor on one network means one accountable party.
                    • Data sovereignty deserves a mention too. When one provider controls the full path from telephony to AI inference, voice data stays on that network instead of transiting third parties. For regulated industries, that is often the deciding factor.

                      Key takeaways

                      • VoIP transmits voice calls as data packets over IP networks instead of dedicated PSTN circuits.
                      • SIP handles call signaling, RTP carries the audio, and codecs like G.711, G.722, and Opus trade bandwidth for quality.
                      • VoIP services span hosted platforms, SIP trunking, and programmable voice APIs. Fixed VoIP numbers tie to a physical address, non-fixed numbers do not.
                      • Call quality depends on latency, jitter, and packet loss, which are functions of the network, not the concept.
                      • Most providers resell someone else's network. Telnyx owns its network from telephony to AI inference, delivering sub-500ms latency, a 99.999% uptime SLA, and numbers in 140+ countries.
                        • Ready to build on VoIP that runs on an owned network?Get sub-500ms voice latency, global numbers, and one bill instead of six.

                          Start with the Telnyx Voice API

                          FAQ

                          What does VoIP caller mean
                          "VoIP caller" is the caller ID label some phones display when an incoming call originates from a VoIP number rather than a traditional landline or mobile line. It means the call was placed over the internet. It does not indicate spam by itself, since businesses, call centers, and apps all place legitimate calls over VoIP.
                          How do you use a VoIP phone
                          Connect the phone to your network, register it with your VoIP provider using the SIP credentials they supply, and dial normally. For a softphone, install the app, log in with your credentials, and place calls from your computer or smartphone. Either way, you need a working internet connection with roughly 100 kbps of bandwidth per call.
                          What is a fixed VoIP number
                          A fixed VoIP number is registered to a physical address, like a landline. It supports local presence and simplifies emergency services routing. A non-fixed VoIP number has no address attached and can be issued to anyone, anywhere, which suits remote and international teams.
                          What is an IP phone
                          An IP phone is a desk phone that connects to your data network over Ethernet or Wi-Fi instead of a telephone jack. It converts voice to digital packets inside the handset, so it works directly on a VoIP network without an adapter.
                          Is VoIP cheaper than a landline
                          Generally yes. VoIP eliminates per-line rentals, reduces long-distance charges, and removes most on-premise hardware. Savings vary by provider, and providers that own their networks typically price 40-60% below those that resell capacity. [TODO: verify savings range against a citable source before publish.]
                          Share on Social
                          Serhii Omelchenko
                          Global AEO/SEO Manager

                          Serhii is Global AEO/SEO Manager at Telnyx, based in Amsterdam, he is focused on making communications infrastructure findable and credible across both traditional search and AI-driven discovery. He previously led SEO and GEO strategy for some of the world’s most recognized consu

                          Sign up for emails of our latest articles and news