Afaik, this config param was always only for Via headers. For Record-Route, there are some functions inside the rr module targeting this option.
Anyhow, I think `advertised_address` and `advertised_port` should be deprecated and removed, in favor of `advertise` option for `listen` parameter.
I updated the wiki to reflect that it applies only to Via and added note about doing advertise via listen parameter.