<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I expect the encryption/decryption can be done with some triggers
in mysql server.<br>
</p>
In kamailio config you can use crypto module to encrypt a text and
store it in a variable:<br>
<br>
- <a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/crypto.html">https://www.kamailio.org/docs/modules/stable/modules/crypto.html</a><br>
<br>
Then you can use sqlops to insert into the database. The issue comes
when dumping stored messages... probably you can just replace msilo
with sqlops+uac at the expense of a more complex configuration file.<br>
<br>
On the other hand, probably adds some privacy to the local platform
operators, which have access only to the mysql, because the key will
be in kamailio.cfg. For full privacy, the endpoints should do the
encryption/decryption with a key they agreed before, without being
known by the server.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 24/11/2016 05:28, Slava Bendersky
wrote:<br>
</div>
<blockquote
cite="mid:1972023295.67204489.1479961703429.JavaMail.zimbra@skillsearch.ca"
type="cite">
<div style="font-family: lucida console,sans-serif; font-size:
12pt; color: #000000">
<div>Sent message to mailing list</div>
<div><br>
</div>
<hr id="zwchr" data-marker="__DIVIDER__">
<div data-marker="__HEADERS__"><b>From: </b>"volga629"
<a class="moz-txt-link-rfc2396E" href="mailto:volga629@skillsearch.ca"><volga629@skillsearch.ca></a><br>
<b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
<b>Sent: </b>Thursday, 24 November, 2016 00:25:30<br>
<b>Subject: </b>Re: [SR-Users] msilo<br>
</div>
<br>
<div data-marker="__QUOTED_TEXT__">
<div style="font-family: lucida console,sans-serif; font-size:
12pt; color: #000000" data-mce-style="font-family: lucida
console,sans-serif; font-size: 12pt; color: #000000">
<div>Hello Everyone,</div>
<div>I want to ask about another improvement for MSILO
module. If possible encrypt BODY column in database. That
will improve some privacy concerns for storing body in
plain text.</div>
<br>
<div>Slava. </div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>