This commit is contained in:
JerryXiao 2023-07-29 00:03:35 +08:00
commit a6e0a783c0
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5
5 changed files with 124 additions and 13 deletions

View file

@ -18,7 +18,7 @@ bind=[::]:5060
type=endpoint
context=jerry
;message_context=jerry-msg
allow=!all,opusloss,ulaw,alaw,speex
allow=!all,opus64,opusloss,speex32,ulaw,alaw
direct_media=no ; proxy all calls
rtp_ipv6=yes
rtp_symmetric=yes
@ -31,7 +31,7 @@ rewrite_contact=yes
[peers-endpoint-template](!,endpoint-template)
context=jerry-peers
allow=!all,ulaw,alaw,opusloss
allow=!all,opus64,speex32,ulaw,alaw
[auth-template](!)
type=auth
@ -180,7 +180,6 @@ match=172.20.29.73
[jrb0001](peers-endpoint-template)
aors = jrb0001
identify_by=ip
allow=!all,opusloss,speex,ulaw,alaw
[jrb0001](aor-template)
contact=sip:[fd42:5d71:219:1008:216:3eff:fe9d:882f]:5060
[jrb0001]
@ -197,3 +196,36 @@ contact=sip:172.20.14.37:5060
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)