[SR-Users] Kamailio Password Encryption

Ben Bliss ben at enta.net
Mon Jan 4 11:51:42 CET 2016


Hi,

The Auth_db module has the ability to read encypted passwords built into 
it. I'd advise reading the manual for the module, and that should show 
you how to implement it.

Kind Regards,

---------
Ben Bliss
  

On 04/01/2016 10:13 AM, micho fr wrote:
> Hi Guys,
>
> I have a kamailio server 1.3 with clear text Password in Subscriber 
> table.... I wish I can encrypt that password by doing some kind of 
> combinations between username, domain and let kamailio server be 
> reading the encrypted password
>
> Is there a way to do it?
>
> modparam("auth_db", "db_url", DBURL)
> modparam("auth_db", "calculate_ha1", 0)
> modparam("auth_db", "password_column", "password")
> #modparam("auth_db", "password_column", "ha1")
> modparam("auth_db", "password_column_2", "ha1b")
> modparam("auth_db", "load_credentials", "")
> modparam("auth_db", "use_domain", MULTIDOMAIN)
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160104/b68d66c3/attachment.html>


More information about the sr-users mailing list