<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
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.<br>
<pre class="moz-signature" cols="72">Kind Regards,
---------
Ben Bliss
</pre>
<div class="moz-cite-prefix">On 04/01/2016 10:13 AM, micho fr wrote:<br>
</div>
<blockquote cite="mid:COL126-W10DA4ACA45F4E01B0D7030BBF20@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Guys,
<div><br>
</div>
<div>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</div>
<div><br>
</div>
<div>Is there a way to do it?</div>
<div><br>
</div>
<div>
<div>modparam("auth_db", "db_url", DBURL)</div>
<div>modparam("auth_db", "calculate_ha1", 0)</div>
<div>modparam("auth_db", "password_column", "password")</div>
<div>#modparam("auth_db", "password_column", "ha1")</div>
<div>modparam("auth_db", "password_column_2", "ha1b")</div>
<div>modparam("auth_db", "load_credentials", "")</div>
<div>modparam("auth_db", "use_domain", MULTIDOMAIN)</div>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
</body>
</html>