Hi, I’m using the chan_sip channel driver (no immediate option to move to pjsip at present) and am attempting to configure to use sdes srtp for secure media.
pjsip configuration has a media_encryption=sdes parameter used in pjsip.conf however I can’t see an equivalent in sip.conf. The closest I can find is encryption=yes which doesn’t provide the granularity needed.
Can anyone tell me if chan_sip supports sdes? And how is it configured?
Oh ok, I must have something else configured incorrectly.
If that’s the case, in the SDP part of an outgoing INVITE I was expecting to see a=crypto.... but it’s not there. I have encryption=yes set in the device configuration section.
Sorry, my bad. I’d modified part of chan_sip.c in an attempt to add mediasec support. It seems to have conflicted. I removed my mods and can see crypto in the sdp.
Upps. No, it was for chan_pjsip …
However in chan_sip, you have the channel parameters secure_bridge_media and secure_bridge_signaling. Do those help? Alternatively, you can use a router with a B2BUA like AVM FRITZ!OS (since 07.20) or LANCOM LCOS (since ???) or Bintec-Elmeg. Then, you connect chan_sip to that, and that connects to Telekom Deutschland via MediaSec. Would love to look into your patch and help. However, I do not have an account with Telekom Deutschland right now.
Yes, I’d seen the chan_pjsip patch before. For various reasons pjsip isn’t preferable at the minute.
Have been able to get it working in the end as a bit of a hack for now but would like to see if I can create something more robust.