[global]
type=global
;debug=yes
keep_alive_interval=20

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[transport_t](!)
type=transport
bind=0.0.0.0

[transport_udp](transport_t)
protocol=udp

[transport_tcp](transport_t)
protocol=tcp

[transport_tls](transport_t)
protocol=tls
bind=0.0.0.0:5059
cert_file=/your/keys/asterisk.crt
priv_key_file=/your/keys/asterisk.key
method=tlsv1_2

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[endpoint_t](!)
type=endpoint
context=default
direct_media=no
transport=transport_tls
allow=!all,ulaw

[aor_t](!)
type=aor
qualify_frequency=0

[auth_t](!)
type=auth
auth_type=userpass
password=0000

[registration_t](!)
type=registration
transport=transport_tls
server_uri=sip:server@<host>:5059
expiration=60

[1000](registration_t)
client_uri=sip:1000@<host>
contact_user=1000

[1000](aor_t)

[1000](auth_t)
username=1000

[1000](endpoint_t)
aors=1000
outbound_auth=1000
from_user=1000

[1001](registration_t)
client_uri=sip:1001@<host>
contact_user=1001

[1001](aor_t)

[1001](auth_t)
username=1001

[1001](endpoint_t)
aors=1001
outbound_auth=1001
from_user=1001

[1002](registration_t)
client_uri=sip:1002@<host>
contact_user=1002

[1002](aor_t)

[1002](auth_t)
username=1002

[1002](endpoint_t)
aors=1002
outbound_auth=1002
from_user=1002

[1003](registration_t)
client_uri=sip:1003@<host>
contact_user=1003

[1003](aor_t)

[1003](auth_t)
username=1003

[1003](endpoint_t)
aors=1003
outbound_auth=1003
from_user=1003

[1004](registration_t)
client_uri=sip:1004@<host>
contact_user=1004

[1004](aor_t)

[1004](auth_t)
username=1004

[1004](endpoint_t)
aors=1004
outbound_auth=1004
from_user=1004



