TLS working but for SRTP its giving Error

I am new to asterisk and trying to setup SIP/TLS with SRTP on asterisk1.8. TLS based SIP works perfectly but SRTP wouldn’t get through. Log show the Warning …
WARNING[1991]:chan_sip:8360 Process_SDP: Can’t provide secure Audio Request in SDP offer.

I am using minisip as a client.

SIP.conf file settings.
[5000]
type=friend
username=5000
secret=123456
host=dynamic
context=default
callerid=“secure” <5000>
encryption=yes
transport=tls
port=5061

Extension.conf file looks some thing like this
exten => 5000,1,Set(_SIPSRTP_CRYPTO=enable)
exten => 5000,2,Dial(SIP/${EXTEN})

Thanks

Hi,

here there is an howto on how to use Asterisk 1.8 with TLS+SRTP+SDES to make Mobile to Landline encrypted telephony infrastructure with:

  • SNOM 300 Desktop Phones
  • PrivateGSM Enterprise Mobile Secure VoIP Client (iPhone / Blackberry / Nokia)

venturevoip.com/news.php?rssid=2464

Maybe you’ll find a useful track to fix the SRTP related issue.

Kind Regards,
Fabio Pietrosanti
privatewave.com

I use the same guid. but I dont know why SRTP is not go through. I follow all the steps.

Can Minisip create an SRTP call between itself and Asterisk, or are you having the problem on the second leg of the call, when you try to dial some other client?

Cheers