I have two installations of the FreePBX.
- FreePBX Distro (FPBX-1) with Asterisk 11.6.0, PBX Firmware: 5.211.65-1, PBX Service Pack: 1.0.0.0, (physical server)
- FreePBX as 5.211.65-1 Script (FPBX-2) with Asterisk 11.7.0, PBX Firmware: 5.211.65-1, PBX Service Pack: 1.0.0.0, (vps).
Both of them have the default Asterisk IAX Settings.
FPBX-1 IP: 17X.XXX.XXX.XXX
FPBX-2 IP: 18X.XXX.XXX.XXX
On the FPBX-2, I configured an IAX2 Trunk (without username, without password, context=from-internal) with following parameters:
Trunk Name: FPBX-1
Outgoing Settings
PEER Details
type=friend
qualify=yes
host=17X.XXX.XXX.XXX (FPBX-1 IP)
deny=all
context=from-internal
allow=ulaw&alaw&g729
Incoming Settings
USER Context: empty
USER Details: empty
Registration
Register String: empty
On the FPBX-2, I configured the outbound route “all external calls to the trunk FPBX-1”.
Now it is possible to place external calls from the FPBX-2 through FPBX-1 in accordance with the outbound routes of the FPBX-1 without the FPBX-2 registration on the FPX-1.
Setting of one or two fixed IP-addresses as “Bind Address” in the Asterisk IAX Settings of the FPBX-1 does not help to avoid the placing of external calls from unregistered FPBX-2.
There is no registration or another information regarding unregistered IAX2-trunk of the FPBX-2 in the “Reports - IAX info - IAX2 Peers” of the FPBX-1.
Any comment?