codec: ulaw
; (use G.711 ulaw codec)
;codec: adpcm
; (use ADPCM codec)
server: 192.168.0.1
; (the IP of your Asterisk server)
;altserver: 192.168.0.2 ; (IP of your backup Asterisk server)
user: myusername
; (the username assigned to the IAXy)
pass: mypassword
; (the password assigned to the IAXy)
register
; (Registration on)
;heartbeat
; (Generate status packets on port
; 9999 sent to 255.255.255.255
;debug
; (Output extra debugging to port 9999)
Now that we have configured our
iaxy.conf.sample
file, we can provision the IAXy
with the following command:
./iaxyprov <ip of the IAXy> <file>
i.e.:
./iaxyprov 192.168.0.100 iaxy.conf.sample
If registration is successful, you will receive a notice on the command line.
Now power to the IAXy should be cycled. When the IAXy powers back up, it will
emit a yellow light after it has acquired an IP address and has registered with your
Asterisk server. If you do not see a solid light after 20 seconds, the IAXy has failed
to register itself with your Asterisk server—please reprovision the IAXy and try again.
If you are having trouble with installation, or need further help or support in any
way, please contact
.
av
Configuring Asterisk to work with the IAXy
To configure Asterisk to accept your IAXy, you will need to set it up in the
/etc/
asterisk/iax.conf
file. Here is a sample entry:
[iaxy]
type=friend
accountcode=iaxy
host=dynamic
secret=yoursecretpassword