No SRTP module loaded, can't setup SRTP session

Hi

We have Installed Asterisk 1.8 with FreePbx , configured tls successfully with certificates , however when we try to initiate a call with SRTP , below is the Message we get :

[2012-09-07 02:11:15] VERBOSE[9908] netsock2.c: == Using SIP RTP TOS bits 184
[2012-09-07 02:11:15] VERBOSE[9908] netsock2.c: == Using SIP RTP CoS mark 5
[2012-09-07 02:11:15] ERROR[9908] chan_sip.c: No SRTP module loaded, can’t setup SRTP session.
[2012-09-07 02:11:15] WARNING[9908] chan_sip.c: Matched device setup to use SRTP, but request was not!
[2012-09-07 02:11:30] VERBOSE[9907] netsock2.c: == Using SIP RTP TOS bits 184
[2012-09-07 02:11:30] VERBOSE[9907] netsock2.c: == Using SIP RTP CoS mark 5
[2012-09-07 02:11:30] ERROR[9907] chan_sip.c: No SRTP module loaded, can’t setup SRTP session.
[2012-09-07 02:11:30] WARNING[9907] chan_sip.c: Matched device setup to use SRTP, but request was not!

does it mean i have to load the SRTP module ?? please help

Although Asterisk 1.8+ supports srtp it still needs the underlying OS libraries already there before it will "load " the module. Evidenced by:-

rasterisk -x “module show like srtp”

You do not say how you installed the system and under what OS, from a distro or by hand (all that missing good stuff that only mindreaders would know yet :wink: ) . . .

So, do you have the srtp libraries installed?

updatedb;locate srtp

will give you a clue, you are looking for libsrtp.so* (OS dependant as to what and where exactly) . . . .