I have 2 trunks set up - one ISDN30 E1 Dahdi and one IAX2 inter-Asterisk trunk. The ISDN30 Dahdi trunk shows fine, but I cannot get the IAX2 trunk to show.
Under FOP2 buttons in FreePBX both trunks are there. For the IAX2 trunk autoconfig-buttons-freepbx.sh shows;
[IAX2/bardsey]
type=trunk
label=IAX2/bardsey
queuecontext=from-queue
privacy=none
The Trunk config is;
Trunk name : bardsey
PEER details
username=not-telling-you-IAXuser
type=peer
trunk=yes
secret=not-telling-you
requirecalltoken=no
qualify=yes
host=pbx.mypbxdomain.com
disallow=all
allow=g722
USER context : not-telling-IAXuser
USER details
type=user
secret=not-telling-IAXpassword
disallow=all
context=from-trunk
allow=g722
This is with FreePBX 2.9.0.5 and Asterisk 1.8.4.1