Hi,<br><br>our customers are using mostly UDP but some of them want to use TCP. The problem is, I get various TCP errors in kamailio log and I do not understand what they mean<br><br>1) ERROR: &lt;core&gt; [tcp_main.c:4130]: connect &lt;customerIP:port&gt; failed<br>
This means kamailio is trying to connect with TCP to the customer ??<br>2) WARNING: tcp_do_connect &lt;customerIP:port&gt; : could not find corresponding listening socket for IPaddress , using default... ( where IPaddress is kamailio physical IP address)<br>
Kamailio has one virtual IP address (heartbeat IP address) and one physical. It listens on the virtual IP address but I do not understand why it is trying to use the physical IP address ?<br><br>I was investigating this thing because the BYE message is not being relayed if the TCP is used (everytime the 2. error message is printed), so that&#39;s why I have to understand what it really means...<br>
<br>And the last question,<br><br>3) If kamailio is relaying the traffic to the PSTN gateway, and the customer is using TCP, kamailio uses TCP as well for connecting to the PSTN gw. Is this behaviour normal ? I would expect that <br>
<br>customer -- TCP --&gt; kamailio --- UDP --&gt; GW, <br><br>and not<br><br>customer -- TCP --&gt; kamailio --- TCP --&gt; GW, <br><br>Thanks,<br>Mino<br><br><br>