Have you tried using set_advertised_address *after* engaging topology_hiding? 
We do this and it works fine for us.

Ben Newlin

From: Users <[email protected]> on behalf of Mark Farmer 
<[email protected]>
Reply-To: OpenSIPS users mailling list <[email protected]>
Date: Monday, March 16, 2020 at 8:29 AM
To: OpenSIPS users mailling list <[email protected]>
Subject: [OpenSIPS-Users] Dynamic Contact Hostname

Hi everyone

I am looking for a way to control the hostname part of the contact header. 
Reading the documentation I think set_advertised_address() is what I need but 
if I call set_advertised_address("FQDN") followed by topology_hiding("UC") the 
contact header is incorrect.

If I set 'listen=tls:XXX.XXX.XXX.XXX:5061 as FQDN:5061' and only call 
topology_hiding("UC") then the contact header hostname is set to FQDN.

How can I control this?

Many thanks!
Mark.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to