paulgorman.org/technical

VoIP

Technical Components of a Call

Call signalling, media protocol, and codec.

Gateways and device control protocols

Additionally, H.323 and SIP have complementary device control protocols: H.248 and MGCP. These involve gateways.

A gateway has an IP interface on one side, and a legacy phone interface on the other. This is called a media gateway (MG). Originally, such a gateway handled both the IP to PSTN interface and call control, but the call control functions have been split off to a media gateway controller (MGC or Call Agent).

Since the MC and MGC functions are typically split these days, H.248 or MGCP acts as the protocol between the MG and the MGC.

     MG = IP to PSTN gateway
              |
         H.248 or MGCP
              |
      MGC/CA doing call control

A call

  1. ADC converts analog voice to digital bits (in VoIP phone)
  2. Bit are compressed, e.g. G.711, G.722, or GSM (in VoIP phone)
  3. Insert packets of voice bit into a real-time protocol
  4. Call signaling
  5. VoIP gateway
  6. Convert bit back to analog voice

https://www.packetizer.com/ipmc/papers/understanding_voip/voip_protocols.html https://en.wikipedia.org/wiki/Session_Initiation_Protocol