<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
for 1) Is the device behind nat? Do you have tcp connection lifetime
parameter value long enough?<br>
<br>
for 2) is the physical IP a public space IP? Do you have mhomed
parameter set? It is a warning saying that the interface returned by
OS for connecting to the destination is not in the listen list.<br>
<br>
for 3) yes it is expected behaviour, you just need to do record
routing as usual, nothing special.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 2/13/12 11:43 AM, Mino Haluz wrote:
<blockquote
cite="mid:CAFA7yDQd7u9pw4z84_991NxPKg0+e8DNU0ZnhVRb=nPj-ZHLrg@mail.gmail.com"
type="cite">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: <core> [tcp_main.c:4130]: connect
<customerIP:port> failed<br>
This means kamailio is trying to connect with TCP to the customer
??<br>
2) WARNING: tcp_do_connect <customerIP:port> : 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'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 --> kamailio --- UDP --> GW, <br>
<br>
and not<br>
<br>
customer -- TCP --> kamailio --- TCP --> GW, <br>
<br>
Thanks,<br>
Mino<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>