Closed sergey-safarov closed 7 months ago
@sergey-safarov hm, good catch, let me see, what we can do here.
@sergey-safarov you could probably try to use the loop protect
flag, which prevents processing of SDPs generated previously by rtpengine. Would that work for you?
Check the doc: https://rtpengine.readthedocs.io/en/latest/ng_control_protocol.html
For me looks like it is an appropriate change in the Kamailio config to avoid this case. But cannot test it now because another carrier disabled the "timer" feature and ReINVITE does not send more. I will close it at solved.
We have a carrier that ignores the
Record-Route
andRoute
headers negotiated at the start of the dialog and sends a ReINVITE to another Kamailio server. Second Kamailio callsrtpengine_manage
and then relay ReINVITE message according to Route header to the first Kamailio. The first Kamailio callsrtpengine_manage
again and this triggers high CPU load on the server and pike of network traffic via loopback interface. Screenshot attachedAnd in the RTPEngine logs we can see in the rtpengine.log Here you will find
We will try make a workarround for not expected behoifour from the carrier equipemnt, but will be fine to avoid create loop on the RTPengine. I think will be fine to return error if rtpengine_manage received own IP in the peer SDP.