ansible/roles/asterisk/templates/pjsip.conf.j2
2024-11-24 20:38:05 -05:00

85 lines
1.1 KiB
Django/Jinja

[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
[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
[101]
type=auth
auth_type=userpass
password=5KVzU5Ez77lIIv4SAyzDOnMWo
username=101
[101]
type=aor
max_contacts=1
[102]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=102
aors=102
[102]
type=auth
auth_type=userpass
password=mpHoQ29k2AiH4EN7IXL9vnE9j
username=102
[102]
type=aor
max_contacts=1
[pstn]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=pstn
aors=pstn
[pstn]
type=auth
auth_type=userpass
password=wiUxqCvXIPPGexXj3y0htFRho
username=pstn
[pstn]
type=aor
max_contacts=1