Setting up IAX2 trunks between a&a-asterisk members
From aa-asterisk.org.uk wiki
IAX2 trunks are pretty easy to setup once an agreement has been made with a fellow A&A-asterisk user.
You will both need to exchange 2 pieces on relevant information:
- server IP/hostname
Once you have these you need to setup your IAX.conf file:
[server_b] username=server_a secret=passwd disallow=all allow=g726 type=friend context=incoming-work auth=md5 host=server_b.example.com qualify=2000 trunk=no
[server_b] username=server_b secret=passwd disallow=all allow=g726 type=friend context=incoming-work auth=md5 host=server_a.example.com qualify=2000 trunk=no