Skip Links

Network World

  • Social Web 
  • Email 
  • Close

(Comma separation for multiple addresses)
Your Message:

IAX protocol simplifies VoIP

By Rick Segrest , Network World , 04/11/2005
This vendor-written tech primer has been edited by Network World to eliminate product promotion, but readers should note it will likely favor the submitter's approach.
  • Share/Email
  • Tweet This
  • Comment
  • Print

One reason analog telephones are still around is that you can buy an inexpensive model, plug it in and begin making calls right away. When was the last time you were able to do that with a new IP phone? Most VoIP protocols are hard to configure in certain environments, making it difficult to get many new VoIP products working out of the box.

After Mark Spencer created Asterisk , the open source PBX, he started to see how this lack of simplicity could be a huge barrier to the VoIP market. In response, he created a new protocol called IAX.

The goals for this new protocol were to minimize the necessary bandwidth for signaling and media, and provide internal support for network address translation (NAT ) transparency, all while remaining extensible for future enhancements. No extra configuration is necessary to coerce IAX to traverse NAT firewalls.

Instead of using Real-time Protocol (RTP), IAX uses User Datagram Protocol (UDP ) over a single Internet port (Port 4569) to transmit and receive signaling and media. IAX easily traverses firewalls and uses much less overhead than RTP. IAX can triple the number of calls sent through a single megabit when using the G.729 compression codec. For example, pairing G.729 with the IAX protocol allows at least 103 calls to be sent over 1M bit of bandwidth.

Rather than parsing text commands, IAX uses binary-only data because this is the natural way for machines to communicate with each other.

The IAX protocol responses are sent back to wherever they came from rather than having to negotiate a foreign IP address. Because it constantly sends ping-pong queries, if the line suddenly goes dead, the IAX device will realize this in less than a minute.

All signaling takes place within a consistent Layer 2 data link layer. Dual-tone multi-frequency tones are always sent through the same path as the rest of the signaling data and so are reliably retransmitted on the other end.

The IAX protocol transmits audio packets with only 4 bytes of header each and commands use of very little bandwidth. For multiple calls, IAX trunking reduces the overhead of each channel by combining data from several channels into one packet, reducing not only the number of headers but also the number of packets. This is important for wireless networks.

Better yet, the IAX protocol is so simple and straightforward that the entire IP stack, IAX stack, TDM interface, echo cancellation and caller ID generation has been implemented in an analog terminal adapter (ATA). An ATA device includes an Ethernet jack and a phone jack, and converts any analog phone to an IP phone. An IAX ATA device can be built using only an 8-bit microprocessor, 4K bytes of RAM and 64K bytes of internal flash memory. In the near future, someone could build a $10 IP phone using inexpensive parts such as these.

Future product presence

The IAX protocol is being extended to include encryption and intercom functionality. Although all implementations are the same, the major obstacle now for IAX's acceptance by vendors seems to be its lack of a documented standard. However, many contributors are working to create a standard, and anyone can volunteer to contribute to the cause.

  • Share/Email
  • Tweet This
  • Comment
  • Print

Comments (6)
Login
Forgot your account info?

Prove that IAX triples the number of callsBy Anonymous on May 18, 2007, 4:40 amwhy do you say that iax can triple the number of call? what are your arguments? redsonic69 at hotmail dot fr Re: Prove that IAX triples the number of calls.

Reply | Read entire comment

Prove that IAX triples the number of calls.By Bigredone on July 25, 2007, 11:20 pmHow do you triple the calls on one megabit???? I have to see that to believe it. I think that giving a statistic or benchmark as a statement of fact without proof...

Reply | Read entire comment

Prove that IAX triples the number of calls.By Bigredone on July 25, 2007, 11:23 pm...lacks. Journalistic. Integrity. Thanks for editing that out. More. integrity, I see.

Reply | Read entire comment

voipBy Anonymous on March 14, 2008, 1:08 pmhow to config asterisk my id prashanthind07@yahoo.com

Reply | Read entire comment

I want to know more aboutBy Jose L Mendez Mtz on February 14, 2009, 11:48 pmI want to know more about IAX

Reply | Read entire comment

"I want to learn More IAX" For Jose L Mendez MtzBy Anonymous on August 23, 2009, 11:41 amTry reading its RFC www.rfc-editor.org/authors/rfc5456.txt and also do not forget to visit www.voip-info.org Regards (and good luck ;-)

Reply | Read entire comment

View all comments

Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed