<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
On Thu, 2012-12-06 at 13:20 +0100, Daniel-Constantin Mierla wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Address in firth path will be used to set $du anyhow, not sure what the flow token implies, but might be just done from config.<BR>
    <BR>
</BLOCKQUOTE>
<BR>
The flow token is the user part of the Path-URI and is an encrypted string that indicates the source IP address, port, and protocol of the REGISTER request.&nbsp; So for NAT traversal purposes you want to send to the place the flow token indicates, not what is actually in the host part of the Path-URI (but only if the Path-URI has an ;ob parameter).&nbsp; The idea is that even on a single server system with clients that do not support outbound it should be possible to &quot;force outbound&quot; so as to get this into the location table.<BR>
<BR>
Basically, when using outbound like this, the aliasing stuff in nathelper and the received AVP/parameter/column in registrar and usrloc are obsoleted.<BR>
<BR>
The useful parts remaining in nathelper will be nat_uac_test() and nat pinging.&nbsp; Although, for outbound capable clients nat pinging on the server is not needed as the clients will send STUN requests to the SIP server anyway.&nbsp; This means the when outbound support is complete, STUN should be enabled by default on the Kamailio builds.<BR>
<BR>
Regards,<BR>
<BR>
Peter<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>