On 08/11/2024 06.41, Sajid Khan via sr-users wrote:
Im using the module RTPengine. im having issues when ever i try to do a call using SRTP im using microsip i have checked the SDP everything ok. But when ever i place the call it gets rejected. if i disable SRTP then the calls work

if (!rtpengine_offer("replace-origin replace-session-connection ICE=force RTP/SAVP RTP/AVP")) {

Putting `RTP/SAVP RTP/AVP` into the offer flags is a bit of an oxymoron. Only one protocol can be set at a time. You set the protocol that ought to be used towards the client that will receive the offer (i.e. the outgoing SDP). In the answer you generally don't need to specify the protocol as the protocols are known already.

Cheers