Greetings all,
I have been configuring a FreeSWITCH / FusionPBX system to do TLS and SRTP.
When I configure it to do srtp in the outbound route, the SDP produced looks like:
o=FreeSWITCH 1352745516 1352745517 IN IP4 10.16.0.131
s=FreeSWITCH
c=IN IP4 10.16.0.131
t=0 0
m=audio 22222 RTP/SAVP 9 0 8 3 101 13
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:djfKObSYrk0J8pVI1w/OfQBjTYwNgTi80C68VgBB
a=ptime:20
m=audio 22222 RTP/AVP 9 0 8 3 101 13
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
This is great if I want to support both SRTP and non-SRTP calls; but I cannot figure out how to remove the AVP block so that SRTP is mandatory.
How do I require SRTP?
Thanks,
Clint