231 lines
4.2 KiB
Text
231 lines
4.2 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,opus64,opusloss,speex32,ulaw,alaw
|
|
direct_media=no ; proxy all calls
|
|
rtp_ipv6=yes
|
|
rtp_symmetric=yes
|
|
tone_zone=cn
|
|
rtp_timeout=60
|
|
rtp_timeout_hold=120
|
|
rpid_immediate=yes
|
|
force_rport=yes
|
|
rewrite_contact=yes
|
|
|
|
[peers-endpoint-template](!,endpoint-template)
|
|
context=jerry-peers
|
|
allow=!all,opus64,speex32,ulaw,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
|
|
callerid=Jerry <424036180003>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
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)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
callerid=Jerry <424036180006>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
callerid=Jerry <424036180007>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
callerid=Jerry <424036180008>
|
|
[REDACTED](auth-template)
|
|
auth_type=userpass
|
|
username=REDACTED
|
|
password=REDACTED
|
|
[REDACTED](aor-template)
|
|
|
|
[REDACTED](endpoint-template)
|
|
auth = REDACTED
|
|
aors = REDACTED
|
|
callerid=Jerry <424036180009>
|
|
[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:172.21.100.138:5060
|
|
[sunnet]
|
|
type=identify
|
|
endpoint=sunnet
|
|
match=172.21.100.138
|
|
|
|
[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
|
|
[jrb0001](aor-template)
|
|
contact=sip:[fd42:5d71:219:1008:216:3eff:fe9d:882f]:5060
|
|
[jrb0001]
|
|
type=identify
|
|
endpoint=jrb0001
|
|
match=fd42:5d71:219:1008:216:3eff:fe9d:882f
|
|
|
|
[kioubit](peers-endpoint-template)
|
|
aors = kioubit
|
|
identify_by=ip
|
|
[kioubit](aor-template)
|
|
contact=sip:172.20.14.37:5060
|
|
[kioubit]
|
|
type=identify
|
|
endpoint=kioubit
|
|
match=172.20.14.37
|
|
|
|
[modem](peers-endpoint-template)
|
|
allow=!all,alaw,ulaw
|
|
|
|
[modem0](peers-endpoint-template)
|
|
allow=!all,alaw,ulaw
|
|
device_state_busy_at=1
|
|
|
|
[modem1](peers-endpoint-template)
|
|
allow=!all,alaw,ulaw
|
|
device_state_busy_at=1
|
|
|
|
[modem2](peers-endpoint-template)
|
|
allow=!all,alaw,ulaw
|
|
device_state_busy_at=1
|
|
|
|
[modem3](peers-endpoint-template)
|
|
allow=!all,alaw,ulaw
|
|
device_state_busy_at=1
|
|
|
|
[modem4](peers-endpoint-template)
|
|
allow=!all,alaw,ulaw
|
|
device_state_busy_at=1
|
|
|
|
[modem5](peers-endpoint-template)
|
|
allow=!all,alaw,ulaw
|
|
device_state_busy_at=1
|
|
|
|
[modem6](peers-endpoint-template)
|
|
allow=!all,alaw,ulaw
|
|
device_state_busy_at=1
|
|
|
|
[anonymous](peers-endpoint-template)
|