[OpenSIPS-Users] Nat helper in 1.6.2

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Nov 25 22:47:18 CET 2010


Hi Peter,

the mediaproxy module was split in mediaproxy and nat_traversal module, 
so the client_nat_test() and fix_contact() functions are provided now by 
the nat_traversal module. See:
       http://www.opensips.org/html/docs/modules/1.6.x/nat_traversal.html

Regards,
Bogdan
      
Peter Steinbach wrote:
> 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?
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list