I tried to reproduce using master, but all ok. Based on default kamailio.cfg, I have added t_replicate_tcp:

# Handle SIP registrations
route[REGISTRAR] {
	if (!is_method("REGISTER")) return;

	if(isflagset(FLT_NATS)) {
		setbflag(FLB_NATB);
#!ifdef WITH_NATSIPPING
		# do SIP NAT pinging
		setbflag(FLB_NATSIPPING);
#!endif
	}
	if (!save("location")) {
		sl_reply_error();
	}
	t_replicate_tcp("127.0.0.1", 9);
	exit;
}

In logs I get:

39(81014) ERROR: <core> [core/tcp_main.c:4135]: handle_tcpconn_ev(): connect 127.0.0.1:9 failed

and after a while (delete wait time) transaction is cleaned:

25(81000) DEBUG: tm [t_reply.c:1263]: t_should_relay_response(): ->>>>>>>>> T_code=0, new_code=408
25(81000) DEBUG: tm [t_reply.c:2072]: local_reply(): branch=0, save=0, winner=0
25(81000) DEBUG: tm [t_reply.c:2111]: local_reply(): local transaction completed 408/0 (totag retr: 0/0)
26(81001) DEBUG: tm [h_table.c:129]: free_cell_helper(): freeing transaction 0x105712170 from timer.c:651

tm.stats showing 0 current transactions.

What version are you using? What are the parameters you set for tm module?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.