[sr-dev] [kamailio/kamailio] registrar: added new parameter sock_addr (#2498)

Daniel-Constantin Mierla notifications at github.com
Tue Oct 6 14:49:16 CEST 2020


The use of `useinfo` field is when you want to store `advertised` address set to `listen` parameter. It is not about using it for the value of the new parameter `sock_addr`.

As I mentioned above, setting the `sock_addr` value via modparm is ok only using kamailio with a single listen address. I find its purpose really limited from that perspective.

The socket field in database location table is important to match a local listen socket (by listen address or advertised address) when phones connect from behind nat.

So, what I meant to store the value from useinfo requires to update other parts of usrloc (or registrar) module to use it when is set (that happens when advertise is in listen value) and if not, store the filed done right now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2498#issuecomment-704245604
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201006/ad896ddd/attachment-0001.htm>


More information about the sr-dev mailing list