Hello Benoît,

Add the fqdn as the alias after the listen.

listen=tcp:127.0.0.1:5060 advertise "sip.dns.example.com":5060
Best
Rick

On 13. Dec 2022, at 10:45, Benoit Panizzon <benoit.panizzon@imp.ch> wrote:

Hi Folks

We use two 'core' instances and two 'registrar' instances.

The pairs sync their information (Dialogues + Locations) via DMQ.

But I noticed that they record the Via and Record-Routes by IP
addresses. So I guess if one fails, signaling would not automatically
switch to the remaining host as the IP of the failed one is in the
header, right?

So, is there a way to put a DNS resolvable host-name in the Via and
Record-Route header, so that DNS round-robin would make sure requests
reach the available server if one of the pairs fails?

Mit freundlichen Grüssen

-Benoît Panizzon-
--
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users