[OpenSIPS-Users] Client is unauthorized to register, when I configure not to store plaintext passwords. Why?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Tue Nov 17 20:28:59 CET 2015


Hi.


I found the solution reading the documentations again.

In the OpenSIPS configuration file, it is necessary to define:


modparam("auth_db", "calculate_ha1", no)

modparam("auth_db", "password_column", "ha1")


Thanks!


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


________________________________
De: users-bounces at lists.opensips.org <users-bounces at lists.opensips.org> em nome de Rodrigo Pimenta Carvalho <pimenta at inatel.br>
Enviado: terça-feira, 17 de novembro de 2015 16:28
Para: users at lists.opensips.org
Assunto: [OpenSIPS-Users] Client is unauthorized to register, when I configure not to store plaintext passwords. Why?


Dear OpenSIPS-Users,


My  telecom system based on OpenSIPS 2.2 is working very well.

All clients can register on the sip proxy, using login and password as usual.


However, If I configure 'STORE_PLAINTEXT_PW=0' in file opensipsctlrc, remove user X from table subscriber and finally add the same user with the same password back, I get a problem:


the user X cannot register and gets the unauthorized (401) response from the sip proxy.


As I can see, the password is no more written in the table subscriber. Good, it is correct for me. And the hash codes still are recorded in such table for such user. So, I can't see what is the problem.


Have I to use a specific module in this case? Or have I to change something in the client application? I have checked the documentation, but I didn't find the solution.


Any hint will be very helpful!


Best regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151117/75c02ad0/attachment.htm>


More information about the Users mailing list