I am encountering an issue regarding how Kamailio handles rtpengine node failures mid-call, and I would like to clarify the expected behavior.
The Scenario: I have a setup with multiple rtpengines (e.g., 4 nodes) all configured in the same pool with setid=0.
An initial INVITE arrives, and Kamailio successfully selects rtpengine-A for the call.
Later in the dialog, a re-INVITE occurs.
Coincidentally, rtpengine-A is unavailable at that exact moment.
Kamailio then automatically switches to a different rtpengine node in the set.
The Question: Based on my reading of an older issue (#2713), my understanding was that Kamailio should not change the rtpengine node mid-call, as a new node will not have the media state for the ongoing session.
Could you please confirm if my understanding is correct, or if Kamailio’s default failover behavior for mid-call transactions has changed recently?
Thank you for your time and insights!
The Question: Based on my reading of an older issue (#2713), my understanding was that Kamailio should not change the
rtpenginenode mid-call, as a new node will not have the media state for the ongoing session.Could you please confirm if my understanding is correct, or if Kamailio’s default failover behavior for mid-call transactions has changed recently?
Out of curiosity, what do you expect to happen if a re-invite is made and the rtpengine instance responsible for the call is not available?
Cheers