-
Notifications
You must be signed in to change notification settings - Fork 93
/
drachtio.conf.json
64 lines (64 loc) · 1.41 KB
/
drachtio.conf.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"admin": {
"host": "localhost",
"port": 9022,
"secret": "cymru"
},
"_request-handlers_": {
"INVITE": "http://35.187.89.96:80"
},
"sip": {
"contacts": [
{
"uri": "sip:*;transport=udp,tcp",
"_external-ip_": "35.187.22.33",
"_dns-names_": "server01.mydomain.com"
}
],
"timers": {
"t1": 500,
"t2": 4000,
"t4": 5000,
"t1x64": 32000
},
"_capture-server_": {
"host": "127.0.0.1",
"port": 9060,
"hep-version": 3,
"id": 101
},
"_tls_": {
"key-file": "/etc/letsencrypt/live/yourdomain/privkey.pem",
"cert-file": "/etc/letsencrypt/live/yourdomain/cert.pem",
"chain-file": "/etc/letsencrypt/live/yourdomain/chain.pem"
},
"_mtu-size_": 4096,
"_outbound-proxy_": "sip:10.10.10.1:5088",
"spammers": {
"action": "reject",
"tcp-action": "discard",
"headers": {
"User-Agent": ["sip-cli", "sipcli", "friendly-scanner"],
"To": ["sipvicious"]
}
},
"cdrs": false
},
"logging": {
"console": false,
"_syslog_": {
"host": "my.syslog.server",
"port": 514,
"facility": "local6"
},
"file": {
"name": "/var/log/drachtio/drachtio.log",
"archive": "/var/log/drachtio/archive",
"max-size": 5120,
"min-size": 10240,
"auto-flush": true
},
"level": "info",
"sofia-level": 3
}
}