[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wont reregister while TCP retransmissions.
Author Message
btu00 Offline
Junior Member
**

Posts: 2
Joined: Aug 2014
Reputation: 0
Post: #1
Wont reregister while TCP retransmissions.
Hi,

I have a T41P handset. Whist it is all working there is no problem, However if I break the link to the internet on my router and reconnect it then the TP41 will not reregister for about 15 minutes.

So a wireshark trace shows that the SIP message (I have seen it happen on a sip register and a sip subscribe) starts a TCP retransmission of the packet. (because the wan was broken and no reply was received) . This retransmission happens quickly at first and then slows to about once ever 30 seconds. Other NTP and DNS functions continue to happen around this but no further SIP happens until the TCP retransmission stop, why they stop I do not know, timer expiry or count expiry?? but it takes 12 to 15 minutes then SIP register will happen again and all is ok.

Any Ideas please?

Brett
08-26-2014 10:22 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,684
Joined: Dec 2012
Reputation: 24
Post: #2
RE: Wont reregister while TCP retransmissions.
Hi Btu00,

What you mentioned is that,when you reboot the router in your side(so that the wan is broken,then reconnect),the phone would send a lot of TCP retransmissions,during that period,the phone will not register.
I have one doubt that ,in your scenario,the status of the account is from registered to deregistered,and after 15 minutes,the phone is register again ? or,when you break the wan,then you just start to register the account ,and find out that it cannot be registered?
Thx
08-26-2014 02:03 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
btu00 Offline
Junior Member
**

Posts: 2
Joined: Aug 2014
Reputation: 0
Post: #3
RE: Wont reregister while TCP retransmissions.
Hi,

It looks like the router is resetting the state full firewall table when the wan drops. The result is when the wan restores the tcp retransmission is seen as a invalid packet( not part of an established flow). Problem is only on tcp, udp is ok.

Also if I alter any account settings on the t41p it restarts the register process. GDP syn etc and this immediately works ok. Is there a setting I can alter to reduce the time taken to timeout a failed tcp flow?

Regards
08-26-2014 07:07 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
coco Offline
Super Moderator
******

Posts: 113
Joined: Aug 2014
Reputation: 0
Post: #4
RE: Wont reregister while TCP retransmissions.
Hi btu00,

Please try to reduce the value of below setting in the web interface:
Account-Advanced-SIP Registration Retry Timer(0~1800s).
And to see whether the issue will be fixed or not.

[Image: attachment.php?aid=973]


Attached File(s) Thumbnail(s)
   
(This post was last modified: 09-01-2014 10:52 AM by coco.)
09-01-2014 10:38 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
JMComstock Offline
Junior Member
**

Posts: 12
Joined: Jan 2015
Reputation: 0
Post: #5
RE: Wont reregister while TCP retransmissions.
Hi,

I have this same issue and changing the SIP setting, as suggested, does not remedy the problem. You are correct that the router/firewall resets the NAT translations under certain circumstances such as a reboot.

In the log, level 6, the REGISTER attempts to go out and it knows there is an error, but it does not seem willing to reset the socket connection for about 10-15 minutes.

As follows:

Nov 18 22:11:26 SIP [464]: SDL <6+info > [000] REGISTER sip:pbx.qwerty.com SIP/2.0^M

Nov 18 22:11:27 SIP [464]: SDL <6+info > [000] Cannot connect socket node / select timeout (1000 ms)
Nov 18 22:11:27 SIP [464]: SDL <6+info > [000] socket node:216.241.164.84, socket 15 [pos=0], in progress
Nov 18 22:11:58 SIP [463]: SUA <6+info > [000] App event:[0x8000000a] wParam:(0x0000),lParam:(0x0000) SIP_MSG_UPDATE_ECORE_EVENT
Nov 18 22:11:58 SIP [463]: SUA <6+info > [000] Emb event:[0x00000002] recv
Nov 18 22:11:58 SIP [463]: SUA <3+error > [000] [Server0]: try reg again after (30) s

It tries this over and over for about 10 to 15 minutes.

But it is not until it finally decides to read the socket that it figures out the SOCKET is dead:

Nov 18 22:13:00 SIP [463]: SUA <3+error > [000] [Server0]: try reg again after (30) s

Nov 18 22:13:18 SIP [464]: SDL <3+error > [000] Could not read socket - close it

At that point it re-registers correctly.

Can you see if the developers can close the TCP socket after the first reg failure?

Thanks in advance.
11-19-2015 07:55 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Bug Yealink T46G wont turn on after firmware update mike702 1 522 02-02-2021 08:21 PM
Last Post: complex1
  T48G wont connect "Skype Calls" from other users Bud 3 3,600 06-14-2018 03:27 AM
Last Post: Klaus_Yealink

Forum Jump:


User(s) browsing this thread:

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication