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


[6004]
type=endpoint
auth=6004
aors=6004
disallow=all
allow=ulaw
transport=transport-ws
media_encryption=dtls
dtls_verify=fingerprint
dtls_cert_file=/etc/asterisk/keys/asterisk.pem
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_setup=actpass
use_avpf=yes
ice_support=yes
media_use_received_transport=yes

[6004]
type=auth
auth_type=userpass
password=AVIS
username=6004

[6004]
type=aor
max_contacts=2



[6003]
type=endpoint
disallow=all
allow=ulaw
aors=6003
auth=6003
transport=transport-ws
media_encryption=dtls
dtls_verify=fingerprint
dtls_cert_file=/etc/asterisk/keys/asterisk.pem
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_setup=actpass
use_avpf=yes
ice_support=yes
media_use_received_transport=yes

[6003]
type=auth
auth_type=userpass
password=AVIS
username=6003

[6003]
type=aor
max_contacts=2




[6001]
type=endpoint
disallow=all
allow=ulaw
aors=6001
auth=6001
transport=transport-ws
media_encryption=dtls
dtls_verify=fingerprint
dtls_cert_file=/etc/asterisk/keys/asterisk.pem
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_setup=actpass
use_avpf=yes
ice_support=yes
media_use_received_transport=yes

[6001]
type=auth
auth_type=userpass
password=1234
username=6001

[6001]
type=aor
max_contacts=2
