Implement sdes in asterisk

hello all,

i have a problem with implementing sdes security method for voip using asterisk, or tls+srtp. maybe anyone here have some sugggestions about the references.

thank you.

Can you be more detailed about what the problem is? Asterisk supports both SDES key for SRTP and TLS for SIP signaling using both the chan_sip and chan_pjsip channel drivers.

thank’s for response,
in the client certificate

./ast_tls_cert -m client -c /etc/asterisk/keys/ca.crt -k /etc/asterisk/keys/ca.key -C -O “My Super Company” -d /etc/asterisk/keys -o malcolm

in that code i still confuse with the -C option. i use ip address of my computer server for -C option in server certificate. but, should i use ip address of my server computer or my client computer’s ip address for option -C in client certificate ?

thank you.