[OpenSER-Devel] naptr preference not respected

Juha Heinanen jh at tutpro.com
Sat Oct 27 17:14:40 UTC 2007


i have tried to do more openser tcp tests, but have noticed that openser
trunk does not respect naptr preference.

i have

 host -t naptr test.tutpro.com
test.tutpro.com has NAPTR record 10 20 "s" "SIPS+D2T" "" _sip._udp.test.tutpro.com.
test.tutpro.com has NAPTR record 10 10 "s" "SIPS+D2T" "" _sip._tcp.test.tutpro.com.

and

 host -t srv _sip._tcp.test.tutpro.com.
_sip._tcp.test.tutpro.com has SRV record 0 0 5060 test.tutpro.com.

when openser serving tutpro.com receives invite to
sip:jh at test.tutpro.com, it does not forward it using tcp, but udp.
according to rfc 2915, lower preference value (in this case 10) should
be preferred over larger one (in this case 20).

i don't have disable_tcp=yes.

should openser in theory respect preference or is it something that has
not been implemented yet?

-- juha



More information about the Devel mailing list