

[global]
endpoint_identifier_order = username,ip,anonymous

;[transport-udp-lo]
;type                       = transport
;symmetric_transport        = yes
;protocol                   = udp
;bind                       = 127.0.0.1:5060
;external_media_address     = 127.0.0.1
;external_signaling_address = 127.0.0.1
;external_signaling_port    = 5060
;allow_reload               = no
;tos                        = cs3
;cos                        = 3

[transport-udp]
type                       = transport
symmetric_transport        = yes
protocol                   = udp
bind                       = 0.0.0.0:5060
external_media_address     = X.Y.Z.Q
external_signaling_address = X.Y.Z.Q
external_signaling_port    = 5060
allow_reload               = no
tos                        = cs3
cos                        = 3
local_net                  = 127.0.0.1/24
local_net                  = 172.31.23.0/20
local_net                  = 10.5.1.0/24
local_net                  = 10.3.1.0/24
local_net                  = 10.1.3.0/24
local_net                  = 10.1.2.0/24
local_net                  = 192.168.80.0/24

[transport-tcp]
type                       = transport
symmetric_transport        = yes
protocol                   = tcp
bind                       = 0.0.0.0:5060
external_media_address     = X.Y.Z.Q
external_signaling_address = X.Y.Z.Q
external_signaling_port    = 5060
allow_reload               = no
tos                        = cs3
cos                        = 3
local_net                  = 127.0.0.1/24
local_net                  = 172.31.23.0/20
local_net                  = 10.5.1.0/24
local_net                  = 10.3.1.0/24
local_net                  = 10.1.3.0/24
local_net                  = 10.1.2.0/24
local_net                  = 192.168.80.0/24

[transport-tcp-tls]
type                       = transport
symmetric_transport        = yes
protocol                   = tls
allow_reload               = no
bind                       = 0.0.0.0:5061
external_media_address     = X.Y.Z.Q
external_signaling_address = X.Y.Z.Q
external_signaling_port    = 5061
tos                        = cs3
cos                        = 3
cert_file                  = /etc/asterisk/keys/asterisk.crt
priv_key_file              = /etc/asterisk/keys/asterisk.key
;method                    = sslv23
method                     = tlsv1_2
local_net                  = 127.0.0.1/24
local_net                  = 172.31.23.0/20
local_net                  = 10.5.1.0/24
local_net                  = 10.3.1.0/24
local_net                  = 10.1.3.0/24
local_net                  = 10.1.2.0/24
local_net                  = 192.168.80.0/24
IS-COMM-CH-01 {/tmp} root#
