dns_cache_flags = 4

https://www.kamailio.org/wikidocs/cookbooks/5.6.x/core/#dns_cache_flags

On Mon, Apr 22, 2024 at 3:18 PM Bernd Krueger-Knauber via sr-users <sr-users@lists.kamailio.org> wrote:
Hi,

I set up a transparent kamailo proxy for IPv4 and IPv6.

The PBX which should be reached can handle both.
Now I have the case that the phone comes in on IPv6, but kamailio sends
it out via IPv4.
If I ping the PBX on the kamailio server (debian) I get the IPv6
address, since it is preferred.

Why does kamailio send to the IPv4 address of the PBX?
And how can I change this?

There are only A and AAAA records in the DNS

dns_try_ipv6=yes

is set.

Debian 12.5
Kamailio 5.6.5

Any hint is welcome.

Best regards

Bernd


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: