[Serusers] Nathelper.cfg - Ser 0.8.13-dev-23-merged

Jan Janak jan at iptel.org
Tue Jan 27 10:12:39 CET 2004


On 27-01 13:27, Dinesh wrote:
> Can anyone help with lines for the cfg file.
> I have nathelper.so loaded but NO rtpproxy available.
> Not all UA are behind NAT and we use a mix of ATA, Grandstream & Xten
> Softphone.
>  
> I was thinking of placing
> if (method==REGISTER) {
>    fix_nated_contact()
> will it cause problems for non Nated UA

  See sip_router/etc/nathelper.cfg, it rewrites contacts in REGISTER
  only if the client is behind NAT.

> Does fix_nated_sdp serve me any purpose if I do not have an RTPProxy ?

  Yes, with parameter "1" it will add a=direction:active to SDP (which
  you should do if the UA behind NAT doesn't do it, it is safe to do it
  anytime you detect the UA is behind NAT).

    Jan.




More information about the sr-users mailing list