What are the values for global parameters that start with `tcp_` in your kamailio.cfg?
Set `debug=3` inside kamailio.cfg, reproduce this scenario and attach all debug messges printed by kamailio (should be more that the two ERROR messages). It will help to see what was done.