I am using OpenVPN to access my internal network. I have FreePBX for my SIP phones. I have a soft phone on my cell phone when I am on my WiFi the soft phone works great. When I leave WiFi and go to VPN I can connect to my PBX. I have audio going from my soft phone to any phone on my network. I do not have any audio going from my in office phones to the soft phone. I can call from soft phone extension to any internal extension and I can call from internal extension to my soft phone extension. I have my internal network as 10.0.0.0/24 and my VPN network 10.8.0.0/24, I have both in my PBX as trusted networks. I have the OpenVPN setup to NAT the information. I have googled the for days now, and all I have come up with is that I should buy the VPN option on FreePBX. This will not work as I have to run software on my phone through the VPN and use the soft phone at the same time.
Below are my server.conf and client.conf files
server.conf
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.0.0.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 10.0.0.5"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
client.conf
client
dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
group nogroup
persist-key
persist-tun
ns-cert-type server
comp-lzo
verb 3
key-direction 1