Hello,
we are using asterisk version 1.4.36.
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 know it is not a phone issue because i tried from the same phone but diffrent servers.
and in1 server it does work.
sip.conf:
[general]
language=en
rtpkeepalive=30
rtptimeout=120
srvlookup=yes
dtmfmode=rfc2833
rfc2833compensate=yes
toneduration=300
progressinband=yes
prematuremedia=no
cos_sip=4
cos_audio=5
tos_sip=cs3
tos_audio=ef
allowguest=no
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.