146 lines
2.6 KiB
Text
146 lines
2.6 KiB
Text
[global]
|
|
type=global
|
|
user_agent=PBX
|
|
|
|
[v4trans]
|
|
type=transport
|
|
protocol=udp
|
|
bind=0.0.0.0:5060
|
|
|
|
[v6trans]
|
|
type=transport
|
|
protocol=udp
|
|
bind=[::]:5060
|
|
|
|
;=============TEMPLATE==============
|
|
|
|
[endpoint-template](!)
|
|
type=endpoint
|
|
context=jerry
|
|
;message_context=jerry-msg
|
|
allow=!all,opus48,opus,ulaw,speex,alaw
|
|
;direct_media=no
|
|
rtp_symmetric=no
|
|
force_rport=yes
|
|
rewrite_contact=yes
|
|
|
|
[peers-endpoint-template](!,endpoint-template)
|
|
context=jerry-peers
|
|
allow=!all,ulaw,opus48,opus,speex,alaw
|
|
|
|
[auth-template](!)
|
|
type=auth
|
|
|
|
[aor-template](!)
|
|
type=aor
|
|
max_contacts=1
|
|
remove_existing=yes
|
|
|
|
;=============PHONES==============
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
callerid=Jerry <424036180001>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
callerid=Jerry <424036180002>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
allow=!all,opus48,opus,ulaw,speex,alaw
|
|
callerid=Jerry <424036180003>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
allow=!all,opus48,opus,ulaw,speex,alaw
|
|
callerid=Jerry <424036180004>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
callerid=Jerry <424036180005>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
;=============EXTERN==============
|
|
|
|
;=============PEERS==============
|
|
|
|
[nia](peers-endpoint-template)
|
|
aors = nia
|
|
identify_by=ip
|
|
[nia](aor-template)
|
|
contact=sip:172.20.168.194:5160
|
|
[nia]
|
|
type=identify
|
|
endpoint=nia
|
|
match=172.20.168.194
|
|
|
|
[zane](peers-endpoint-template)
|
|
aors = zane
|
|
identify_by=ip
|
|
[zane](aor-template)
|
|
contact=sip:172.22.167.72:5060
|
|
[zane]
|
|
type=identify
|
|
endpoint=zane
|
|
match=172.22.167.72
|
|
|
|
[sunnet](peers-endpoint-template)
|
|
aors = sunnet
|
|
identify_by=ip
|
|
[sunnet](aor-template)
|
|
contact=sip:10.127.11.130:5060
|
|
[sunnet]
|
|
type=identify
|
|
endpoint=sunnet
|
|
match=10.127.11.130
|
|
|
|
[hertz](peers-endpoint-template)
|
|
aors = hertz
|
|
identify_by=ip
|
|
[hertz](aor-template)
|
|
contact=sip:172.20.29.73:5060
|
|
[hertz]
|
|
type=identify
|
|
endpoint=hertz
|
|
match=172.20.29.73
|
|
|
|
[jrb0001](peers-endpoint-template)
|
|
aors = jrb0001
|
|
identify_by=ip
|
|
allow=!all,opus48,opus,ulaw,speex,alaw
|
|
[jrb0001](aor-template)
|
|
contact=sip:[fd42:5d71:219:1003:216:3eff:fe9d:882f]:5060
|
|
[jrb0001]
|
|
type=identify
|
|
endpoint=jrb0001
|
|
match=fd42:5d71:219:1003:216:3eff:fe9d:882f
|