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

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

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


;[transport-tls]
;type = transport
;protocol = tls
;bind = 0.0.0.0
;cert_file=/etc/asterisk/keys/crt.pem
;priv_key_file=/etc/asterisk/keys/key.pem
;method=tlsv1
;;cipher=ALL

[151]
type = aor
max_contacts = 10

[151]
type = auth
username = 151
password = alamkaota
auth_type=userpass

[151]
type = endpoint
context = wszystkie-test
disallow = all
allow = ulaw
allow = alaw
allow = gsm
;rtp_symmetric = yes
;force_rport = yes
;rewrite_contact = yes
ice_support = yes
callerid = Konsultant <151>
use_avpf = yes
force_avp = yes
;device_state_busy_at = 1
auth = 151
outbound_auth = 151

media_encryption = dtls
dtls_verify = no
dtls_cert_file = /etc/asterisk/keys/crt.pem
dtls_private_key = /etc/asterisk/keys/key.pem
dtls_ca_file = /etc/asterisk/keys/ca-crt.pem
dtls_setup = actpass
;srtp_tag_32 = yes
aors = 151
transport=transport-wss
;transport=transport-ws
;transport=transport-udp


[153]
type = aor
max_contacts = 10

[153]
type = auth
username = 153
password = alamkaota
auth_type=userpass

[153]
type = endpoint
context = wszystkie-test
disallow = all
allow = ulaw
allow = alaw
allow = gsm
;rtp_symmetric = yes
;force_rport = yes
;rewrite_contact = yes
ice_support = yes
callerid = Konsultant <153>
use_avpf = yes
force_avp = yes
;device_state_busy_at = 1
auth = 153
outbound_auth = 153

media_encryption = dtls
dtls_verify = no
dtls_cert_file = /etc/asterisk/keys/crt.pem
dtls_private_key = /etc/asterisk/keys/key.pem
dtls_ca_file = /etc/asterisk/keys/ca-crt.pem
dtls_setup = actpass
;srtp_tag_32 = yes
aors = 153
transport=transport-wss
;transport=transport-ws

[acl]
type=acl
permit=0.0.0.0/0.0.0.0
