ansible/roles/asterisk/templates/pjsip.conf.j2

93 lines
1.2 KiB
Text
Raw Normal View History

2024-11-25 01:06:18 +00:00
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
[transport-tcp]
type=transport
protocol=tcp
bind=0.0.0.0
[100]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=100
aors=100
mailboxes=100@sailmaker,436@sailmaker
2024-11-25 01:06:18 +00:00
[100]
type=auth
auth_type=userpass
password=mJzTGkXdh02OVXGOaxcH8V3To
username=100
[100]
type=aor
max_contacts=1
; Remove existing registrations when registering. The cisco seems to
; reregister using different ports, which leaves it hanging without
; this set.
remove_existing=yes
[101]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=101
aors=101
2024-11-26 03:23:34 +00:00
mailboxes=100@sailmaker
2024-11-25 01:06:18 +00:00
[101]
type=auth
auth_type=userpass
password=5KVzU5Ez77lIIv4SAyzDOnMWo
username=101
[101]
type=aor
max_contacts=1
remove_existing=yes
2024-11-25 01:06:18 +00:00
[102]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=102
aors=102
2024-11-26 03:23:34 +00:00
mailboxes=100@sailmaker
2024-11-25 01:06:18 +00:00
[102]
type=auth
auth_type=userpass
password=mpHoQ29k2AiH4EN7IXL9vnE9j
username=102
[102]
type=aor
max_contacts=1
remove_existing=yes
2024-11-25 01:06:18 +00:00
[pstn]
type=endpoint
context=incoming
2024-11-25 01:06:18 +00:00
disallow=all
allow=ulaw
auth=pstn
aors=pstn
mailboxes=436@sailmaker
2024-11-25 01:06:18 +00:00
[pstn]
type=auth
auth_type=userpass
password=wiUxqCvXIPPGexXj3y0htFRho
username=pstn
[pstn]
type=aor
max_contacts=1
remove_existing=yes