IAX2 trunks not showing in FOP2
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
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
Comments
Yes I realised about the 15 limit just after I posted but couldn't do anything until the post was approved.
What caught me out was that "15 extensions" also includes trunks and parking lots.
Talking of parking lots, I don't have any defined at all but a default of 700 always appears, reducing the usable count to 14. Is there a way of making fop2 ignore it?
Cheers.
Then modify buttons.cfg and remove the buttons that you do not want, change the order in any way you want, you will see the first 15.
And finally edit fop2.cfg, remove the last #exec line, uncoment some user lines and the buttonfile=buttons.cfg, then restart fop2.
Best regards,
I'll be buying a license when the box goes live so this is just a temporary workaround.
Thanks again.