2024/asterisk/pjsip.conf

388 lines
5.6 KiB
Plaintext

;===============TRANSPORT
[simpletrans]
type=transport
protocol=udp
bind=0.0.0.0
;===============ENDPOINT TEMPLATES
[endpoint-basic](!)
type=endpoint
context=openfest
disallow=all
allow=alaw
subscribe_context=HINTS
allow_subscribe=yes
[endpoint-trunk](!)
type=endpoint
context=trunk
disallow=all
allow=alaw
[auth-userpass](!)
type=auth
auth_type=userpass
[aor-single-reg](!)
type=aor
max_contacts=1
;========== ATLAS OUT ===============
[atlas-out](endpoint-trunk)
type=endpoint
auth=authAtlas-Out
outbound_auth=authAtlas-Out
direct_media=no
aors=atlas-out
[authAtlas-Out]
type=auth
auth_type=userpass
username=<sip-subscriber>
password=<sip-subscriber-pass>
[atlas-out]
type=aor
contact=sip:<sip-server-ip>:5060
qualify_frequency=30
qualify_timeout=5
[atlas-out]
type=registration
outbound_auth=authAtlas-Out
server_uri=sip:<sip-domain>
client_uri=sip:<user>@<sip-domain>
[authAtlas-Out]
type=identify
endpoint=atlas-out
match=<sip-server-ip>
;===============EXTENSION NOC1
[NOC1](endpoint-basic)
auth=authNOC1
aors=NOC1
[authNOC1](auth-userpass)
password=<some-rand-password>
username=NOC1
[NOC1](aor-single-reg)
;===============EXTENSION NOC2
[NOC2](endpoint-basic)
auth=authNOC2
aors=NOC2
[authNOC2](auth-userpass)
password=<some-rand-password>
username=NOC2
[NOC2](aor-single-reg)
;===============EXTENSION REC1
[REC1](endpoint-basic)
auth=authREC1
aors=REC1
[authREC1](auth-userpass)
password=<some-rand-password>
username=REC1
[REC1](aor-single-reg2
;===============EXTENSION REC2
[REC2](endpoint-basic)
auth=authREC2
aors=REC2
[authREC2](auth-userpass)
password=<some-rand-password>
username=REC2
[REC2](aor-single-reg)
;===============EXTENSION ROOM-A
[ROOM-A](endpoint-basic)
auth=authROOM-A
aors=ROOM-A
[authROOM-A](auth-userpass)
password=<some-rand-password>
username=ROOM-A
[ROOM-A](aor-single-reg)
;===============EXTENSION ROOM-B
[ROOM-B](endpoint-basic)
auth=authROOM-B
aors=ROOM-B
[authROOM-B](auth-userpass)
password=<some-rand-password>
username=ROOM-B
[ROOM-B](aor-single-reg)
;===============EXTENSION ROOM-Z
[ROOM-Z](endpoint-basic)
auth=authROOM-Z
aors=ROOM-Z
[authROOM-Z](auth-userpass)
password=<some-rand-password>
username=ROOM-Z
[ROOM-Z](aor-single-reg)
;===============EXTENSION TEAM
[TEAM](endpoint-basic)
auth=authTEAM
aors=TEAM
[authTEAM](auth-userpass)
password=<some-rand-password>
username=TEAM
[TEAM](aor-single-reg)
;
;==============EXTENSION 401
[401](endpoint-basic)
auth=auth401
aors=401
[auth401](auth-userpass)
password=<some-rand-password>
username=401
[401](aor-single-reg)
;==============EXTENSION 402
[402](endpoint-basic)
auth=auth402
aors=402
[auth402](auth-userpass)
password=<some-rand-password>
username=402
[402](aor-single-reg)
;==============EXTENSION 403
[403](endpoint-basic)
auth=auth403
aors=403
[auth403](auth-userpass)
password=<some-rand-password>
username=403
[403](aor-single-reg)
;==============EXTENSION 404
[404](endpoint-basic)
auth=auth404
aors=404
[auth404](auth-userpass)
password=<some-rand-password>
username=404
[404](aor-single-reg)
;==============EXTENSION 405
[405](endpoint-basic)
auth=auth405
aors=405
[auth405](auth-userpass)
password=<some-rand-password>
username=405
[405](aor-single-reg)
;==============EXTENSION 406
[406](endpoint-basic)
auth=auth406
aors=406
[auth406](auth-userpass)
password=<some-rand-password>
username=406
[406](aor-single-reg)
;==============EXTENSION 407
[407](endpoint-basic)
auth=auth407
aors=407
[auth407](auth-userpass)
password=<some-rand-password>
username=407
[407](aor-single-reg)
;==============EXTENSION 408
[408](endpoint-basic)
auth=auth408
aors=408
[auth408](auth-userpass)
password=<some-rand-password>
username=408
[408](aor-single-reg)
;==============EXTENSION 409
[409](endpoint-basic)
auth=auth409
aors=409
[auth409](auth-userpass)
password=<some-rand-password>
username=409
[409](aor-single-reg)
;==============EXTENSION 410
[410](endpoint-basic)
auth=auth410
aors=410
[auth410](auth-userpass)
password=<some-rand-password>
username=410
[410](aor-single-reg)
;==============EXTENSION 411
[411](endpoint-basic)
auth=auth411
aors=411
[auth411](auth-userpass)
password=<some-rand-password>
username=411
[411](aor-single-reg)
;==============EXTENSION 412
[412](endpoint-basic)
auth=auth412
aors=412
[auth412](auth-userpass)
password=<some-rand-password>
username=412
[412](aor-single-reg)
;==============EXTENSION 413
[413](endpoint-basic)
auth=auth413
aors=413
[auth413](auth-userpass)
password=<some-rand-password>
username=413
[413](aor-single-reg)
;==============EXTENSION 414
[414](endpoint-basic)
auth=auth414
aors=414
[auth414](auth-userpass)
password=<some-rand-password>
username=414
[414](aor-single-reg)
;==============EXTENSION 415
[415](endpoint-basic)
auth=auth415
aors=415
[auth415](auth-userpass)
password=<some-rand-password>
username=415
[415](aor-single-reg)
;==============EXTENSION 416
[416](endpoint-basic)
auth=auth416
aors=416
[auth416](auth-userpass)
password=<some-rand-password>
username=416
[416](aor-single-reg)
;==============EXTENSION 417
[417](endpoint-basic)
auth=auth417
aors=417
[auth417](auth-userpass)
password=<some-rand-password>
username=417
[417](aor-single-reg)
;==============EXTENSION 418
[418](endpoint-basic)
auth=auth418
aors=418
[auth418](auth-userpass)
password=<some-rand-password>
username=418
[418](aor-single-reg)
;==============EXTENSION 419
[419](endpoint-basic)
auth=auth419
aors=419
[auth419](auth-userpass)
password=<some-rand-password>
username=419
[419](aor-single-reg)
;==============EXTENSION 420
[420](endpoint-basic)
auth=auth420
aors=420
[auth420](auth-userpass)
password=<some-rand-password>
username=420
[420](aor-single-reg)