We used Kamailio as an edge proxy described rfc5626.Here is the present section "9.3. Incoming Call and Proxy Crash" which describes the failover scenario when a call comes from the server towards the client device (WebRTC client).
But also a possible case when the client device wants to place a call on hold, send a ReINVITE message. For some reason, websocket connections can be reestablished during a call, and now the old flow token does not match the new client connection and is handled as an incoming request and cannot be forwarded to a nonexistent client connection. And the client hold/unhold request fails. Example in the attached PCAP file (downloaded from Homer).
Here message in frame 32 comes from source port 9184, and the next ReINVITE message from frame 36 comes from source port 9189.
Could you point me to the RFC documents describes failover for outbound client requests (hold/unhold).
Sergey