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

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

;=TEMPLATES=
[aor-default](!)
type = aor
max_contacts = 1
remove_existing=yes

[auth-userpass](!)
type=auth
auth_type=userpass

[endpoint-web](!)
type = endpoint
context = default
transport = transport-ws
disallow = all
allow = alaw,ulaw
ice_support = yes
use_avpf = yes
direct_media=no
;media_encryption=sdes
;media_encryption=dtls
;dtls_verify=no
;dtls_rekey=0
;dtls_cert_file=/etc/asterisk/keys/asterisk.crt
;dtls_private_key=/etc/asterisk/keys/asterisk.key
;dtls_cipher=ALL
;dtls_ca_file=/etc/asterisk/keys/ca.crt
;dtls_ca_path=/etc/asterisk/keys/
;dtls_setup=actpass
;media_use_received_transport=yes

[endpoint-std](!)
type=endpoint
context=default
disallow=all
allow=alaw,ulaw
transport=transport-udp
direct_media=no


;=ENDPOINTS=
[354](endpoint-web)
;auth = 354
aors = 354
[354](aor-default)
[354](auth-userpass)
username = 354
password = 354

[355](endpoint-web)
;auth = 355
aors = 355
[355](aor-default)
[355](auth-userpass)
username = 355
password = 355


[6001](endpoint-std)
auth=6001
aors=6001
[6001](aor-default)
[6001](auth-userpass)
password=6001
username=6001


