[OpenSIPS-Users] Dynamic Contact Hostname

Ben Newlin Ben.Newlin at genesys.com
Mon Mar 16 13:02:16 EST 2020


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

Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of Mark Farmer <farmorg at gmail.com>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Monday, March 16, 2020 at 8:29 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200316/f8342029/attachment.html>


More information about the Users mailing list