2024-11-06 23:13:49 +00:00
|
|
|
[transport-udp]
|
|
|
|
type=transport
|
|
|
|
protocol=udp
|
|
|
|
bind=0.0.0.0:5062
|
|
|
|
|
|
|
|
[acl]
|
|
|
|
type=acl
|
|
|
|
deny=0.0.0.0/0
|
|
|
|
permit=100.40.223.130/32
|
|
|
|
permit=52.204.242.197/32
|
|
|
|
|
|
|
|
[101]
|
|
|
|
type=endpoint
|
|
|
|
transport=transport-udp
|
|
|
|
context=from-internal
|
2024-12-18 00:41:59 +00:00
|
|
|
callerid=moeny <18455551212>
|
2024-11-06 23:13:49 +00:00
|
|
|
disallow=all
|
|
|
|
allow=ulaw
|
|
|
|
auth=101
|
|
|
|
aors=101
|
|
|
|
direct_media=no
|
|
|
|
rtp_symmetric=yes
|
|
|
|
force_rport=yes
|
|
|
|
rewrite_contact=yes ; Necessary if endpoint does not know/register public ip:port
|
|
|
|
ice_support=yes ; This is specific to clients that support NAT traversal
|
|
|
|
; for media via ICE,STUN,TURN. See the wiki at:
|
|
|
|
; https://docs.asterisk.org/Configuration/Miscellaneous/Interactive-Connectivity-Establishment-ICE-in-Asterisk/
|
|
|
|
; for a deeper explanation of this topic.
|
|
|
|
|
|
|
|
[101]
|
|
|
|
type=auth
|
|
|
|
auth_type=userpass
|
|
|
|
password=x9k2m5v7h3p8q4n1w6y0z9j4l8s3d7
|
|
|
|
username=101
|
|
|
|
|
|
|
|
[101]
|
|
|
|
type=aor
|
|
|
|
max_contacts=10
|
|
|
|
|
|
|
|
[trunk-mtg01]
|
|
|
|
type=endpoint
|
|
|
|
transport=transport-udp
|
|
|
|
context=from-trunk
|
|
|
|
disallow=all
|
|
|
|
allow=ulaw
|
|
|
|
aors=trunk-mtg01-aor
|
|
|
|
direct_media=no
|
|
|
|
|
|
|
|
[trunk-mtg01-aor]
|
|
|
|
type=aor
|
|
|
|
max_contacts=1
|
|
|
|
|
|
|
|
[trunk-mtg01-identify]
|
|
|
|
type=identify
|
|
|
|
endpoint=trunk-mtg01
|
|
|
|
match=52.204.242.197
|