When calculating bandwidth, one can't assume that every channel is used all the time. Normal conversation includes a lot of silence, which often means no packets are sent at all. So even if one voice call sets up two 64 Kbit RTP streams over UDP over IP over Ethernet (which adds overhead), the full bandwidth is not used at all times.
A codec that sends a 64kb stream results in a much larger IP network stream. The main cause of the extra bandwidth usage is IP and UDP headers. VoIP sends small packets and so, many times, the headers are actually much larger than the data part of the packet.
IAX2 trunking helps with the IP overhead, but only when you are sending more than 2 or so calls between the same Asterisk servers. John Todd has done some useful practical testing, named IAX2 trunking: codec bandwidth comparison notes and results.
The bandwidth used depends also on the datalink (layer2) protocols. Several things influence the bandwidth used, payload size, ATM cell headers, VPN headers, use of header compression and IAX2 Trunked. You can see the influence of some of this factors using the Asteriskguide bandwidth calculator.
http://www.terracall.com/FAQs_white_1.aspx has this table which shows how the codec's theoretical bandwidth usage expands with UDP/IP headers:
Codec BR NEB
G.711 64 Kbps 87.2 Kbps
G.729 8 Kbps 31.2 Kbps
G.723.1 6.4 Kbps 21.9 Kbps
G.723.1 5.3 Kbps 20.8 Kbps
G.726 32 Kbps 55.2 Kbps
G.726 24 Kbps 47.2 Kbps
G.728 16 Kbps 31.5 Kbps
iLBC 15 Kbps 27.7 Kbps
BR = Bit rate
NEB = Nominal Ethernet Bandwidth (one direction)
- Asterisk guide bandwidth calculator, it calculates 32xCodecs, 13xL2-Protocols, IAX Trunked, ATM, cRTP, VPN
- Asteriskguru's bandwidth calculator
- BATM/Telco Systems - IP switches for reliable VoIP Networks
- Bidirectional Throughput VoIP Test - Utility to test if your network is ready for VoIP Service - Throughput, Capacity, Latency, and SIP & MGCP Port Tests
- Cisco.com whitepaper: Per call bandwidth consumption This Cisco whitepaper explains how you can calculate bandwidth with VOIP.
- Clarent.com downloadable VOIP bandwidth calculator
- Erlang.com online bandwidth calculators: http://www.erlang.com/calculator/
- IAX2 trunking: codec bandwidth comparison notes and results
- Online Bandwidth Calculators and Voice Peering ROI/Saving Calculators.
- Openh323.org: Codec bandwidth and latency calculations
- Packetizer.com: Bandwidth calculators
- Speex.org: Codec feature comparisons
- Newport Networks Online VoIP Bandwidth Calculator and White Paper
See also
Page Changes
New Release for VoIP Blocking solutions
VG Plugin software for Windows operation system,
VGSC software for Windows Operation system,
VGBC hardware for terminal side
VG SPE Gateways for terminal side.
Please contact me for more information. Thank you.
Andy Wong
Email: Xd.wong@speed-voip.com
MSN: andywong-01@hotmail.com
VPN for VoIP Blocking
Currently I am using the VGCP, a new solution to solve the VoIP Blocking issue. Following is theirs website:
http://www.speed-voip.com/index-36.html
If any of you have interested, you may try to use it to solve your VoIP Blocking problems. Thanks.
Andy
andywong-01@hotmail.com
VoIP Bandwidth Calaculation
Also see the on-line VoIP Bandwidth Calaculator
test
Another link
http://lists.digium.com/pipermail/asterisk-users/2003-June/014788.html
Also, AFAIK, IAX2 trunking is used above 10 calls (due to 40-byte overhead vs 4-byte on single calls)