[Serusers] About the configure problem of SER Authentication and NAT

Jan Janak jan at iptel.org
Mon Mar 8 19:04:23 CET 2004


On 06-03 23:42, jht2 wrote:
> Dear serusers
>       Need your help:We installed SER successfully with serctl moni & MySQL working normally.Our server haven't any domain name just IP address with: 194.165.196.72.
>      There are two problem with the registration problem: 
> 1,Authenticaiton problem: Be able to log on the server without username and password by SIP and working normally,but if use the digest authentication mode by uncomment of the code of :
> #   if (!www_authorize("194.165.196.72", "subscriber")) {
> #    www_challenge("194.165.196.72", "0");
> #    break;
> #   };,
>  the authentication cann't work with the subscribers in the list in MySQL database "ser".

  Make sure that you are using proper username and password and that
  subscriber table contains "194.165.196.72" as domain.

> 2,NAT problem:While we log on the server with Windows Messager or other UA software with Public IP address,it works normally.But if we use the UA software behind the router(ADSL router) ,cann't log on the SER server,and the "serctl moni"will appear the UA software(behind router) log in location(LAN address as 192.168.1.2) and record it to the MySQL "location" table of database "ser". 
>          How to solve the problem above? thanks very much.

  You will have to configure your server to use nathelper module (just
  loading the module is not enough), a simple config example can be
  found in sip_router/etc/nathelper.cfg

   Jan.




More information about the sr-users mailing list