Webrtc problem with SIMPL5

hi,

I ve read the guide for webrtc in Asterisk and trying to setup like the following

http.conf

tlsenable=yes          ; enable tls - default no.
tlsbindaddr=0.0.0.0:8089    ; address and port to bind to - default is bindaddr and port 8089.
tlscertfile=/etc/asterisk/keys/webrtc.pem
tlsprivatekey=/etc/asterisk/keys/webrtc.pem

pjsip.conf

[transport-wss]
type=transport
protocol=wss
bind=0.0.0.0:8089

[webrtc_client]
type=endpoint
aors=webrtc_client
auth=webrtc_client
context=default
disallow=all
allow=opus,ulaw
use_avpf=yes
media_encryption=dtls
dtls_verify=fingerprint
dtls_cert_file=/etc/asterisk/keys/webrtc.pem
dtls_private_key=/etc/asterisk/keys/webrtc.pem
dtls_setup=actpass
ice_support=yes
media_use_received_transport=yes
rtcp_mux=yes

[webrtc_client]
type=auth
auth_type=userpass
username=webrtc_client
password=XXXX

[webrtc_client]
type=aor
max_contacts=1
remove_existing=yes

I can see my transport-wss but when i am trying to log in from SIMPL5 client am getting the following error in Asterisk CLI

ERROR[2939311]: iostream.c:647 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0)::reason(1), Internal SSL error
 ERROR[2939311]: tcptls.c:179 handle_tcptls_connection: Unable to set up ssl connection with peer '136.243.231.169:4584'
 ERROR[2939311]: iostream.c:552 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0)::reason(1), Internal SSL error

It looks like cannot connect using SSL. I ve checked the certificates and firewall settings. Tghey are fine,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.