[Asterisk-Users] Sip over VPN not working
Tim P
panterafreak at gmail.com
Tue Aug 2 08:51:13 MST 2005
Using the Xten X-Lite client (free) I am able to connect to a local
asterisk at home server and when trying to connect to the remote server
(a mirror of the local) I am unable to connect.
The first server is a local lan, the remote is using microsofts pptp
vpn client to connect.
Looking at the diagnostics from X-Lite I see this:
<begin log>
SEND TIME: 341549001
SEND >> 192.168.8.151:5060
REGISTER sip:192.168.8.151 SIP/2.0
Via: SIP/2.0/UDP
192.168.8.203:5060;rport;branch=z9hG4bK3FB2D9058F8B41F79E68D710E384C12A
From: timtest <sip:1111 at 192.168.8.151>;tag=109208562
To: timtest <sip:1111 at 192.168.8.151>
Contact: "timtest" <sip:1111 at 192.168.8.203:5060>
Call-ID: C99F00F557AE457D85513CC954CE72D3 at 192.168.8.151
CSeq: 22204 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
SEND TIME: 341552005
SEND >> 192.168.8.151:5060
REGISTER sip:192.168.8.151 SIP/2.0
Via: SIP/2.0/UDP
192.168.8.203:5060;rport;branch=z9hG4bK3FB2D9058F8B41F79E68D710E384C12A
From: timtest <sip:1111 at 192.168.8.151>;tag=109208562
To: timtest <sip:1111 at 192.168.8.151>
Contact: "timtest" <sip:1111 at 192.168.8.203:5060>
Call-ID: C99F00F557AE457D85513CC954CE72D3 at 192.168.8.151
CSeq: 22204 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
SEND TIME: 341558014
SEND >> 192.168.8.151:5060
REGISTER sip:192.168.8.151 SIP/2.0
Via: SIP/2.0/UDP
192.168.8.203:5060;rport;branch=z9hG4bK3FB2D9058F8B41F79E68D710E384C12A
From: timtest <sip:1111 at 192.168.8.151>;tag=109208562
To: timtest <sip:1111 at 192.168.8.151>
Contact: "timtest" <sip:1111 at 192.168.8.203:5060>
Call-ID: C99F00F557AE457D85513CC954CE72D3 at 192.168.8.151
CSeq: 22204 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
<end log>
My virtual IP (my vpn client) is 192.168.8.203 so that looks good and
the remote pbx is 192.168.8.151. I have checked and rechecked the
settings (extension, ips, password, display name) and certain they are
correct.
I don't see any activity on the asterisk console while the phone
attempts to register (I get the Login Failed, Contact Network Admin).
I have tried setting the Nat Firewall IP to both my virtual ip address
as well as the internal ip of the vpn server, no luck.
I am sure someone must have this setup in production if it is indeed
possible. Any suggestions?
thanks,
Tim
More information about the asterisk-users
mailing list