The purpose of the value in the database table 'location' is for internal usage of Kamailio. Why would you need to be the advertised address? Is for external purposes?

That value is used by kamailio when doing the lookup(location) to find the appropriate socket. If the socket is not found, then the field is ignored.

If you just need the socket for some external purpose, better save it as a location attribute, it will be stored in location_attrs table.


Reply to this email directly or view it on GitHub.