27 lines
549 B
Plaintext
27 lines
549 B
Plaintext
;
|
|
; /etc/asterisk/pjsip.conf
|
|
;
|
|
; Inspired by/Stolen from https://www.sacredheartsc.com/blog/building-a-personal-voip-system/
|
|
;
|
|
[global]
|
|
; A type is always required (say the docs).
|
|
type = global
|
|
|
|
; KYE (Know your endpoint ;) ) ordering.
|
|
endpoint_identifier_order = ip,username,anonymous
|
|
|
|
; Basic UDP Transport.
|
|
[ipv4-udp]
|
|
type = transport
|
|
bind = 0.0.0.0:65535
|
|
protocol = udp
|
|
local_net = 172.16.0.0/12
|
|
local_net = 192.168.0.0/16
|
|
local_net = 127.0.0.0/8
|
|
local_net = 10.0.0.0/8
|
|
|
|
;
|
|
; Load trunk identify block.
|
|
#tryinclude pjsip_identify_trunk_one.conf
|
|
|