Failed To Register

…and this happens, when the same phone tries to register at extension 92;
[[email protected] ~]# asterisk -rvvv
Asterisk 16.25.0, Copyright (C) 1999 - 2021, Sangoma Technologies Corporation and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 16.25.0 currently running on cent (pid = 73042)
<— Transmitting SIP request (466 bytes) to UDP:212.227.124.130:5060 —>
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 217.160.249.134:5060;rport;branch=z9hG4bKPj4a6d4abf-2963-4f03-b678-3528d3b82e4f
From: sip:[email protected];tag=7441cf19-7d9d-4b58-a88c-71b2a99413df
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 0e29e554-2ba1-433b-9180-484cc825d56a
CSeq: 41782 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Received SIP response (419 bytes) from UDP:212.227.124.130:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.160.249.134:5060;rport=5060;branch=z9hG4bKPj4a6d4abf-2963-4f03-b678-3528d3b82e4f;received=217.160.249.134
From: sip:[email protected];tag=7441cf19-7d9d-4b58-a88c-71b2a99413df
To: sip:[email protected];tag=afe348e378f926b4e3bf8536bde083f0.a58dda95
Call-ID: 0e29e554-2ba1-433b-9180-484cc825d56a
CSeq: 41782 OPTIONS
Server: UI Kamailio
Content-Length: 0

<— Received SIP request (564 bytes) from UDP:91.34.111.79:62861 —>
REGISTER sip:217.160.249.134 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.7:5060;branch=z9hG4bK2552178526
From: “Arbeitszimmer” sip:[email protected];tag=2552074053
To: “Arbeitszimmer” sip:[email protected]
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:5060
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T46S 66.86.0.15
Expires: 3600
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

<— Transmitting SIP response (507 bytes) to UDP:91.34.111.79:62861 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.50.7:5060;rport=62861;received=91.34.111.79;branch=z9hG4bK2552178526
Call-ID: [email protected]
From: “Arbeitszimmer” sip:[email protected];tag=2552074053
To: “Arbeitszimmer” sip:[email protected];tag=z9hG4bK2552178526
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1659629987/18230c5358939b7e87b9dc1815da833a”,opaque=“2e9590c32e367ffc”,algorithm=md5,qop=“auth”
Server: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Received SIP request (830 bytes) from UDP:91.34.111.79:62861 —>
REGISTER sip:217.160.249.134 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.7:5060;branch=z9hG4bK2552275891
From: “Arbeitszimmer” sip:[email protected];tag=2552074053
To: “Arbeitszimmer” sip:[email protected]
Call-ID: [email protected]
CSeq: 2 REGISTER
Contact: sip:[email protected]:5060
Authorization: Digest username=“92”, realm=“asterisk”, nonce=“1659629987/18230c5358939b7e87b9dc1815da833a”, uri=“sip:217.160.249.134”, response=“fc56df1a95f2264b8fb706009e2c22d5”, algorithm=MD5, cnonce=“2552356937”, opaque=“2e9590c32e367ffc”, qop=auth, nc=00000001
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T46S 66.86.0.15
Expires: 3600
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

-- Added contact 'sip:[email protected]:62861;x-ast-orig-host=192.168.50.7:5060' to AOR '92' with expiration of 3600 seconds

<— Transmitting SIP response (453 bytes) to UDP:91.34.111.79:62861 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.50.7:5060;rport=62861;received=91.34.111.79;branch=z9hG4bK2552275891
Call-ID: [email protected]
From: “Arbeitszimmer” sip:[email protected];tag=2552074053
To: “Arbeitszimmer” sip:[email protected];tag=z9hG4bK2552275891
CSeq: 2 REGISTER
Date: Thu, 04 Aug 2022 16:19:47 GMT
Contact: sip:[email protected]:5060;expires=3599
Expires: 3600
Server: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Transmitting SIP request (426 bytes) to UDP:91.34.111.79:62861 —>
OPTIONS sip:[email protected]:62861 SIP/2.0
Via: SIP/2.0/UDP 217.160.249.134:5060;rport;branch=z9hG4bKPj883ef919-e372-4618-b9ef-09ed042bc656
From: sip:[email protected];tag=b0dc5508-ea15-45f3-8981-390da988e086
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: c2928ba9-24f6-4ed7-9122-ac2331cc8055
CSeq: 24134 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Transmitting SIP request (636 bytes) to UDP:91.34.111.79:62861 —>
NOTIFY sip:[email protected]:62861 SIP/2.0
Via: SIP/2.0/UDP 217.160.249.134:5060;rport;branch=z9hG4bKPjebe52d13-2daa-44b4-9286-1fbfc821b238
From: sip:[email protected];tag=fe6031ce-44c0-4423-91ef-9ba26e751029
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 0a84c391-2b0b-4855-a9c2-cede242ff781
CSeq: 5668 NOTIFY
Subscription-State: terminated
Event: message-summary
Allow-Events: presence, dialog, message-summary, refer
Max-Forwards: 70
User-Agent: FPBX-16.0.21.8(16.25.0)
Content-Type: application/simple-message-summary
Content-Length: 48

