<div dir="ltr">In short, if NAT is detected during REGISTER - then Received is set (it later becomes the D-URI when sending something to that Contact).<div><br><div><div><a href="https://kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.p.received_avp">https://kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.p.received_avp</a><br></div></div></div><div><br></div><div>Regards,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 25, 2020 at 10:54 AM Daniel Greenwald <<a href="mailto:dgreenwald@gmail.com">dgreenwald@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>On a usrloc record there is an Address field and Received field. The Received field is sometimes not set. What causes it to be not set and what is the difference between the two fields. Sorry if this is a dumb question, I looked at documentation but couldn't find it spelled out. Here is are 2 examples from kamcmd ul.dump:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">{
</span><br> AoR: <a href="mailto:utkcf9b6h3@ata.phaxio.com" target="_blank">utkcf9b6h3@ata.phaxio.com</a>
<br> Contacts: {
<br> Contact: {
<br> Address: sip:utkc4ff9b6h3@69.78.34.56:4615;transport=tcp
<br> Expires: 42
<br> Q: -1.000000
<br> Call-ID: <a href="mailto:d1c314305df3d342@192.168.0.3" target="_blank">d1c314305df3d342@192.168.0.3</a>
<br> CSeq: 129173
<br> User-Agent: OBIHAI/OBi200-3.2.2.5898
<br> Received: [not set]
<br> Path: [not set]
<br> State: CS_NEW
<br> Flags: 0
<br> CFlags: 0
<br> Socket: tcp:<a href="http://10.0.22.254:5060" target="_blank">10.0.22.254:5060</a>
<br> Methods: 7839
<br> Ruid: uloc-5fbdd369-491e-4
<br> Instance: <urn:uuid:00000000-0000-0000-0000-9cadef62b3da>
<br> Reg-Id: 0
<br> Server-Id: 0
<br> Tcpconn-Id: 58
<br> Keepalive: 0
<br> Last-Keepalive: 1606317577
<br> Last-Modified: 1606317577
<br> }
<br> }
<br>}<br>
</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"> Contact: {<br> Address: <a href="http://sip:mfjngfd272av@192.168.0.106:5060" target="_blank">sip:mfjngfd272av@192.168.0.106:5060</a><br> Expires: 30<br> Q: -1.000000<br> Call-ID: <a href="mailto:67413de375b2e76c@192.168.0.106" target="_blank">67413de375b2e76c@192.168.0.106</a><br> CSeq: 146320<br> User-Agent: OBIHAI/OBi300-3.2.2.5921<br> Received: sip:<a href="http://70.34.56.78:5060" target="_blank">70.34.56.78:5060</a><br> Path: [not set]<br> State: CS_NEW<br> Flags: 0<br> CFlags: 64<br> Socket: udp:<a href="http://10.0.22.254:5060" target="_blank">10.0.22.254:5060</a><br> Methods: 7839<br> Ruid: uloc-5fbdd369-490e-efa3<br> Instance: <urn:uuid:00000000-0000-0000-0000-9cadef810877><br> Reg-Id: 0<br> Server-Id: 0<br> Tcpconn-Id: -1<br> Keepalive: 1<br> Last-Keepalive: 1606314719<br> Last-Modified: 1606314719<br> }<br></span></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>