Benjamin Lawetz
2005-Sep-21 12:10 UTC
[Asterisk-Users] Get SIP to work over very limited network access
I've got a friend who's spending 6 months on the other side of the world. So before he left I configured him a softphone on his laptop to connect to my asterisk so he can call home free of charge. Unfortunately, he just found out he has horrible internet connection. Bandwith and latency is ok, the problem is the stop almost all connections. He has to connect to a proxy server for his web access. The only thing that seems to go through straight away is ssh or ftp. Thought about doing a ssh tunnel, but that doesn't work over udp. He has linux and windows on his machine, and is full configurable. The server (and my net connection) is under my control and fully configurable. So does anyone have any idea how to get him to connect to my asterisk server through a TCP connection ? thanks
Sebastian A. Espindola
2005-Sep-21 12:52 UTC
[Asterisk-Users] Get SIP to work over very limited network access
On 21/09/05, Benjamin Lawetz <blawetz@teliphone.ca> wrote:> I've got a friend who's spending 6 months on the other side of the world. So > before he left I configured him a softphone on his laptop to connect to my > asterisk so he can call home free of charge. > > Unfortunately, he just found out he has horrible internet connection. > Bandwith and latency is ok, the problem is the stop almost all connections. > He has to connect to a proxy server for his web access. The only thing that > seems to go through straight away is ssh or ftp. Thought about doing a ssh > tunnel, but that doesn't work over udp. He has linux and windows on his > machine, and is full configurable. The server (and my net connection) is > under my control and fully configurable. > > So does anyone have any idea how to get him to connect to my asterisk server > through a TCP connection ? > > thanks >Hello, If bandwith is not a problem, you should take a look at Openvpn[1]. It's a VPN solution with both Windows and Linux clients, and ot has proxy tunneling suport. If you install an openvpn server listening on port 443, he shouldn't have any problems connecting. Regards Sebastian A. Espindola.
Alchaemist
2005-Sep-21 21:30 UTC
[Asterisk-Users] Re: Get SIP to work over very limited network access
Hi, Some way of VPN seems to be the only solution. But, you should try something really silly first. Try to setup your asterisk to listen in one of the open ports (ie 21, 22) with SIP you will require two connections, thus two open ports, instead with IAX2, one port will do it, (You can try DIAX, its nice, and really simple). There is a chance, (there always is), that your friend's ISP is allowing all traffic over port 21 and 22, TCP AND UDP.... see? Perhaps even before setting asterisk, you should open an UDP listener, and try to send traffic to see if it passes through his ISP. Otherwise.... all you have is VPN or SSH port forwarding. Regards! Alchaemist PS: Asterisk over TCP? no way...not supported yet. "Benjamin Lawetz" <blawetz@teliphone.ca> wrote in message news:200509211510545.SM01520@benthos...> I've got a friend who's spending 6 months on the other side of the world. > So > before he left I configured him a softphone on his laptop to connect to my > asterisk so he can call home free of charge. > > Unfortunately, he just found out he has horrible internet connection. > Bandwith and latency is ok, the problem is the stop almost all > connections. > He has to connect to a proxy server for his web access. The only thing > that > seems to go through straight away is ssh or ftp. Thought about doing a ssh > tunnel, but that doesn't work over udp. He has linux and windows on his > machine, and is full configurable. The server (and my net connection) is > under my control and fully configurable. > > So does anyone have any idea how to get him to connect to my asterisk > server > through a TCP connection ? > > thanks >