I have a RentPBX account on which I have installed OpenVPN. The VPN connection works. I can register a 3cx softphone on my iPhone. I can make/receive a call, but there is no audio from my softphone to the other party - I can hear them/they can't hear me. The VPN is set for 10.8.0.x
I know one-way audio is a common problem, but I'm not sure of the solution given the VPN.
I have NAT set to yes on the phones and freepbx.
I have the 10.8.0.0 network in Asterisk SIP Settings, Local Networks
I have in iptables accepting the 1194 port (or else the VPN wouldn't work)
iptables has the commands:
-A INPUT -s 10.8.0.0/16 -j ACCEPT
and
*nat
-A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
(along with other *nat info)
TM3 is running and installed
my server.conf file in the OpenVPN has the lines:
which I admit to not understanding
under ifconfig I show that the PBX is on 127.0.0.1 (which doesn't match my VPN (???))
So, lots of info - hopefully enough for someone to point out my stupidity.
This is a Purple installation:
I'm happy to provide any additional info. This same one-way audio occurred while testing my RPi with OpenVPN - at the time I thought it was a Pi issue. I can also try other softphones if we think the problem is with the 3cx.
I know one-way audio is a common problem, but I'm not sure of the solution given the VPN.
I have NAT set to yes on the phones and freepbx.
I have the 10.8.0.0 network in Asterisk SIP Settings, Local Networks
I have in iptables accepting the 1194 port (or else the VPN wouldn't work)
iptables has the commands:
-A INPUT -s 10.8.0.0/16 -j ACCEPT
and
*nat
-A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
(along with other *nat info)
TM3 is running and installed
my server.conf file in the OpenVPN has the lines:
Code:
push "route 10.2.1.0 255.255.255.0"
push "dhcp-option DNS 10.2.1.1"
under ifconfig I show that the PBX is on 127.0.0.1 (which doesn't match my VPN (???))
So, lots of info - hopefully enough for someone to point out my stupidity.
This is a Purple installation:
Code:
Asterisk = ONLINE | Dahdi = ONLINE | MySQL = ONLINE x
x SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE x
x Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = ONLINE x
x Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE x
x SendMail = ONLINE | Samba = OFFLINE | Webmin = ONLINE x
x Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A x
x x
x PIAF Installed Version = 2.0.6.3 under *XEN* on Rent PBX x
x FreePBX Version = 2.9.0.11 x
x Running Asterisk Version = 1.8.19.1 x
x Asterisk Source Version = 1.8.19.1 x
x Dahdi Source Version = 2.6.1+2.6.1 x
x Libpri Source Version = 1.4.12 x
x IP Address = 209.159.x.y on eth0 x
x Operating System = CentOS release 6.3 (Final) x
x Kernel Version = 2.6.32-279.19.1.el6.i686 - 32 Bit x
x Incredible PBX 3 Version = 3.1.0
I'm happy to provide any additional info. This same one-way audio occurred while testing my RPi with OpenVPN - at the time I thought it was a Pi issue. I can also try other softphones if we think the problem is with the 3cx.