[transport-udp]
type=transport
protocol=udp    ;udp,tcp,tls,ws,wss
bind=0.0.0.0

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

[transport-tls]
type=transport
protocol=tls
bind=0.0.0.0
cert_file=/opt/asterisk/etc/asterisk/keys/asterisk.crt
priv_key_file=/opt/asterisk/etc/asterisk/keys/asterisk.key
;cipher=ADH-AES256-SHA,ADH-AES128-SHA
method=tlsv1


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

[1000]
type=aor
max_contacts=1000
mailboxes = 1000@asterisk

[1000] 
type=endpoint
transport=transport-udp
context = Dial-Users
allow = all
auth=1000
aors=1000



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

[2000]
type=aor
max_contacts=2000
mailboxes = 2000@asterisk

[2000]
type=endpoint
transport=transport-tls
context = Dial-Users
allow = all
auth=2000
aors=2000



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

[3000]
type=aor
max_contacts=3000
mailboxes = 3000@asterisk

[3000]
type=endpoint
transport=transport-tcp
context = Dial-Users
allow = all
auth=3000
aors=3000
