Yealink Forums
NAPTR Defaulting to UDP, How to set TCP - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: General topics (/forumdisplay.php?fid=15)
+--- Thread: NAPTR Defaulting to UDP, How to set TCP (/showthread.php?tid=28868)



NAPTR Defaulting to UDP, How to set TCP - marcelm - 10-05-2016 09:41 AM

Hello,

As the subject describes, I'm working on setting up NAPTR with SRV records on a Yealink T27P. Everything seems to be working but the phone is defaulting to UDP transport and I need it to use TCP instead. I can't find anywhere to make this change. Is it possible to tell the phone to use TCP for NAPTR and SRV records?


RE: NAPTR Defaulting to UDP, How to set TCP - marcelm - 10-05-2016 11:57 PM

Just following up with my post. From what I understand this is done with the NAPTR record, you set the pirority of the protocol. I've found the following instructions

http://download.support.yealink.com/download?path=upload%2Fattachment%2F2015-3-10%2F3%2F2497e56d-76cd-4b6f-b14a-09effb6c7c1f%2FUsing%20Server%20Redundancy%20on%20Yealink%20IP%20Phones.pdf

In this document on page 12 it states:
Quote:The IP phone picks the first record, because its order of 90 is lower than 100. The pref parameter is unimportant as there is no other record with order 90. The flag "s" indicates performing the SRV query next. TCP will be used, targeted to a host determined by an SRV query of "_sip._tcp.yealink.pbx.com".

I am using Amazon Route 53 and I've setup my NAPTR and SRV records as follows

Code:
NAPTR
tennant1.server.com
90 50 "s" "SIP+D2T" "" _sip._tcp.tennant1.server.com

SRV
_sip._tcp.tennant1.server.com
0 2 5090 srv1.server.com.
0 1 5090 svr2.server.com.

Does anyone know if I am missing something?


RE: NAPTR Defaulting to UDP, How to set TCP - marcelm - 10-11-2016 03:06 AM

So there seems to be a bug in the *.70 firmware that causes it to only register with UDP. Upgrading the firmware resolves this issue but also causes other issues.


RE: NAPTR Defaulting to UDP, How to set TCP - Karl_Yealink - 10-17-2016 10:39 AM

When you using the NAPTR, the transport don't up to phone.
It's up to NAPTR record.You can configure the priority, then the phone will choose TCP transport. The priority up to order parameter, the smaller parameter has higher priority.

There is another possibility, do you fill port as 0?
Please check the attach image.
If the port explicit, the phone use UDP as default transport.