Would anyone have a clue what this error is trying to tell me?
I setup extensions, they register on pjsip UDP without issues, but when I switch to TLS, I can’t register. I am using an IP Phone
I changed the PJSIP ports and adjusted firewall
My VitalPBX 4 is running on Debian 11 arm64
[2023-08-08 04:36:05] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:36:30] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:36:37] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:37:02] NOTICE[1284] res_pjsip/pjsip_transport_management.c: Shutting down transport 'TLS to X.X.X.X:11961' since no request was received in 32 seconds
[2023-08-08 04:37:08] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:37:34] NOTICE[1284] res_pjsip/pjsip_transport_management.c: Shutting down transport 'TLS to X.X.X.X:11962' since no request was received in 32 seconds
[2023-08-08 04:37:40] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:38:06] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:38:11] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:38:38] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:38:43] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:39:10] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:39:14] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:39:42] NOTICE[1284] res_pjsip/pjsip_transport_management.c: Shutting down transport 'TLS to X.X.X.X:11966' since no request was received in 32 seconds
[2023-08-08 04:39:46] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:40:14] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
[2023-08-08 04:40:17] WARNING[1268] pjproject: SSL 6 [SSL_ERROR_ZERO_RETURN] (Read) ret: 0 len: 65535
What Profile did you set for the extension? If you didn’t change anything it will be using the default PJSIP profile which is set to use UDP as transport and it will not work. You will need to create a new device profile, setting the transport to TLS and enabling the Media Encryption Protocol to be used DTLS or SDES
In the device profile, did you set the DTLS cert as well? I am not usign a deskphone but you acn see my softphone is registered and connected via TLS as you can see the little lock besides the status icon.
This could be your Yealink phone not liking the LE cert on the server it happens with older firmwares from them. There is a setting in the phone that allows to toggle acceptthe certs from other sources not found in the cert store.