Messages-Waiting: no
Voice-Message: 0/0 (0/0)

<— Received SIP request (455 bytes) from UDP:91.34.111.79:62861 —>
SUBSCRIBE sip:*97#@217.160.249.134 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.7:5060;branch=z9hG4bK2552509281
From: “Arbeitszimmer” sip:[email protected];tag=2552370560
To: sip:*97#@217.160.249.134
Call-ID: [email protected]
CSeq: 1 SUBSCRIBE
Contact: sip:[email protected]:5060
Accept: application/simple-message-summary
Max-Forwards: 70
User-Agent: Yealink SIP-T46S 66.86.0.15
Expires: 3600
Event: message-summary
Content-Length: 0

<— Transmitting SIP response (496 bytes) to UDP:91.34.111.79:62861 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.50.7:5060;rport=62861;received=91.34.111.79;branch=z9hG4bK2552509281
Call-ID: [email protected]
From: “Arbeitszimmer” sip:[email protected];tag=2552370560
To: sip:*97%[email protected];tag=z9hG4bK2552509281
CSeq: 1 SUBSCRIBE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1659629987/18230c5358939b7e87b9dc1815da833a”,opaque=“2abfed7c226650c0”,algorithm=md5,qop=“auth”
Server: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Received SIP response (364 bytes) from UDP:91.34.111.79:62861 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.160.249.134:5060;rport=5060;branch=z9hG4bKPj883ef919-e372-4618-b9ef-09ed042bc656
From: sip:[email protected];tag=b0dc5508-ea15-45f3-8981-390da988e086
To: sip:[email protected];tag=2552657216
Call-ID: c2928ba9-24f6-4ed7-9122-ac2331cc8055
CSeq: 24134 OPTIONS
User-Agent: Yealink SIP-T46S 66.86.0.15
Content-Length: 0

== Endpoint 92 is now Reachable
– Contact 92/sip:[email protected]:62861;x-ast-orig-host=192.168.50.7:5060 is now Reachable. RTT: 89.650 msec
<— Received SIP response (362 bytes) from UDP:91.34.111.79:62861 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.160.249.134:5060;rport=5060;branch=z9hG4bKPjebe52d13-2daa-44b4-9286-1fbfc821b238
From: sip:[email protected];tag=fe6031ce-44c0-4423-91ef-9ba26e751029
To: sip:[email protected];tag=2552709432
Call-ID: 0a84c391-2b0b-4855-a9c2-cede242ff781
CSeq: 5668 NOTIFY
User-Agent: Yealink SIP-T46S 66.86.0.15
Content-Length: 0

<— Received SIP request (726 bytes) from UDP:91.34.111.79:62861 —>
SUBSCRIBE sip:*97#@217.160.249.134 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.7:5060;branch=z9hG4bK2552780028
From: “Arbeitszimmer” sip:[email protected];tag=2552370560
To: sip:*97#@217.160.249.134
Call-ID: [email protected]
CSeq: 2 SUBSCRIBE
Contact: sip:[email protected]:5060
Authorization: Digest username=“92”, realm=“asterisk”, nonce=“1659629987/18230c5358939b7e87b9dc1815da833a”, uri=“sip:*97#@217.160.249.134”, response=“f790e8cb6278750f049d94002e931dd0”, algorithm=MD5, cnonce=“2552879898”, opaque=“2abfed7c226650c0”, qop=auth, nc=00000001
Accept: application/simple-message-summary
Max-Forwards: 70
User-Agent: Yealink SIP-T46S 66.86.0.15
Expires: 3600
Event: message-summary
Content-Length: 0

