Iaxyprov and ubuntu 6.06 LTS

From Docupedia

Brain dump after screwing around for a while. I needed to reprovision an s100i from digium. It requires the iaxyprov utility. To get it to compile on an Ubuntu 6.06 LTS system with a base install I had to add the following packages:

jsmith@swiss:/usr/src/iaxyprov$ sudo apt-get install make gcc libstdc++2.10-dev


Oh yeah another super annoying thing that took me a long time to figure out. Is make sure after you get the utility made and placed into /usr/bin when you run the utility and give it a config file make sure that config file doesn't use a dns version in the server line of the iaxy.conf file your sending.

;
; IAXY Provisioning description
;
dhcp
;ip: 216.207.244.130
;netmask: 255.255.255.192
;gateway: 216.207.244.129
codec: ulaw
server: 199.0.123.2
altserver: 199.0.123.3
user: foobar
pass: imnottellign
register
heartbeat 

When I first tried it I was using

server: pbx01.testdomain.com 

When I ran the utility it would simply do nothing at all. It appeared to be working but the domain name in the server field was causing the program to not work. Changing the domain name to the servers ip resulted in a successful provisioning.