[OpenSIPS-Users] Nat helper in 1.6.2

Peter Steinbach lists at telefaks.de
Wed Nov 24 13:34:18 CET 2010


Hello,

we upgraded from OpenSer 1.2 to OpenSIPS 1.6.2. For NAT traversal we
have used nathelper + mediaproxy in 1.2. However in 1.6.2 both modules
are very different, and we are looking for the best way to upgrade.

In previous installations we had for example te following:
        if (client_nat_test("3") && !is_present_hf("Route")){
            setflag(8);
            force_rport();
            fix_contact();
            append_hf("P-hint: NAT\r\n");
        }
What is the equivalent for this in 1.6.2?

As well as
          fix_nated_contact();
What is the equivalent for this in 1.6.2?

As well as
            if (client_nat_test("1")) {
                    fix_contact();
            }
What is the equivalent for this in 1.6.2?

-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
Theo-Geisel-Strasse 25
D 61250 Usingen, Germany
mailto:lists (att) telefaks.de
Internet: www.telefaks.de





More information about the Users mailing list