Hi Rick
Add the fqdn as the alias after the listen.
listen=tcp:127.0.0.1:5060 advertise "sip.dns.example.com":5060
Thank you for pointing me the right direction.
I just also read: http://www.kamailio.org/wiki/cookbooks/devel/core#listen
But I don't get the hostname added.
I attempted (x.x.x.x of course with real IP and real domain names)
listen = udp:x.x.x.x:5060 advertise "sip.dns.example.com":5060
=> x.x.x.x is put in Via and Record-Route header.
listen = udp:x.x.x.x:5060 advertise "sip.dns.example.com"; # as per cookbook, without port
=> x.x.x.x is put in Via and Record-Route header.
listen = udp:x.x.x.x:5060 advertise 11.11.11.11:5060; # as per cookbook
=> 11.11.11.11 is put in Via and Record-Route header.
So this does not seem to take a hostname as parameter. Am I missing something? Like could an alias= line cause this not to work?
Mit freundlichen Grüssen
-Benoît Panizzon-