[wsstrans]
type=transport
protocol=wss
method=tlsv1
cert_file=/var/lib/asterisk/ssl/microcom-cert.pem
priv_key_file=/var/lib/asterisk/ssl/microcom-privatekey.pem
bind=0.0.0.0
local_net=10.0.0.0/8

[wss](!)
transport=wsstrans
media_encryption=dtls
dtls_verify=fingerprint
dtls_cert_file=/var/lib/asterisk/ssl/asterisk.crt
dtls_private_key=/var/lib/asterisk/ssl/asterisk.key
dtls_ca_file=/var/lib/asterisk/ssl/ca.crt
dtls_setup=actpass
use_avpf=yes
ice_support=yes
media_use_received_transport=yes
type=endpoint
context=from-phones
disallow=all
allow=opus
allow=g722
allow=speex
allow=ulaw
direct_media=no

[3883ws](monitored,wss)
callerid=Microcom Idaho <2082423883>
aors=3883ws
auth=3883ws
set_var=department=it

[3883ws]
type=aor
max_contacts=1
remove_existing=yes

[3883ws]
type=auth
username=3883ws
auth_type=userpass
