I am setting up a lab system. Two freepbx 15 running on vm machines.
System 1 192.168.20.20 255.255.255.0
System 2 192.168.20.21 255.255.255.0
Sets for system 1 and 2 are remote via site to site vpn.
set 1 - 192.168.12.135 > vpn > 192.168.20.20
set 2 - 192.168.12.133 > vpn > 192.168.20.20
set 3 - 192.168.12.132 > vpn > 192.168.20.21
All sets can call and connect to each other but no audio between any set combination.
What am I missing in the router settings or the freepbx.
You left out many details about the VM and VPN setup. But I’ll give you a shortcut – can you successfully ping 192.168.12.135 from a shell prompt on 192.168.20.20? If not, fix that or explain why.
If the ping is ok, in Asterisk SIP settings, set Local Networks to 192.168.0.0 / 16, Submit, Apply Config, restart Asterisk, test.
If you still have trouble, at the Asterisk command prompt, type pjsip set logger on
or if using chan_sip sip set debug on
make a test call, paste the Asterisk log for the call at pastebin.freepbx.org and post the link here, along with descriptions of all network routers, firewalls, etc.