Hi,
My SIP client only uses the 'ha1' password column from the database to authenticate users. It does not require the 'password' column. However, I am not able to register without having the plain text password present in the 'password' column in the database. I need to change this behaviour so that user registration will occur using only the ha1 encoded password column. How can I make this change? I tried commenting out and changing the 'password_column' attribute in the config but could not get it to work.
Hello,
On 13/09/15 20:58, Nabeel wrote:
Hi,
My SIP client only uses the 'ha1' password column from the database to authenticate users. It does not require the 'password' column. However, I am not able to register without having the plain text password present in the 'password' column in the database. I need to change this behaviour so that user registration will occur using only the ha1 encoded password column. How can I make this change? I tried commenting out and changing the 'password_column' attribute in the config but could not get it to work.
you have to set the password collumn to point to ha1 and then set calculate_ha1 parameter to 0.
http://kamailio.org/docs/modules/stable/modules/auth_db.html#auth_db.p.calcu...
Cheers, Daniel