-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrachtio.conf.xml
More file actions
62 lines (52 loc) · 1.83 KB
/
Copy pathdrachtio.conf.xml
File metadata and controls
62 lines (52 loc) · 1.83 KB
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
<!-- for reference: https://github.com/drachtio/drachtio-server/blob/develop/drachtio.conf.xml -->
<drachtio>
<!-- Admin interface configuration -->
<admin port="9021" secret="cymru">0.0.0.0</admin>
<!-- SIP stack configuration -->
<sip>
<contacts>
<contact>sip:*;transport=tcp</contact>
</contacts>
<!-- Security: Block known malicious User-Agents -->
<spammers action="reject" tcp-action="discard">
<header name="User-Agent">
<value>sip-cli</value>
<value>sipcli</value>
<value>friendly-scanner</value>
</header>
<header name="To">
<value>sipvicious</value>
</header>
</spammers>
<!-- Optional: Configure SIP stack timers -->
<timers>
<t1>500</t1>
<t2>4000</t2>
<t4>5000</t4>
<t1x64>32000</t1x64>
</timers>
</sip>
<!-- Enable CDR (Call Detail Records) for connected clients -->
<cdrs>true</cdrs>
<!-- Monitoring configuration -->
<!-- <monitoring>
<prometheus port="8088">0.0.0.0</prometheus>
</monitoring> -->
<!-- Logging configuration -->
<logging>
<!-- Console logging only since we're in a container -->
<console />
<!-- File-based logging with rotation -->
<file>
<name>/var/log/drachtio/drachtio.log</name>
<archive>/var/log/drachtio/archive</archive>
<size>100</size>
<maxFiles>20</maxFiles>
<auto-flush>true</auto-flush>
</file>
<!-- Sofia SIP stack log level (0-9) -->
<sofia-loglevel>3</sofia-loglevel>
<!-- General process log level: notice, warning, error, info, debug -->
<loglevel>info</loglevel>
</logging>
</drachtio>