Closed RusYus closed 5 years ago
That's expected before the answer
passed through rtpengine, as the crypto keys to be used for outgoing SRTP are communicated in the answer
. So receiving RTP would have to send SRTP to the SRTP endpoint, but no outgoing keys were sent to it yet, so SRTP cannot be sent. Media will start flowing after the answer
passes through end the error will disappear.
I have the same "problem". Sound is working fine, but still see ERR. Rtpengine Version: 7.1.1.1-1.el7
Feb 8 16:10:32 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6]: Received command 'offer' from 127.0.0.1:42640
Feb 8 16:10:32 webrtc2sip rtpengine[3193]: NOTICE: [ni6k9rj7skkvg21bcqk6]: Creating new call
Feb 8 16:10:32 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6]: Replying to 'offer' from 127.0.0.1:42640 (elapsed time 0.001769 sec)
Feb 8 16:10:35 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6]: Received command 'answer' from 127.0.0.1:45083
Feb 8 16:10:35 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6]: Replying to 'answer' from 127.0.0.1:45083 (elapsed time 0.000477 sec)
Feb 8 16:10:35 webrtc2sip rtpengine[3193]: ERR: [ni6k9rj7skkvg21bcqk6 port 30106]: SRTP output wanted, but no crypto suite was negotiated
Feb 8 16:10:35 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30122]: ICE negotiated: peer for component 1 is 10.163.11.26:52622
Feb 8 16:10:35 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30122]: ICE negotiated: local interface 10.15.27.168
Feb 8 16:10:35 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30122]: DTLS: Peer certificate accepted
Feb 8 16:10:35 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30122]: DTLS-SRTP successfully negotiated
Feb 8 16:10:35 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30122]: DTLS-SRTP successfully negotiated
Feb 8 16:10:39 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30122]: Confirmed peer address as 10.163.11.26:52622
Feb 8 16:10:39 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30106]: Confirmed peer address as 10.15.27.169:16332
Feb 8 16:10:39 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30106]: Kernelizing media stream: 10.15.27.169:16332
Feb 8 16:10:39 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30122]: Kernelizing media stream: 10.163.11.26:52622
Feb 8 16:10:40 webrtc2sip rtpengine[3193]: INFO: [ni6k9rj7skkvg21bcqk6 port 30107]: Confirmed peer address as 10.15.27.169:16333
I'm closing this because it's not a problem. You can't send media to an SRTP endpoint before the crypto has been negotiated, so it's expected to see this error at that point.
Hello, I'm using rtpengine with kamailio as SRTP-RTP proxy and having difficulties with decoding SDP SIP INVITE message. For some reason rtpengine expects to send output INVITE with SRTP instead of plain RTP. Although voice is working fine in both directions, I keep getting same errors "SRTP output wanted, but no crypto suite was negotiated".
And here is a part of log file: