First commit merge
This commit is contained in:
62
config/drachtio.conf.xml
Normal file
62
config/drachtio.conf.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<sip>
|
||||
<contact>
|
||||
<!-- Listen on all interfaces -->
|
||||
<sip:udp:*:5060;transport=udp/>
|
||||
<sip:tcp:*:5060;transport=tcp/>
|
||||
<sip:tls:*:5061;transport=tls/>
|
||||
</contact>
|
||||
</sip>
|
||||
|
||||
<admin>
|
||||
<port>9022</port>
|
||||
<secret>cymru</secret>
|
||||
<!-- Uncomment to restrict access to specific IPs -->
|
||||
<!-- <access-list>127.0.0.1,192.168.1.0/24</access-list> -->
|
||||
</admin>
|
||||
|
||||
<logging>
|
||||
<level>debug</level>
|
||||
<sofia-level>9</sofia-level>
|
||||
<!-- Uncomment to log to file -->
|
||||
<!-- <file>/var/log/drachtio/drachtio.log</file> -->
|
||||
</logging>
|
||||
|
||||
<cdr>
|
||||
<enabled>true</enabled>
|
||||
<!-- Uncomment to send CDRs to Homer -->
|
||||
<!-- <homer>udp://homer.example.com:9060</homer> -->
|
||||
<!-- Uncomment to send CDRs to Splunk -->
|
||||
<!-- <splunk>hep://splunk.example.com:9060</splunk> -->
|
||||
</cdr>
|
||||
|
||||
<!-- Spam protection -->
|
||||
<spam>
|
||||
<!-- Reject calls from known spammer User-Agents -->
|
||||
<reject>
|
||||
<user-agent>friendly-scanner</user-agent>
|
||||
<user-agent>sip-scan</user-agent>
|
||||
<user-agent>sipcli</user-agent>
|
||||
<user-agent>VaxSIPUserAgent</user-agent>
|
||||
<user-agent>VOIP</user-agent>
|
||||
<user-agent>Internet</user-agent>
|
||||
</reject>
|
||||
</spam>
|
||||
|
||||
<!-- Prometheus metrics (uncomment to enable) -->
|
||||
<!--
|
||||
<metrics>
|
||||
<prometheus>9090</prometheus>
|
||||
</metrics>
|
||||
-->
|
||||
|
||||
<!-- TLS certificates (uncomment and update paths for TLS) -->
|
||||
<!--
|
||||
<tls>
|
||||
<certificate>/etc/ssl/certs/drachtio.crt</certificate>
|
||||
<private-key>/etc/ssl/private/drachtio.key</private-key>
|
||||
<ca-chain>/etc/ssl/certs/ca-bundle.crt</ca-chain>
|
||||
</tls>
|
||||
-->
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user