Skip to main content

yealink registration issue to kamailio after internet outage

Posted by wu on Wed, 08/11/2021

my home internet provider has issue, while the issue resolved, I found incoming calls not work, in kamailio status, there are 2 entries registered.

one is using port 5061, the other is using port 5062, there is only one phone, so one entry must be out of date, but still there after at least 4 hours.

kamcmd ul.dump

<<
Info: {
AoR: 215-prodosec
HashID: 361995922
Contacts: {
Contact: {
Address: sip:215-prodosec@108.161.166.67:5061
Expires: 46
Q: -1.000000
Call-ID: 0_3126535985@192.168.0.100
CSeq: 160
User-Agent: Yealink SIP-T41S 66.85.0.5
Received: [not set]
Path: [not set]
State: CS_SYNC
Flags: 0
CFlags: 0
Socket: udp: hide server IP:5060
Methods: 16383
Ruid: uloc-61118d6e-964-d92
Instance: [not set]
Reg-Id: 0
Server-Id: 0
Tcpconn-Id: -1
Keepalive: 0
Last-Keepalive: 1628716435
KA-Roundtrip: 0
Last-Modified: 1628716435
}
Contact: {
Address: sip:215-prodosec@108.161.166.67:5062
Expires: 196
Q: -1.000000
Call-ID: 0_3126535985@192.168.0.100
CSeq: 161
User-Agent: Yealink SIP-T41S 66.85.0.5
Received: [not set]
Path: [not set]
State: CS_SYNC
Flags: 0
CFlags: 0
Socket: udp: hide server IP :5060
Methods: 16383
Ruid: uloc-61118d6e-961-f33
Instance: [not set]
Reg-Id: 0
Server-Id: 0
Tcpconn-Id: -1
Keepalive: 0
Last-Keepalive: 1628716585
KA-Roundtrip: 0
Last-Modified: 1628716585
}
}
}

<<


Submitted by volodya on Thu, 08/12/2021 Permalink

Hello,

According to the output, the first contact would expire in 46 seconds and the second one in 161 seconds. What is your registration expiration value? You might want to reduce it.

Submitted by wu on Fri, 08/13/2021 Permalink

it is the 300 seconds, default value.
the issue happen randomly, after I reboot the pbx, unplug the yealink over 12 hours, then plug phone back, the issue is gone.

Submitted by volodya on Fri, 08/13/2021 Permalink

Hello,

You can unplug your phone and run "kamcmd ul.dump" few times to check Expires value and verify that the contact will eventually expire.