[WebRTC error] Cannot register

Trying WebRTC using jsSIP. I keep getting this in the logs and the ua.call() function of jsSIP returns nothing, not even an INVITE log in found in Asterisk.

[Jul 27 12:39:28] ERROR[7119]: iostream.c:647 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Jul 27 12:39:28] ERROR[7119]: tcptls.c:179 handle_tcptls_connection: Unable to set up ssl connection with peer '157.46.222.18:51143'
[Jul 27 12:39:28] ERROR[7119]: iostream.c:552 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
  == WebSocket connection from '157.46.222.18:51144' for protocol 'sip' accepted using version '13'
[Jul 27 12:39:29] WARNING[6710]: db.c:348 ast_db_put: Couldn't execute statement: SQL logic error
[Jul 27 12:39:29] ERROR[6710]: res_pjsip_registrar.c:771 register_aor_core: Unable to bind contact 'sip:a4lcg92t@157.46.222.18:51144;transport=ws' to AOR 'webrtc_client'
[Jul 27 12:39:29] WARNING[6682]: db.c:304 db_execute_sql: Error executing SQL (COMMIT): cannot commit - no transaction is active
[Jul 27 12:39:29] WARNING[6682]: db.c:304 db_execute_sql: Error executing SQL (ROLLBACK): cannot rollback - no transaction is active

I reinstalled Asterisk and my SSL certificates and the problem was solved.
:slight_smile:

1 Like