Greetings all.
I have following use case:
0) Peer A and B registers on kamailio via TLS.
1) Peer A establishes call to peer B.
2) Peer A changes network and call has to be refreshed. Peer A reregisters,
gathers ICE candidates, builds reINVITE and sends it to B. After peer A
changes network again, reregisters and waits for answer from old reINVITE.
3) Peer B receives reINVITE and sends answer.
The problem is this answer never gets to peer B. Kamailio cannot route
answer as old TLS connection is closed and new one did not established
before reregistering.
Is there way to solve or avoid this situation?
Thank you :)