Hi James
It should automatically re-use an existing TCP connection. Can you give an example?
After digging more in this issue, it looks like I found the solution:
Upon successful REGISTER authentication I do:
if ($proto != 'udp') { tcp_keepalive_enable("60", "5", "5"); # TCP KA once per minute tcp_set_connection_lifetime("3605"); # Live for one hour force_tcp_alias(); # Force traffic back on existing session if ($avp(debug) > 0) { xlog("L_INFO", "$cfg(route): KEEP ALIVE engaged on $proto => ConID: $conid\n"); } }
Especially force_tcp_alias() seems to make sure, communication TO the CPE takes the existing TCP or TLS session towards the CPE and does not create a new session.
Mit freundlichen Grüssen
-Benoît Panizzon-