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

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

[1000] 
type=auth
auth_type=userpass
username=1000
password=1000 

[1000]
type=endpoint
transport=transport-wss
aors=1000
auth=1000
use_avpf=yes						
media_encryption=dtls
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_cert_file=/etc/asterisk/keys/asterisk.pem
dtls_verify=fingerprint
dtls_setup=actpass
ice_support=yes
context=default
disallow=all
allow=alaw, vp8

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

[2000] 
type=auth
auth_type=userpass
username=2000
password=2000 

[2000]
type=endpoint
transport=transport-wss
aors=2000
auth=2000
use_avpf=yes
media_encryption=dtls
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_cert_file=/etc/asterisk/keys/asterisk.pem
dtls_verify=fingerprint
dtls_setup=actpass
ice_support=yes
context=default
disallow=all
allow=alaw, vp8