Contents

SourceForge.net Logo

What is it

SipTunnel is client-server application used to tunnel SIP and RTP datagrams over single TCP channel.

How it works

Softphone should be configured to connect to SipTunnel client instead of SIP-server. SIP and RTP packets from softphone are send normally, over UDP, to SipTunnel client. For softphone it looks like normal SIP server. SipTunnel client packs all SIP and RTP traffic into TCP packets and send them to SipTunnel server. SipTunnel server unpacks data back from TCP and send it to SIP server using UDP.

For SIP server SipTunnel server looks like normal SIP client. SIP server sends data to SipTunnel server using UDP. SipTunnel server packs data to TCP and sends it back to SipTunnel client using the same TCP connection (to pass NAT). SipClient unpacks data back to UDP and sends it to softphone.

Usage scenarios

Main scenario

Main scenario schema

SoftPhone client application is located behind NAT (or firewall which blocks standard SIP and RTP ports). SipTunnel client is installed inside LAN (it can be installed even on the same computer with softphone) and configured to connect over TCP to SipTunnel server located outside of NAT (any port can be used to establish connection to SipTunnel server, even port 80). SipTunnel server connects directly to SIP server (SipTunnel server can be located on same machine with SIP server).

Main scenario - advanced

Main scenario schema

SoftPhone client application is located behind NAT (or firewall which blocks standard SIP and RTP ports). SipTunnel client is installed inside first LAN (it can be installed even on the same computer with softphone) and configured to connect over TCP to SipTunnel server located inside second LAN, also behind NAT or firewall. SipTunnel server connects directly to SIP server, located in second LAN. In this scenario SipTunnel can be used to tunnel SIP and RTP traffinc through firewalls using only one TCP port. To make SIP work without SipTunnel you need to open one UDP port for SIP (usually 5060) and a range of UDP ports for sound traffic (RTP).

Mobile scenario

Mobile scenario schema

SoftPhone client application is installed on your PDA which is behind NAT when you are using GPRG/EDGE to connect to Internet. In this situation you can install SipTunnelMobile on your PDA and setup softphone to connect to localhost:5060. On any machine with real IP (for example your home PC) you should install SipTunnel server and make it connect co your preferred SIP server. Set up SipTunnelMobile to connect to your home PC. After it you can meke SIP call as if PDA has real IP.

Download

Description Capabilities Download link
Version for Windows (requires .NET Framework 2.0 or later). Server and client Download here
Version for Windows Mobile (requires .NET Compact Framework 2.0 and later). This version has graphical UI. Client only. One client (softphone application) only. Download here
Version for Mono (requires Mono 1.2.4 or later). Server and client Download here

Documentation

Description Link
Command line switches (for Windows and Mono versions). Link
Usage examples (command lines) (for Windows and Mono versions). Link
Settings for softphones to make them work with SipTunnelLink