Asterisk provides another VoIP protocol, much like SIP, called Inter-Asterisk eXchange, or IAX. This protocol is easier to work with for many reasons, as we discussed in Chapter 2. For this section, we will need all of the terminal device details for which we selected IAX as the protocol.
Just as the name suggests, IAX is well-suited to connecting multiple Asterisk servers together. At this point in our work with Asterisk, this is not what we need, as we are limiting ourselves to one server. When we link multiple servers together, this feature will become useful.
Following the pattern established, the IAX protocol is configured in /etc/asterisk/iax.conf
. Just like the SIP file, it has a number of general settings, followed by settings for each individual user.
First, we will discuss options for the [general]
section. They include: