Hi guys
I have pjsip tls listen on 5061, i try to configure app on my smartphone Gswave to configure but can’t register, with 5060 udp is working, but i want to register with 5061 tls more secure, with tcpdump i see the request arrive from my smartphone on port 5061
Here is a tcpdump capture:
09:01:57.113739 IP smartphoneip.59590 > 172.29.49.80.5061: Flags [.], ack 1, win 685, options [nop,nop,TS val 46399 ecr 55331419], length 0
09:01:57.118028 IP smartphoneip.59590 > 172.29.49.80.5061: Flags [P.], seq 1:308, ack 1, win 685, options [nop,nop,TS val 46399 ecr 55331419], length 307
09:01:57.118048 IP 172.29.49.80.5061 > smartphoneip.59590: Flags [.], ack 308, win 235, options [nop,nop,TS val 55331485 ecr 46399], length 0
09:01:57.123810 IP 172.29.49.80.5061 > smartphoneip.59590: Flags [P.], seq 1:8, ack 308, win 235, options [nop,nop,TS val 55331491 ecr 46399], length 7
09:01:57.123873 IP 172.29.49.80.5061 > smartphoneip.59590: Flags [F.], seq 8, ack 308, win 235, options [nop,nop,TS val 55331491 ecr 46399], length 0
09:01:57.189508 IP smartphoneip.59590 > 172.29.49.80.5061: Flags [.], ack 8, win 685, options [nop,nop,TS val 46406 ecr 55331491], length 0
09:01:57.190801 IP smartphoneip.59590 > 172.29.49.80.5061: Flags [F.], seq 308, ack 9, win 685, options [nop,nop,TS val 46406 ecr 55331491], length 0
09:01:57.190823 IP 172.29.49.80.5061 > smartphoneip.59590: Flags [.], ack 309, win 235, options [nop,nop,TS val 55331558 ecr 46406], length 0
09:02:18.255574 IP smartphoneip.59591 > 172.29.49.80.5061: Flags [S], seq 61602061, win 65535, options [mss 1460,sackOK,TS val 48511 ecr 0,nop,wscale 7], length 0
09:02:18.255635 IP 172.29.49.80.5061 > smartphoneip.59591: Flags [S.], seq 1248114350, ack 61602062, win 28960, options [mss 1460,sackOK,TS val 55352623 ecr 48511,nop,wscale 7], length 0
09:02:18.320198 IP smartphoneip.59591 > 172.29.49.80.5061: Flags [.], ack 1, win 685, options [nop,nop,TS val 48519 ecr 55352623], length 0
09:02:18.320984 IP smartphoneip.59591 > 172.29.49.80.5061: Flags [P.], seq 1:308, ack 1, win 685, options [nop,nop,TS val 48519 ecr 55352623], length 307
09:02:18.320996 IP 172.29.49.80.5061 > smartphoneip.59591: Flags [.], ack 308, win 235, options [nop,nop,TS val 55352688 ecr 48519], length 0
09:02:18.330244 IP 172.29.49.80.5061 > smartphoneip.59591: Flags [P.], seq 1:8, ack 308, win 235, options [nop,nop,TS val 55352697 ecr 48519], length 7
09:02:18.330305 IP 172.29.49.80.5061 > smartphoneip.59591: Flags [F.], seq 8, ack 308, win 235, options [nop,nop,TS val 55352697 ecr 48519], length 0
09:02:18.412582 IP smartphoneip.59591 > 172.29.49.80.5061: Flags [.], ack 8, win 685, options [nop,nop,TS val 48528 ecr 55352697], length 0
09:02:18.413372 IP smartphoneip.59591 > 172.29.49.80.5061: Flags [F.], seq 308, ack 9, win 685, options [nop,nop,TS val 48529 ecr 55352697], length 0
09:02:18.413385 IP 172.29.49.80.5061 > smartphoneip.59591: Flags [.], ack 309, win 235, options [nop,nop,TS val 55352780 ecr 48529], length 0
UPDATE:
This is the log of /var/log/asterisk/full
[2022-03-03 09:21:01] WARNING[2489] pjproject: SSL SSL_ERROR_SSL (Handshake): Level: 0 err: <336109761> len: 0 peer: smartphoneip:59615
Seems a problem with certificate, how can i fix that?