Sip Alg Test Tool For Mac

  1. Bandwidth Test Tool For Windows
  2. Sip Alg Detector
  3. Sip Alg Detector Tools
  4. Sip Alg Test Tool For Mac

Free HTML5 VoIP test tool that performs a bandwidth test, jitter test, and a packet loss test on your Internet connection to determine VoIP compatibility. Software for MAC. SIP ALG - SIP Application Layer gateway is a feature in most routers and is supposed to help SIP based calls when going through your home or business router. Ask your SIP provider - these days many of them have a way of testing for the ALG, some even put it on their 'dashboard'. Or call their tech support and ask them to confirm. Or just connect the phone and make some calls - you'll soon find out if the SIP ALG is still active, you'll get one-way audio or other issues. SIP ALG Test Tool - VOIP Users. This link will download a small.exe agent that can test for the presence of a SIP ALG on the network the host PC is connected to. After downloading, open the file and accept any permissions your windows/mac machine may ask for. If the results = False then a SIP ALG was not detected by the client.

Bandwidth Test Tool For Windows

IMPORTANT:This project is not maintained. It may work today (or not).

SIP-ALG-Detector is an utility to detect routers with SIP ALG enabled. It comes with a client and a server:

  • The client is executed in a host into the private LAN.
  • The server runs in a server with public IP.

Both the client and the server and written in Ruby language.

About SIP ALG

Many of today's commercial routers implement SIP ALG, coming with this feature enabled by default.

Sip Alg Test Tool For Mac

An ALG (Application-level gateway) understands the protocol used by the specific applications that it supports (in this case SIP) and does a protocol packet-inspection of traffic through it. A NAT router with a built-in SIP ALG can re-write information within the SIP messages (SIP headers and SDP body) making signaling and audio traffic between the client behind NAT and the SIP endpoint possible. While ALG could help in solving NAT related problems, the fact is that most of the routers ALG implementations are wrong and break SIP.

More information about SIP ALG in Voip-Info.org.

How it works

  1. Being in a private LAN, sip-alg-detector.rb creates a correct INVITE by getting the private address of the host.
  2. The INVITE is sent via UDP and/or TCP to a server (public address) in which sip-alg-detector-daemon.rb is running in port 5060.
  3. When passing through the LAN router, the INVITE could be modified if ALG SIP is enabled in the router.
  4. The request arrives finally to the server which takes the request headers and body and send them back to the client in two responses:
    1. SIP/2.0 180 containing the request headers encoded in Base64 as response body ('Content-Type: text/plain').
    2. SIP/2.0 500 containing the request body encoded in Base64 as response body ('Content-Type: text/plain').
  5. The client get the responses, rebuilds the original request (as arrived to the server) and generates a 'diff' between its sent request and the mirrored request received from the server.
  6. Possible differences between them are displayed (in case SIP ALG exists).
  7. Finally test results are displayed in the screen (UDP test and/or TCP test).

Sip Alg Detector

Usage

Client

The client side sip-alg-detector.rb can be runned in interactive or non-interactive mode (by adding '-n' parameter). In non-interactive mode, the server IP must be provided with the '-si' parameter.

Built on Ruby with no external dependencies or libraries, the client is supposed to run in Linux, Windows and Mac. However, ruby-readline is required interactive mode to work.

Server

The server side sip-alg-detector-daemon.rb must run in a host with public IP. It's also written in Ruby and requires daemons gem installed:

By default it listens in '0.0.0.0:5060' (all the interfaces). The address can be set with '-i' (IP to bind) and '-p' (port to bind).

Sip Alg Detector Tools

Example

  • Let's assume we run the server in a host with public IP 99.98.130.199:
  • The router has a public IP 66.111.222.111.
  • The client host has a private IP 192.168.1.102.
  • Then we run the client in interactive mode:
  • We could do the same in non-interactive mode:

As we can see from the previous example, our router is performig SIP ALG for UDP (not for TCP). It behaves as a proxy (inserts a new 'Via' header, decreases 'Max-Forwards') and also replaces the private IP with the router public IP ('Contact' header and SDP).

Author

  • IƱaki Baz Castillo [website|github]

Sip Alg Test Tool For Mac

License