I was reading the docs regarding the disable_tcp_switch option and it reads like it only applies to outbound packets. This brings up 2 questions. I ran into a situation where if the DNS server needs to send a large dns_srv packet it will switch to TCP and if the endpoint/AOR is only set for UDP and/or there is no TCP transport configured things will go haywire.
So 1: Is adding a TCP transport as simple as
[transport_tcp] type=transport protocol=tcp bind=0.0.0.0:5060 using the same IP and port as the UDP transport?
Will a standard endpoint/AOR specified as UDP automatically switch to TCP and accept the packet?