<div dir="ltr">Hello Everyone,<div><br></div><div>After reading the documentation for the NAT traversal module I have a couple questions about it, some specific to my purpose of proxying presence messages:</div><div><br></div><div>1) I came across this old page (<a href="https://www.opensips.org/Development/Nattraversal">https://www.opensips.org/Development/Nattraversal</a>) on the OpenSIPS website seeming to indicate that the nathelper module was going to go away at some point.  I'm guessing that work is not being done anymore, but wondering if one module is better than the other, or are both fine?  It seems like NAT traversal has more flexibility for keepalives outside of just for registrations.</div><div><br></div><div>2) In the NAT traversal documentation, section 1.8.3 Subscription in multi-proxy environments, it says:</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>We have a user agent UA1 for which subscriptions are handled by the proxy P1. However UA1 sends the SUBSCRIBE to P0 which in turn forwards it to P1 like this: UA1 --> P0 --> P1. In this case P0 calls nat_keepalive(), then calls record_route() to stay in the path and forwards the request to P1 using t_relay().Further SUBSCRIBE and NOTIFY requests will follow the record route and use P0 as a NAT entry point to have access to UA1.<br></div></blockquote><br></div><div>Basically I'm wondering how P0 would keep track of the received/NAT address of UA1 for routing the NOTIFY it gets, without relying on UA1 to be registered and stored in the location table?  P1 will route the NOTIFY to P0 because of Record Routing, but the Contact in the message will either have a domain name or private IP address.  Is this recommendation assuming that fix_contact() should be called before relaying the subscribe message?</div><div><br></div><div>I can probably just add the received address info in parameters on the record-route (I tested this does work), or on the Contact, in the original SUBSCRIBE, but this doesn't seem like a clean solution.  Am I missing a better or easier way to accomplish this?  I didn't have good luck with the topology_hiding module or dialog module with presence, so my last resort would be to store subscriptions in a new location table.</div><div><br></div><div>Sorry for the long post, any help would be greatly appreciated!</div><div><br></div><div>Thanks,</div><div>Nate</div></div>