[sr-dev] [kamailio/kamailio] Setting rtpengine DTLS flags on specific user agents only? (Issue #3025)

Ryan Gehrig notifications at github.com
Mon Feb 14 01:19:51 CET 2022


Hello, 

I need to enable DTLS (e.g. add "SDES-off DTLS" to my $var(rtpengine_flags), but only on specific endpoint device types.  So far, on an inbound call, the SDP comes from Asterisk, and once it hits this specific endpoint, if no encryption is enabled, the endpoint rejects the call and I get "488 Not Acceptable Here".  If I statically enable the DTLS options in kamailio, then the endpoint accepts it and the call connects.

I need to do conditional logic in the kam config, so unless there is a way to reinvite a second time, adding DTLS, I am now trying to figure out a way to determine the destination user agent, potentially via the most recent sip registration or contact/location data saved, then based on the user agent that was registered, I can decide to enable or disable DTLS.  Open to any and all ideas on the right way to do this! Thanks! 


Ryan

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3025
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3025 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220213/51549465/attachment.htm>


More information about the sr-dev mailing list