Franz Edler writes:
Meanwhile I verified in my tests that t_relay only does an SRV lookup towards _sip._udp.<domain> and no NAPTR lookup as I expected. That means if I want to use TCP between two SIP servers I have to use t_relay_to_tcp(ip, port) explicitly in my configuration file and cannot use DNS data to control transport protocol selection.
without NAPTR support, perhaps easiest solution would be a configuration parameter telling which transport (udp or tcp) is the preferred one when doing the SRV query and if no reply is got, then the other transport would be queried.
-- juha