<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">TLS has two phases - key exchange and encryption.<div>Seems like you only want stream encryption, which means you will have to go deep down in the</div><div>TLS module and the OpenSSL library.</div><div><br></div><div><br></div><div>Why on earth do you want to use a static key? That seems to contradict the need for protection.</div><div><br></div><div>/O</div><div><br></div><div><div><div>3 maj 2013 kl. 14:14 skrev Khoa Pham <<a href="mailto:onmyway133@gmail.com">onmyway133@gmail.com</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">@Daniel<div><br></div><div style="">TLS is OK, but many TCP connections will makes client suffering from 503 Service Unavailable error. Please consider this as a feature request :)</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 11:18 AM, Khoa Pham <span dir="ltr"><<a href="mailto:onmyway133@gmail.com" target="_blank">onmyway133@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>Currently, I'm using TLS and it works fine. But eventually, TLS is just used to agree upon a secret key. And both client and Kamailio use that secret key to encrypt message.</div>
<div>
<br></div><div>In my solution, I have a fixed secret key. And client encrypt SIP message with that secret key.</div><div>What code should I insert in Kamalio to decrypt it?<span class="HOEnZb"><font color="#888888"><br clear="all">
<div><br></div>-- <br><span style="">Khoa Pham</span><br style="">
<span style="">HCMC University of Science</span><br style=""><span style="">Faculty of Information Technology</span><br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="">Khoa Pham</span><br style=""><span style="">HCMC University of Science</span><br style="">
<span style="">Faculty of Information Technology</span><br>
</div>
_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></blockquote></div><br></div></body></html>