In short, if NAT is detected during REGISTER - then Received is set (it later becomes the D-URI when sending something to that Contact).
https://kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.p.received_avp Regards, On Wed, Nov 25, 2020 at 10:54 AM Daniel Greenwald <[email protected]> wrote: > 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: > { > AoR: [email protected] > Contacts: { > Contact: { > Address: > sip:[email protected]:4615;transport=tcp > > Expires: 42 > Q: -1.000000 > Call-ID: [email protected] > CSeq: 129173 > User-Agent: OBIHAI/OBi200-3.2.2.5898 > Received: [not set] > Path: [not set] > State: CS_NEW > Flags: 0 > CFlags: 0 > Socket: tcp:10.0.22.254:5060 > Methods: 7839 > Ruid: uloc-5fbdd369-491e-4 > Instance: > <urn:uuid:00000000-0000-0000-0000-9cadef62b3da> > Reg-Id: 0 > Server-Id: 0 > Tcpconn-Id: 58 > Keepalive: 0 > Last-Keepalive: 1606317577 > Last-Modified: 1606317577 > } > } > } > > > > > Contact: { > Address: sip:[email protected]:5060 > Expires: 30 > Q: -1.000000 > Call-ID: [email protected] > CSeq: 146320 > User-Agent: OBIHAI/OBi300-3.2.2.5921 > Received: sip:70.34.56.78:5060 > Path: [not set] > State: CS_NEW > Flags: 0 > CFlags: 64 > Socket: udp:10.0.22.254:5060 > Methods: 7839 > Ruid: uloc-5fbdd369-490e-efa3 > Instance: <urn:uuid:00000000-0000-0000-0000-9cadef810877> > Reg-Id: 0 > Server-Id: 0 > Tcpconn-Id: -1 > Keepalive: 1 > Last-Keepalive: 1606314719 > Last-Modified: 1606314719 > } > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
