[Serusers] not able to add user using serctl

Daniel-Constantin Mierla Daniel-Constantin.Mierla at fokus.fraunhofer.de
Tue Sep 30 12:29:04 CEST 2003


Hello,
if you want to allow only authenticated users you need some database 
support. Either you use a relational database module like mysql and 
postgresql or you can use a small engine developed mostly for demos 
called dbtext. Unfortunately, if you want to use dbtext you will not 
have support to manage it with serctl. See the documentation of dbtext 
module (online at: http://iptel.org/ser/doc/modules/html/dbtext.html).

If you want to allow any user to register to your SIP server you can 
turn the authentication off -- it's like that in the default config file 
unless you have changed it.

On 9/30/2003 5:01 AM, Annie Sasidar wrote:

>
>
>Thanks Daniel for the guidance.
>    I uncommented the load "tm" module in the ser.cfg file. When i add a
>new user using serctl command, i am asked for  a mysql passwd which i dont
>have since i do not have mysql support. So finally i am not able to add  a
>user to the database... How should i add a user to the database of a
>stateless proxy server?
>
You still need a database backend with a stateless proxy if you want to 
have the authentication enabled, as I said above.

> I read the registrar documentation. Doesnt the
>default ser.cfg include loading of the registrar module.
>
Yes, it loads the registrar module and the user location module (usrloc) 
is configured to use only the memory to store the contact addresses of 
the users.

> what sort of
>tuning should i further do?
>
Either you use some database sytem backend (mysql, postgresql or dbtext) 
or you turn authentication off and allow any user to register to your 
SIP server.

Best regards,
Daniel

>
>
>Thanks in advance,
>Annie
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>  
>





More information about the sr-users mailing list