Sorry for late reply since it was lunar new year in Taiwan.
The reason we need the the advertised address is we have several kamailio servers hosted
in different cloud hosting service and we will manually get the `socket` information (IP
address in our case) from `location` table. Therefore if the address stored in `socket`
column are internal IPs then it would fail when our other relay servers try to communicate
with those internal IPs. (Since other servers may be located in different datacentre).
But I think it's our design problem, your suggestion is great and we will be sorting
out according to it.
Thanks!
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/471#issuecomment-183632338