https://docs.vicibox.com/en/latest/installation.html
https://docs.vicibox.com/en/latest/networking/vicibox-ssl.html
1)  vicibox-express
2)   reboot
3) vicibox-ssl  ( enter your  email and domain)
4) nano /etc/asterisk/http.conf
 tlscertfile=/root/.acme.sh//ambiorixg12-dialer.ddns.net/fullchain.cer
tlsprivatekey=/root/.acme.sh//ambiorixg12-dialer.ddns.net/ambiorixg12-dialer.ddns.net.key
check  asterisk wss status
static*CLI> http show status
HTTP Server Status:
Prefix: 
Server: Asterisk
Server Enabled and Bound to 127.0.0.1:8088
HTTPS Server Enabled and Bound to 0.0.0.0:8089
Enabled URI's:
/httpstatus => Asterisk HTTP General Status
/ws => Asterisk HTTP WebSocket
Enabled Redirects:
  None.
5) Change server settings to :
Web Socket URL:	
wss://ambiorixg12-dialer.ddns.net:8089/ws
6)  Webphone URL on system setting
https://phone.viciphone.com/v3.0/viciphone.php
7) VICI PHONE TEMPLATE
| MODIFY A CONF TEMPLATE RECORD: VICIphone
 | 
type=friend
host=dynamic
encryption=yes
avpf=yes
icesupport=yes
directmedia=no
transport=wss
force_avp=yes
dtlsenable=yes
dtlsverify=no
dtlscertfile=/root/.acme.sh//ambiorixg12-dialer.ddns.net/fullchain.cer
dtlsprivatekey=/root/.acme.sh//ambiorixg12-dialer.ddns.net/ambiorixg12-dialer.ddns.net.key
dtlssetup=actpass
rtcp_mux=yes
context=default
8) Container settings
| Container ID: | VICIPHONE_SETTINGS | 
# determines if the reg_exten is called upon successful registration
dialRegExten : 1
9) Add sip phones settings
1 cd /srv/www/htdocs/agc 
 2 cp options-example.php options.php
static:/srv/www/htdocs/agc 
 3 nano options.php 
$webphone_call_seconds  = 1;  # set to 1 or higher to have the agent phone(if set to webphone) called X seconds after login