21 - Unit revision - VoIP basics

Back to course index

 OSI layers

  1. PHY: bits, frequencies, voltages…
  2. Link layer: MAC address: XX:XX:XX:XX:XX:XX. 48 bits (half of them brand number, the other half random). Theoretically it is fixed… but users can manipulate it since it is managed by the operative system.
  3. Network layer: IPv4 address: X.X.X.X.
  4. Transport layer: Two different protocols:

    The transport layer uses port numbers. Examples: http: 80, ssh: 22, smb:445…

    Some examples: SIP uses port UDP 5060 for signaling (others for voice packets), IAX uses UDP 4569 for voice and signaling.

VoiP uses UDP, but it has means to compensate jitter1. RTP “Real Time Protocol” sets a timestamp indicating the max waiting time before ditching the packet. RTCP (RTP Control Protocol) adjusts speed.

Network parameters

A network interface has to have these parameters:

NAT is a technique used by CPE routers to save IP addresses. It encapsulates the packets using the router’s public IP address. SIP has problems when dialing extensions in different networks.

SIP clients

Apart from all the aforementioned (IP, netmask…), SIP clients (softphones or physical phones) have to include these parameters:

Contrary to popular belief, SIP clients don’t need static IP addresses, their basic network parameters (IP + netmask + GW + DNS) can be assigned via DHCP.

IP disasters

There are times when you have to configure a device with a wrong network configuration. Sometimes without possible offline serial RS-232 cable. What are you supposed to do…?

Interesting network features

 VoIP signaling protocols

Signaling: network traffic standard used to login users/extensions into the PABX and to manage telephony aspects: tone, protocol used to dial…

Main signaling protocols:

VoIP Audio codecs (no .mp3 here)

Remember: codec = encoder-decoder. Codecs determine the audio system and compression algorithm used in the voice stream.

Can you tell the difference?

Not for this exam


Back to course index

  1. Variable time of arrival between consecutive packets. It happens due to the fact that different packets can take different routes. ↩︎