And if for some reason you're inventing your own nonstandard encryption see <a href="https://www.schneier.com/blog/archives/2011/04/schneiers_law.html">https://www.schneier.com/blog/archives/2011/04/schneiers_law.html</a><div>
<br></div><div>Either use TLS or a VPN.</div><div><br></div><div><br><br>On Wednesday, September 18, 2013, Brian West wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would start here: <a href="http://wiki.freeswitch.org/wiki/SIP_TLS" target="_blank">http://wiki.freeswitch.org/wiki/SIP_TLS</a><br>
<br>
We already support TLS, unless you're talking about some other method I'm unaware of.<br>
<br>
--<br>
Brian West<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'brian@freeswitch.org')">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH_Wire , @briankwest<br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
<br>
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST<br>
iNUM: +883 5100 1420 9001<br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<br>
On Sep 16, 2013, at 11:52 AM, 彭勇 <<a href="javascript:;" onclick="_e(event, 'cvml', 'ppyy@pubyun.com')">ppyy@pubyun.com</a>> wrote:<br>
<br>
> one of my sip gateway using a encrypted SIP message.<br>
><br>
><br>
> char * sip_encrypt(char* str)<br>
> {<br>
> ...<br>
> return encrypted_str;<br>
> }<br>
><br>
> i should send encrypted to the gateway. the gateway also send me a<br>
> encrypted SIP message, and i should decrypt it.<br>
><br>
> then how can i do it in Freeswitch?<br>
><br>
> thanks<br>
><br>
> --<br>
> Peng Yong<br>
<br>
</blockquote></div>