First commit merge
This commit is contained in:
70
config/default.json
Normal file
70
config/default.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"sip": {
|
||||
"host": "0.0.0.0",
|
||||
"port": 5060,
|
||||
"transport": "udp",
|
||||
"publicIp": null
|
||||
},
|
||||
"rtpProxy": {
|
||||
"enabled": true,
|
||||
"host": "rtpproxy",
|
||||
"port": 7722
|
||||
},
|
||||
"dispatcher": {
|
||||
"asteriskServers": [
|
||||
{
|
||||
"host": "asterisk1",
|
||||
"port": 5060,
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"host": "asterisk2",
|
||||
"port": 5060,
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"logging": {
|
||||
"level": "info",
|
||||
"file": "logs/sbc.log",
|
||||
"maxSize": "10m",
|
||||
"maxFiles": 5
|
||||
},
|
||||
"security": {
|
||||
"maxForwards": 10,
|
||||
"enableUAFilter": true,
|
||||
"blockedUserAgents": [
|
||||
"friendly-scanner",
|
||||
"sip-scan",
|
||||
"sip-scaner",
|
||||
"sipvicious",
|
||||
"sip-sip"
|
||||
],
|
||||
"allowedUserAgents": [
|
||||
"zoiper",
|
||||
"telephone",
|
||||
"linphone",
|
||||
"twinkle",
|
||||
"csipsimple",
|
||||
"sipdroid",
|
||||
"3cx",
|
||||
"asterisk",
|
||||
"kamailio",
|
||||
"freebox",
|
||||
"bria",
|
||||
"x-lite",
|
||||
"counterpath"
|
||||
],
|
||||
"specialNumbers": [
|
||||
"3179",
|
||||
"8000",
|
||||
"*600",
|
||||
"888"
|
||||
]
|
||||
},
|
||||
"registry": {
|
||||
"defaultExpires": 3600,
|
||||
"maxExpires": 3600,
|
||||
"minExpires": 60
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user