<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana color=#000000 size=2>Hi all, first thank you for maintaining this list and free/Open source&nbsp;SIP proxy software.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#000000 size=2>I am working on one interco problem&nbsp;with a remote SIP proxy running on Kamailio.</FONT></DIV>
<DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>Cisco(U1) --&gt; Opensips(P1) --&gt; Internet --&gt;&nbsp;Kamailio(P2) --&gt; Asterisk(U2)</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>The remote proxy(P2) is expecting us to fill the "Route:" header taking information from the "Contact:" header, according to my research the "Route:" header as to be filled using the information found in the last "Record-route:" header.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>Note&nbsp;that&nbsp;the "Contact:" header IP address is the one of U2, as it is the destination UA.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>I think our partner using Kalamailio only interconnected UA not Proxy, since they never faced this problem.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>Of course I do not suspect Kalamailio to be doing something wrong, I just want to validate what we should expect, and investigate further from there.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>I will have&nbsp;to contact the technicien that as configured the Kalamailio server to validate why face this behavior.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>--------------------------------------------------------------------------</FONT></DIV>
<DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>" 16.12.1.3 Rewriting Record-Route Header Field Values "</FONT></DIV></DIV>
<DIV><PRE><FONT face=Verdana size=2><A href="http://www.ietf.org/rfc/rfc3261.txt" target=_blank>http://www.ietf.org/rfc/rfc3261.txt</A></FONT></PRE><PRE><FONT face=Verdana size=2>--------------------------------------------------------------------------</FONT></PRE><PRE><FONT face=Verdana size=2><DIV><FONT face=Verdana size=2>We found a temporary&nbsp;solution to make it worko, where we hardcoded the replacement of the IP address in the "Route:" header with the one of the U2</FONT></DIV><DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV><DIV><FONT face=Verdana size=2>subst('/^Route: &lt;sip:P2;(.*)$/Route: &lt;sip:U2;\1/');</FONT></DIV><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></FONT></PRE><PRE><FONT face=Verdana size=2></FONT>&nbsp;</PRE><PRE><FONT face=Verdana size=2></FONT>&nbsp;</PRE></DIV></DIV></BODY></HTML>