So, I would like to make a web VoIP (audio and video) app with Asterisk and SIP.js.
I know what I have to do. I already configured everything but the Asterisk web server won’t start with HTTPS enabled. (Note: I tried using 16.2.0-rc2 and 15.7.X) Right now, it’s just a local machine.
The output for “http show status” is:
HTTP Server Status:
Prefix:
Server: Asterisk
Server Enabled and Bound to 192.168.42.105:8088
Enabled URI’s:
/httpstatus => Asterisk HTTP General Status
/phoneprov/… => Asterisk HTTP Phone Provisioning Tool
/static/… => Asterisk HTTP Static Delivery
/ari/… => Asterisk RESTful API
/ws => Asterisk HTTP WebSocket
Enabled Redirects:
None.
My “/etc/asterisk/http.conf”:
[general]
enabled=yes
bindaddr=192.168.42.105
bindport=8088
tlsenable=yes
tlsbindaddr=192.168.42.105:8089
tlscertfile=/etc/asterisk/keys/asterisk.pem ; here I tried to use the .crt file…
tlsprivatekey=/etc/asterisk/keys/asterisk.key ; also tried asterisk.pem here… to no avail.
“netstart -tulpn”: no sign of 8089
I used the wiki: https://wiki.asterisk.org/wiki/display/AST/Configuring+Asterisk+for+WebRTC+Clients
And also this (for extensions):
https://sipjs.com/guides/server-configuration/asterisk/
Note: In my “/var/log/asterisk/messages”, no mention of HTTP or something that can help.
Feel free to ask for more information. Thanks in advance.