CP-6921 With sip firmware

In order to make my old Cisco CP-6921 works with FreePBX 17, I had to TFTP the latest SIP Firmware and was able to make it work just fine, until I noticed the following in the log when I push the DND button

[2025-03-01 20:09:44] NOTICE[976970]: res_pjsip/pjsip_distributor.c:673 log_failed_request: Request ‘PUBLISH’ from ‘sip:[email protected]’ failed for ‘172.20.208.65:36112’ (callid: [email protected]) - Failed to authenticate
<— Transmitting SIP response (538 bytes) to TCP:172.20.208.65:36112 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP 172.20.208.65:36112;rport=36112;received=172.20.208.65;branch=z9hG4bK00007d2b
Call-ID: [email protected]
From: sip:[email protected];tag=c84c75575a8d008600007e7f-0000562b
To: sip:[email protected];tag=z9hG4bK00007d2b
CSeq: 122 PUBLISH
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1740852584/973a4df745f847c1f618665ef69fc053”,opaque=“098ae52b1e2df23b”,algorithm=MD5,qop=“auth”
Server: FPBX-17.0.19.23(22.1.0)
Content-Length: 0

Noticed its trying to authenticate using the phone mac address instaed of the user auth, while when registering the phone it uses the auth user and authenticate successfully and it makes and recives calls just fine.

But the firewall blocks it after a while when I hit the DND button

Maybe add some endpoints manually to accommodate in pjsip_custom.conf files ?

Asterisk can natively handle MACs as usernames.

According to this thread Asterisk has no concept of DND:

Syncing Cisco 8865 as-feature-event DND to Show Busy/In-Use in FreePBX - Asterisk / Asterisk SIP - Asterisk Community

1 Like