07-12-2015, 07:26 PM
We have a weird problem. After a non successfull call (like a very long number and such), the phone (Yealink-any) gets "call time out" and then loses it registration.
I ran wireshark and noticed that the phone does not ACK to the 487 requst terminated, so the server is sendindgit multiple times.
fllow:
PHONE SERVER
----------------->INVITE
407 PROXY<--------------
------------------->ACK
----------------->INVITE
100 Trying<------------
CANCEL---------------->
487 Requst terminated<--
200 OK<----------------
487 Requst terminated<--
487 Requst terminated<--
487 Requst terminated<--
487 Requst terminated<--
487 Requst terminated<--
487 Requst terminated<--
OPTION sip2002@X.X.X.X<---
200 OK---------------->
487 Requst terminated<--
200 OK---------------->
REGISTER-------------->
and then it reregister.
and this is a regular CANCEL i did -
fllow:
PHONE SERVER
----------------->INVITE
407 PROXY<--------------
------------------->ACK
----------------->INVITE
100 Trying<------------
CANCEL---------------->
487 Requst terminated<--
200 OK<-----------------
ACK-------------------->
I am using Asterisk on Centos.
I ran wireshark and noticed that the phone does not ACK to the 487 requst terminated, so the server is sendindgit multiple times.
fllow:
PHONE SERVER
----------------->INVITE
407 PROXY<--------------
------------------->ACK
----------------->INVITE
100 Trying<------------
CANCEL---------------->
487 Requst terminated<--
200 OK<----------------
487 Requst terminated<--
487 Requst terminated<--
487 Requst terminated<--
487 Requst terminated<--
487 Requst terminated<--
487 Requst terminated<--
OPTION sip2002@X.X.X.X<---
200 OK---------------->
487 Requst terminated<--
200 OK---------------->
REGISTER-------------->
and then it reregister.
and this is a regular CANCEL i did -
fllow:
PHONE SERVER
----------------->INVITE
407 PROXY<--------------
------------------->ACK
----------------->INVITE
100 Trying<------------
CANCEL---------------->
487 Requst terminated<--
200 OK<-----------------
ACK-------------------->
I am using Asterisk on Centos.