28 lines
820 B
Plaintext
28 lines
820 B
Plaintext
;
|
|
; /etc/asterisk/pjsip.conf
|
|
;
|
|
; Modifed and "borrowed" (read: stolen) from https://www.sacredheartsc.com/blog/building-a-personal-voip-system/
|
|
|
|
; This template contains default settings for all transports.
|
|
[transport-defaults](!)
|
|
type = transport
|
|
bind = 0.0.0.0:15000
|
|
|
|
; For communication to any addresses within local_nets, Asterisk will not apply
|
|
; NAT-related workarounds.
|
|
local_net = 127.0.0.0/8
|
|
local_net = 10.0.0.0/8
|
|
local_net = 172.16.0.0/12
|
|
local_net = 192.168.0.0/16
|
|
|
|
; If you have a public static IP for your Asterisk server, set it here.
|
|
;external_media_address = xxx.xxx.xxx.xxx
|
|
;external_signaling_address = xxx.xxx.xxx.xxx
|
|
|
|
; The following UDP and TCP transports will inherit from the defaults.
|
|
[transport-udp](transport-defaults)
|
|
protocol = udp
|
|
|
|
;[transport-tcp](transport-defaults)
|
|
;protocol = tcp
|