PLNK accepts connections

Next up exension time
This commit is contained in:
Alex
2022-09-13 00:57:48 -04:00
parent 455e87c168
commit 3878032d80
6 changed files with 68 additions and 8 deletions
+19
View File
@@ -0,0 +1,19 @@
[options]
; If we want to start Asterisk with a default verbosity for the verbose
; or debug logger channel types, then we use these settings (by default
; they are disabled).
verbose = 5
debug = 2
; User and group to run asterisk as. NOTE: This will require changes to
; directory and device permissions.
runuser = gonk ; The user to run as. The default is root.
rungroup = gonk ; The group to run as. The default is root
; Gonk settings
defaultlanguage = en
initcrypto = yes
timestamp = yes
autosystemname = yes
astctlowner = gonk
astctlgroup = gonk
+26
View File
@@ -0,0 +1,26 @@
[global]
type=global
default_realm=gonk
default_from_user=gonk
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
local_net=192.168.0.0/16
local_net=10.0.0.0/8
local_net=172.16.0.0/12
local_net=127.0.0.1/32
external_media_address=##EXTERNAL_IP##
external_signaling_address=##EXTERNAL_IP##
[transport-tcp]
type=transport
protocol=tcp
bind=0.0.0.0
local_net=192.168.0.0/16
local_net=10.0.0.0/8
local_net=172.16.0.0/12
local_net=127.0.0.1/32
external_media_address=##EXTERNAL_IP##
external_signaling_address=##EXTERNAL_IP##
+5 -7
View File
@@ -1,4 +1,4 @@
[##EXT##]
[##CALL##]
type=endpoint
auth=##EXT##
aors=##EXT##
@@ -14,14 +14,12 @@ rewrite_contact=yes
rtp_symmetric=yes
force_rport=yes
[##EXT##]
[##CALL##-auth]
type=auth
auth_type=userpass
password=##CALL##
username=##PASS##
md5_cred=##MD5_CRED##
[##EXT##]
[##CALL##]
type=aor
max_contacts=1
max_contacts=10
mailboxes=##EXT##@default