Plus, if kamailio1 dies you will need a NEW tcp connection from your client to kamailio2, and that effectively means as Daniel said a new handshake. 

On Thu, Nov 1, 2018 at 04:11 Daniel Tryba <d.tryba@pocos.nl> wrote:
On Thu, Nov 01, 2018 at 09:20:46AM +0000, Toffi Bossol wrote:
> my use case will be:
>   
>    - We use two Kamailio instances (A and B)   
>
>    - A Client registers to a Kamailio A using TLS (SIP over TLS). The TLS session data shall be stored into an external DB.
>    - Kamailio A is now unreachable.
>    - The client sends a register to Kamailio B over TLS.
>    - Kamailio B shall look into the external DB and checks that there is already a TLS session data and can reuse it.   

In order to make a SIP over TLS handshake, there has to be a new
handshake. So the old data is stale and unusable.


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users