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:
- username
- server IP/hostname
Once you have these you need to setup your IAX.conf file:
Server A
[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
[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
