<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>With the default configuration of SER 
0.8.12,&nbsp;and&nbsp;two registered&nbsp;UA's using TCP as transport protocol, 
when I try to make a call between them, the call arrives in UDP packets ! This 
is the scenario:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
TCP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
TCP</FONT></DIV>
<DIV><FONT face=Arial size=2>UA1 &lt;---------&gt; SIP SERVER 
&lt;-----------&gt; UA2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The UA's are registered to the SIP server using the 
"transport=tcp" flag in the Contact field, for example:</FONT></DIV>
<DIV><FONT face=Arial size=2>"Contact: <A 
href="mailto:12345678@80.37.88.152:13245;transport=tcp">12345678@80.37.88.152:13245;transport=tcp</A>"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>But when UA1 calls UA2 ( using the TCP connection 
), the INVITE is resent over UDP to the port specified in the Contact field, 
instead of using the established TCPconnection.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have tried t_relay(), forward(uri:host,uri:port) 
and forward_tcp(uri:host,uri:port)&nbsp;and all resend the INVITE over UDP. ( I 
donīt understand why the third case fails ŋ? )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have tried t_relay_to_tcp("<U><FONT 
color=#0000ff>80.37.88.152</FONT></U>","13245") and forward_tcp(<U><FONT 
color=#0000ff>80.37.88.152</FONT></U>,13245) and they work fine, but I must 
specify the IP:Port by hand, but I need automatically the IP:Port from the table 
of registered ussers.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance for your help !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sergio.</FONT></DIV></BODY></HTML>