On more thing, i need to call rtpengine_answer also paired with rtpengine_offer, since no rtpengine_manage is used in this case. And the srtp should be switched on from proxy to
client also, so i need to detect that the offer or answer comes from asterisk or goes towards asterisk and use RTP/SAVP or RTP/AVP paremeters in rtpengine_offer or answer. Rtpengine should made RTP->SRTP and SRTP->RTP switching also.
Dr. Barabás Péter
egyéni vállalkozó,
okleveles informatikus mérnök
Feladó:
Péter Dr. Barabás <dr.peter.barabas@gmail.com>
Dátum: péntek, 2024. november 8. 13:04
Címzett: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Másolatot kap: Sajid Khan <khanasajidka85@gmail.com>
Tárgy: RE: [SR-Users] Not able to use SRTP - from client to proxy
Hi,
how does sdp look like from client to kamailio and from kamailio to asterisk and backwards?
I did the same and it works. Homer is very useful tool to analyze sip traffic, it helped me a lot to diagnose problems like this.
Feladó:
Sajid Khan via sr-users <sr-users@lists.kamailio.org>
Dátum: péntek, 2024. november 8. 12:42
Címzett: sr-users@lists.kamailio.org <sr-users@lists.kamailio.org>
Másolatot kap: Sajid Khan <khanasajidka85@gmail.com>
Tárgy: [SR-Users] Not able to use SRTP - from client to proxy
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")) {
I only need to encrypt client -> proxy from proxy -> asterisk should be plain rtp i hope someone can help me out thank you.
The log in rtpengine shows this
[1731055305.417896] ERR: [2a721ebf2c73414ab8e739d7bde912f9//1 port 14124]: [srtp] SRTP output wanted, but no crypto suite was negotiated