Adding the cleanup function needs some deeper thought since it
apparently doesn't exist for all variants of libsrtp.
........
Merged revisions 388596 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 388597 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388598
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
{
srtp_install_event_handler(NULL);
ast_rtp_engine_unregister_srtp();
- srtp_shutdown();
g_initialized = 0;
}