<HTML dir=ltr><HEAD><TITLE>Re: [Kamailio-Users] SIP proxy is expecting "Route:" header to befilled information from the last "Contact:" header ?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV id=idOWAReplyText17111 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>
<DIV id=idOWAReplyText2189 dir=ltr><FONT face=Verdana>The real source of my problem was caused by a missuse of </FONT></DIV>
<DIV dir=ltr><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana>fix_nated_contact();</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana>This was causing the creation of a wrong&nbsp; "request uri" in the ACK </FONT></DIV>
<DIV dir=ltr><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana>Thank you Daniel for&nbsp;finding it in the trace</FONT><BR></DIV>
<DIV dir=ltr>&nbsp;</DIV></FONT>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> Daniel-Constantin Mierla [mailto:miconda@gmail.com]<BR><B>Sent:</B> Tue 12/01/2010 8:04 PM<BR><B>To:</B> Julien Chavanton<BR><B>Cc:</B> users@lists.kamailio.org<BR><B>Subject:</B> Re: [Kamailio-Users] SIP proxy is expecting "Route:" header to befilled information from the last "Contact:" header ?<BR></FONT><BR></DIV></DIV></DIV>
<DIV>Hi Julien,<BR><BR>On 1/12/10 8:46 PM, Julien Chavanton wrote: 
<BLOCKQUOTE cite="" type="cite">
<DIV id=idOWAReplyText47999 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>I take this as an answer :</FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>"(Route set is filled with Record-Route values of the<BR>INVITE - 200)."</FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>Case closed, s</FONT><FONT face=Verdana><FONT size=2>orry but reading RFC about SIP proxy is not always 100% clear for me, for example there is no ACK in the example.</FONT></FONT></DIV></FONT></DIV></DIV></BLOCKQUOTE>indeed, Route headers are built out of Record-Route headers found in INVITE and 200ok.<BR><BR>Note that Kamailio is doing by default loose routing, you may find some devices still doing the old specs with strict-routing.<BR><BR>When it is the case of strict routing you find Contact address in last Route header, otherwise, with loose routing, contact address is in Request URI and Route headers only with addresses from Record-Route.<BR><BR>If you are involved in a scenario with strict and loose routers, then it is a bit more complex. However Kamailio deals very well with both separately or in a mixture.<BR><BR>Cheers,<BR>Daniel<BR><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>
</PRE></DIV></BODY></HTML>