Digium IAXy Configuration Manual Download Page 2

Provisioning the IAXy

Once the IAXy has booted, it needs to be provisioned in 

order that it might register as an IAX friend with your Asterisk 

server. The provisioning process specifies the IAX username, 

password, and host. To provision the IAXy, you will need the 

provisioning utility that can be downloaded by following these 

instructions:

$ cd /usr/src

$ export CVSROOT=:pserver:anoncvs@cvs.

digium.com:/usr/cvsroot

$ cvs login (the password is anoncvs)

$ cvs co iaxyprov

$ cd iaxyprov

The iaxyprov package will contain the following files:

Makefile

frame.h

iaxydebug.c

iax2.h

iaxy.conf.sample

provision.c

provision.h

Build the provision utility by executing the

 

make

 

command.

Once this is done, modify the 

iaxy.conf.sample

 file to fit 

our needs:

;

; IAXY Provisioning description

;

dhcp  

 

 

; (DHCP enabled)

;ip: 192.168.0.100 

; (Set a static IP for 

the IAXy)

;netmask: 255.255.255.0   ; (Set a static netmask)

;gateway: 192.168.0.1 

; (Set a static gateway)

Booting the Unit

The IAXy requires that you plug in the interfaces in specific 

order. The easiest suggestion is to follow a left-to-right 

methodology. 

 

Plug in the telephone cord

 

Insert the Ethernet cable

 

Power up the unit

The key point here is that the telephone cord and Ethernet 

cable must be inserted before power is applied. Failing 

this, the unit will not boot completely and will not properly 

initialize the telephone device.

Upon booting, the unit will seek out an IP address from a 

DHCP server. The easiest way to determine the IP of the 

IAXy is to monitor either your syslog, messages, or your 

daemon.log

 

file in

 

/var/log

.

 You can watch real-time 

changes to these files by using the tail command such as:

$ tail -f /var/log/syslog

or

$ tail -f /var/log/messages

or

$ tail -f /var/log/daemon.log

1

2

3

Reviews: