[Devel] SRV defaults to UDP only

Tim Missner tim at zattco.com
Thu Apr 5 16:10:44 CEST 2007


Hello,

While trying to implement failover using DNS SRV records we have found only
udp is resolved as a transport, even if the proxy is configured to use TCP.

In resolve.c function sip_resolvehost it appears when no protocol is set udp
is the default.

Is this by design?

We never see _sip._tcp.domain.com being resolved.

I was able to force this by setting *proto = PROTO_TCP sip_resolvehost.

So my question is this, with the absence of NAPTR records how can we get
openser to lookup both upd and tcp SRV records?

Thanks,

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20070405/fb87c229/attachment.html


More information about the Devel mailing list