I have recently found that BLF is not working on my system when using PJSIP.
It works only until a reload (apply config) is performed and then the BLF light on the phone freezes. You can still press the button, but the light stays at whatever it was at before the reload.
I am running Asterisk 13.23.1, FreePBX HA and Yealink phones.
I initially thought that it might be the issue where new Yealink V84 firmware is enforcing a RFC standard that Asterisk doesn’t support but this is a different problem as it’s also happening on old (V81) firmware and only on PJSIP, chansip is fine.
The difference I see is that after the Asterisk reload the phone is no longer responding to the Notify from Asterisk to update the BLF key with a 200 OK.
When I reboot the phone the BLF keys work again, but only until the next Asterisk reload.
This is the Notify BEFORE the reload, which correctly updates the BLF key:
<--- Transmitting SIP request (832 bytes) to UDP:10.124.193.90:5060 --->
NOTIFY sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.182:5160;rport;branch=z9hG4bKPja6aff501-becd-4e66-a189-f7e0ccaf404e
From: <sip:*458710*[email protected]>;tag=e3a99d4c-483b-42ca-917e-f9769fda57d3
To: "8710" <sip:[email protected]>;tag=322392347
Contact: <sip:10.1.1.182:5160>
Call-ID: [email protected]
CSeq: 2224 NOTIFY
Event: dialog
Subscription-State: active;expires=1744
Allow-Events: message-summary, presence, dialog, refer
Max-Forwards: 70
User-Agent: FPBX-13.0.197.15(13.23.1)
Content-Type: application/dialog-info+xml
Content-Length: 245
<?xml version="1.0" encoding="UTF-8"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="4" state="full" entity="sip:*458710*[email protected]:5160">
<dialog id="*458710*8720">
<state>terminated</state>
</dialog>
</dialog-info>
<--- Received SIP response (397 bytes) from UDP:10.124.193.90:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.1.1.182:5160;rport=5160;branch=z9hG4bKPja6aff501-becd-4e66-a189-f7e0ccaf404e
From: <sip:*458710*[email protected]>;tag=e3a99d4c-483b-42ca-917e-f9769fda57d3
To: "8710" <sip:[email protected]>;tag=322392347
Call-ID: [email protected]
CSeq: 2224 NOTIFY
Contact: <sip:[email protected]:5060>
User-Agent: Yealink SIP-T23G 44.81.0.70
Content-Length: 0
<--- Transmitting SIP request (416 bytes) to UDP:10.124.193.90:5060 --->
BYE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.182:5160;rport;branch=z9hG4bKPjaa62654a-13e5-4bf2-bc08-e5d5868bbc54
From: <sip:*458710*[email protected]>;tag=e09f76f3-5522-4313-8836-e1813c3f7ad2
To: "8710" <sip:[email protected]>;tag=1644165840
Call-ID: [email protected]
CSeq: 4941 BYE
Reason: Q.850;cause=16
Max-Forwards: 70
User-Agent: FPBX-13.0.197.15(13.23.1)
Content-Length: 0
<--- Received SIP response (355 bytes) from UDP:10.124.193.90:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.1.1.182:5160;rport=5160;branch=z9hG4bKPjaa62654a-13e5-4bf2-bc08-e5d5868bbc54
From: <sip:*458710*[email protected]>;tag=e09f76f3-5522-4313-8836-e1813c3f7ad2
To: "8710" <sip:[email protected]>;tag=1644165840
Call-ID: [email protected]
CSeq: 4941 BYE
User-Agent: Yealink SIP-T23G 44.81.0.70
Content-Length: 0
This is the one that doesn’t correctly update the BLF key and which lacks a 200 OK response from the phone:
<--- Transmitting SIP request (832 bytes) to UDP:10.124.193.90:5060 --->
NOTIFY sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.182:5160;rport;branch=z9hG4bKPj432de06b-637a-4ca5-b402-525688295155
From: <sip:*458710*[email protected]>;tag=e3a99d4c-483b-42ca-917e-f9769fda57d3
To: "8710" <sip:[email protected]>;tag=322392347
Contact: <sip:10.1.1.182:5160>
Call-ID: [email protected]
CSeq: 2226 NOTIFY
Event: dialog
Subscription-State: active;expires=1679
Allow-Events: message-summary, presence, dialog, refer
Max-Forwards: 70
User-Agent: FPBX-13.0.197.15(13.23.1)
Content-Type: application/dialog-info+xml
Content-Length: 245
<?xml version="1.0" encoding="UTF-8"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="6" state="full" entity="sip:*458710*[email protected]:5160">
<dialog id="*458710*8720">
<state>terminated</state>
</dialog>
</dialog-info>
<--- Transmitting SIP request (416 bytes) to UDP:10.124.193.90:5060 --->
BYE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.182:5160;rport;branch=z9hG4bKPjfd8ad138-7dc1-42b4-9a93-66103391077d
From: <sip:*458710*[email protected]>;tag=d6b4af33-6da9-4a75-a917-e19444b50fae
To: "8710" <sip:[email protected]>;tag=921478954
Call-ID: [email protected]
CSeq: 16347 BYE
Reason: Q.850;cause=16
Max-Forwards: 70
User-Agent: FPBX-13.0.197.15(13.23.1)
Content-Length: 0
<--- Received SIP response (355 bytes) from UDP:10.124.193.90:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.1.1.182:5160;rport=5160;branch=z9hG4bKPjfd8ad138-7dc1-42b4-9a93-66103391077d
From: <sip:*458710*[email protected]>;tag=d6b4af33-6da9-4a75-a917-e19444b50fae
To: "8710" <sip:[email protected]>;tag=921478954
Call-ID: [email protected]
CSeq: 16347 BYE
User-Agent: Yealink SIP-T23G 44.81.0.70
Content-Length: 0