<— Transmitting SIP response (347 bytes) to UDP:91.34.111.79:62861 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.50.7:5060;rport=62861;received=91.34.111.79;branch=z9hG4bK2552780028
Call-ID: [email protected]
From: “Arbeitszimmer” sip:[email protected];tag=2552370560
To: sip:*97%[email protected];tag=z9hG4bK2552780028
CSeq: 2 SUBSCRIBE
Server: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Received SIP request (455 bytes) from UDP:91.34.111.79:62861 —>
SUBSCRIBE sip:*97#@217.160.249.134 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.7:5060;branch=z9hG4bK2554008993
From: “Arbeitszimmer” sip:[email protected];tag=2553903272
To: sip:*97#@217.160.249.134
Call-ID: [email protected]
CSeq: 1 SUBSCRIBE
Contact: sip:[email protected]:5060
Accept: application/simple-message-summary
Max-Forwards: 70
User-Agent: Yealink SIP-T46S 66.86.0.15
Expires: 3600
Event: message-summary
Content-Length: 0

<— Transmitting SIP response (496 bytes) to UDP:91.34.111.79:62861 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.50.7:5060;rport=62861;received=91.34.111.79;branch=z9hG4bK2554008993
Call-ID: [email protected]
From: “Arbeitszimmer” sip:[email protected];tag=2553903272
To: sip:*97%[email protected];tag=z9hG4bK2554008993
CSeq: 1 SUBSCRIBE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1659630018/f94c4e626f79447a3b93303b4cac94ca”,opaque=“7ee6e0496702d4fa”,algorithm=md5,qop=“auth”
Server: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Received SIP request (726 bytes) from UDP:91.34.111.79:62861 —>
SUBSCRIBE sip:*97#@217.160.249.134 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.7:5060;branch=z9hG4bK2554165631
From: “Arbeitszimmer” sip:[email protected];tag=2553903272
To: sip:*97#@217.160.249.134
Call-ID: [email protected]
CSeq: 2 SUBSCRIBE
Contact: sip:[email protected]:5060
Authorization: Digest username=“92”, realm=“asterisk”, nonce=“1659630018/f94c4e626f79447a3b93303b4cac94ca”, uri=“sip:*97#@217.160.249.134”, response=“88fb56fa56006a894115131ca413da65”, algorithm=MD5, cnonce=“2554215679”, opaque=“7ee6e0496702d4fa”, qop=auth, nc=00000001
Accept: application/simple-message-summary
Max-Forwards: 70
User-Agent: Yealink SIP-T46S 66.86.0.15
Expires: 3600
Event: message-summary
Content-Length: 0

<— Transmitting SIP response (347 bytes) to UDP:91.34.111.79:62861 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.50.7:5060;rport=62861;received=91.34.111.79;branch=z9hG4bK2554165631
Call-ID: [email protected]
From: “Arbeitszimmer” sip:[email protected];tag=2553903272
To: sip:*97%[email protected];tag=z9hG4bK2554165631
CSeq: 2 SUBSCRIBE
Server: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Transmitting SIP request (466 bytes) to UDP:212.227.124.130:5060 —>
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 217.160.249.134:5060;rport;branch=z9hG4bKPjdc24d8f8-3d2c-4723-b3fc-316ae1519656
From: sip:[email protected];tag=e020c290-bdc6-4c24-b373-5046f265abe4
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 8f709eac-ac1a-4e30-a8e5-eabe3fedf5d3
CSeq: 64837 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Received SIP response (419 bytes) from UDP:212.227.124.130:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.160.249.134:5060;rport=5060;branch=z9hG4bKPjdc24d8f8-3d2c-4723-b3fc-316ae1519656;received=217.160.249.134
From: sip:[email protected];tag=e020c290-bdc6-4c24-b373-5046f265abe4
To: sip:[email protected];tag=afe348e378f926b4e3bf8536bde083f0.4ad0f8e7
Call-ID: 8f709eac-ac1a-4e30-a8e5-eabe3fedf5d3
CSeq: 64837 OPTIONS
Server: UI Kamailio
Content-Length: 0

