[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Re: openvpn and voip


  • Subject: Re: [Openvpn-users] Re: openvpn and voip
  • From: "Eric \"Skippy\" Hope" <ehope@xxxxxxxxxx>
  • Date: Wed, 03 Aug 2005 15:30:25 -0400

Charles Duffy wrote:

On Tue, 02 Aug 2005 15:18:00 -0400, Eric "Skippy" Hope wrote:



The problem comes in when trying to make a call. The session initiation
portion of the call goes over the vpn just like it should (this is the sip
portion, for those familier with voip). Once the other end picks up the
phone, the software phone tries to send the actual voice connection over
the public IPs, ignoring the vpn. This seems to have something to do with
the Win TUN/TAP interface.



What IP ranges are you using? If the systems on both sides have internal (non-public) IPs that they're doing their SIP registration with, such that they need to use the VPN to access the IPs that the other systems are registered with... well, I'd expect that you wouldn't have this issue.

If you're using Asterisk, I'd make sure that nat=0 is set in the entries
for the relevant phones in sip.conf, as well.





The clients are assigned a 10.10.10.x address by openvpn.
The asterisk server has a 10.11.12.13 address and a route pointing 10.10.10.x to the vpn gateway.
The client end can ping the server; the server end can ping the client. The sip registration works fine, as do the sip INVITEs all going over the vpn. Once the call recipient picks up the phone, the softphone sends a sip OK packet, which has as a payload a SDP packet with the details for the actual voice traffic, and this is where its sending the pubic IP rather than the private IP. All of the sip addresses are in the proper format, ie sip:ext@privateip.


We are using asterisk and I've tried the nat=no. I've tried setting the host= in the sip.conf to the private ip of the client. The softphone still wants to get its voice data on the public ip.

That pounding noise is my head and my desk.

Eric

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-08/msg00040.html on line 210

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-08/msg00040.html on line 210