-
Notifications
You must be signed in to change notification settings - Fork 417
Description
We make failover tests using TCP protocol. Test schema
uac -> Kamailio SIP proxy -> uas
Where Kamailio SIP proxy
is two nodes HA cluster with virtual IP configured.
We turn off "active" Kamailio in the middle of the test. Then, the virtual IP address is migrated to the "backup" node.
On the next step, uac
sends a BYE message and receives a TCP reset
because this connection is not established on the backup node.
Example in the attached tcp-reset.pcap.gz
After TCP reset, SIPp
generate an error
Error on TCP connection, remote peer probably closed the socket: Connection reset by peer
To complete the failover test, the TCP connection to the "backup" Kamailio node needed to be reestablished, and the BYE message needed to be resent.
Could you add a feature like
-realible-connection-retry - reestablish connection for reliable transport (example TCP/TLS) and resend last message. Useful for failover test when connection needs to be established to the backup node.