<— Transmitting SIP request (425 bytes) to UDP:91.34.111.79:62861 —>
OPTIONS sip:[email protected]:62861 SIP/2.0
Via: SIP/2.0/UDP 217.160.249.134:5060;rport;branch=z9hG4bKPj7c753ba0-47e4-46e7-8cc0-695b76c7de35
From: sip:[email protected];tag=d996f50d-9558-4d65-84a6-d19d7198ef0c
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 3c2da935-86ed-41ff-af43-c5a640e389e2
CSeq: 1738 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Received SIP response (363 bytes) from UDP:91.34.111.79:62861 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.160.249.134:5060;rport=5060;branch=z9hG4bKPj7c753ba0-47e4-46e7-8cc0-695b76c7de35
From: sip:[email protected];tag=d996f50d-9558-4d65-84a6-d19d7198ef0c
To: sip:[email protected];tag=2555338689
Call-ID: 3c2da935-86ed-41ff-af43-c5a640e389e2
CSeq: 1738 OPTIONS
User-Agent: Yealink SIP-T46S 66.86.0.15
Content-Length: 0

<— Received SIP request (455 bytes) from UDP:91.34.111.79:62861 —>
SUBSCRIBE sip:*97#@217.160.249.134 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.7:5060;branch=z9hG4bK2555518888
From: “Arbeitszimmer” sip:[email protected];tag=2555422656
To: sip:*97#@217.160.249.134
Call-ID: [email protected]
CSeq: 1 SUBSCRIBE
Contact: sip:[email protected]:5060
Accept: application/simple-message-summary
Max-Forwards: 70
User-Agent: Yealink SIP-T46S 66.86.0.15
Expires: 3600
Event: message-summary
Content-Length: 0

<— Transmitting SIP response (496 bytes) to UDP:91.34.111.79:62861 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.50.7:5060;rport=62861;received=91.34.111.79;branch=z9hG4bK2555518888
Call-ID: [email protected]
From: “Arbeitszimmer” sip:[email protected];tag=2555422656
To: sip:*97%[email protected];tag=z9hG4bK2555518888
CSeq: 1 SUBSCRIBE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1659630048/288e32b739fe6a5f56b6c36ddbeb158d”,opaque=“709547fc55d89b02”,algorithm=md5,qop=“auth”
Server: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

<— Received SIP request (726 bytes) from UDP:91.34.111.79:62861 —>
SUBSCRIBE sip:*97#@217.160.249.134 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.7:5060;branch=z9hG4bK2555692445
From: “Arbeitszimmer” sip:[email protected];tag=2555422656
To: sip:*97#@217.160.249.134
Call-ID: [email protected]
CSeq: 2 SUBSCRIBE
Contact: sip:[email protected]:5060
Authorization: Digest username=“92”, realm=“asterisk”, nonce=“1659630048/288e32b739fe6a5f56b6c36ddbeb158d”, uri=“sip:*97#@217.160.249.134”, response=“383da63b5f42056fff70039e00ba3edd”, algorithm=MD5, cnonce=“2555733709”, opaque=“709547fc55d89b02”, qop=auth, nc=00000001
Accept: application/simple-message-summary
Max-Forwards: 70
User-Agent: Yealink SIP-T46S 66.86.0.15
Expires: 3600
Event: message-summary
Content-Length: 0

<— Transmitting SIP response (347 bytes) to UDP:91.34.111.79:62861 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.50.7:5060;rport=62861;received=91.34.111.79;branch=z9hG4bK2555692445
Call-ID: [email protected]
From: “Arbeitszimmer” sip:[email protected];tag=2555422656
To: sip:*97%[email protected];tag=z9hG4bK2555692445
CSeq: 2 SUBSCRIBE
Server: FPBX-16.0.21.8(16.25.0)
Content-Length: 0

Have you just updated the password to something simple and tested that? This is looking like a bad password.

same PW on ext91 and ext92, 32bit max as given from the freepbx-gui.
But yes. Last weekend I tried 6 letters PW already.

I just change 91 and 92

I deleted ext 91 and let the yealink running for connecting tries.
This results to the same error message. It seems like the ext91 did also not exist before but was to be seen in the web-gui and also in the config files. It existed! including aor and auth.config.

Having no better solution, I took a backup from my raspbx including core and all modules with names asterisk.xxx and restored to cloud-freepbx. It works. However obvious difference is in settings / advanced settings: user-manager is on ‘user-manager’ instead of ‘database’ and codecs allowed is on alaw,ulaw,g722. gsm as mentioned somewhere above. No disallow ‘all’ is set. Codecs have never been set directly at the extension but only automatically taken over from advanced settings at the raspbx which seem not to work at the freepbx.