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