Hi everyone,
first of all I apologize for bothering you with my doubts but I really can't find a clue about my issue. I hope some of you may help me clarify what I'm getting wrong with my setup.
In few word what I get is an occasional DTLS handshake failure between the called peer (Chrome browser 45.0.2454.93 m) and the WebRTC2SIP server; anyway, as I outlined, this doesn't happen everytime I place a call but occasionally. This means that sometimes I am able to setup the call (and talk) and sometimes I am not.
So here are more details about the scenario (please, find attached my WebRTC2SIP configuration, logs and called Chrome browser logs).
10.4.1.49 - Asterisk 11.13.1
10.4.1.49 - WebRTC2SIP server
10.4.1.47 - Chrome client named BARBATO (uses SIPml5) (first call peer)
10.4.1.47 - Chrome client named SANTORO (uses SIPml5) (second call peer, that's me :) )
10.4.1.47 is a physical machine hosting the 10.4.1.49 virtual machine (VMware, connected through bridge and having access to Internet).
Here are the actions I took (wholly logged in attached files)
- Both peer login (successful)
- First call from BARBATO to SANTORO (successful, DTLS handshake ok)
- 30s call long. Then end (ok)
- Second call from BARBATO to SANTORO (failure, DTLS handshake wrong)
- Third call from SANTORO to BARBATO (failure, DTLS handshake wrong)
Other attempts I made in the past randomly show first call failing while next calls succeeding and viceversa: this irregularity keeps me from understanding what is happening.
One interesting fact is that, observing come Wireshark captures I made on 10.4.1.47, the DTLS handshake fails because both the called peer and the webrtc2sip server send a TLS "Client Hello" each other (the former is good but the latter should be a "Server Hello"): this causes the handshake failure.
My certificates are self signed. I read this could lead to problems in modern browsers but with those certificates I am able anyway to place a call, so I think that's fine.
May I ask what is your opinion?
Thank you in advance for your time and your help.
--Rosario