<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>On Thu, 29 Sep 2016, at 18:10, George Joseph wrote:<br></div>
<blockquote type="cite"><p dir="ltr"><div>The lawyers made us. ;-) <br></div>
<div> In order to lessen the risk of future legal action, the codec reports anonymous stats to Digium once per day that contain the maximum number of simultaneous opus channels in the past 24 hours.  Again, totally anonymous. We don't even record ip addresss, just a uuid and count. To protect that mechanism we had to do a binary distribution.<br></div>
</p></blockquote><div><br></div>
<div>By a quick look at the codec_opus.so file we see that the function<br></div>
<div>license_count_send() uses libcurl to make a POST request to<br></div>
<div>'<a href="https://stats.asterisk.org/license">https://stats.asterisk.org/license</a>' with the following headers/data:<br></div>
<div><br></div>
<div>Content-Type: application/json<br></div>
<div>{ "namespace": "codec_opus", "uuid": "%s", "high_water_mark": %d }<br></div>
<div><br></div>
<div>For those who feel uneasy about sending usage data to remote servers the readme<br></div>
<div><a href="http://downloads.digium.com/pub/telephony/codec_opus/asterisk-14.0/x86-64/README">http://downloads.digium.com/pub/telephony/codec_opus/asterisk-14.0/x86-64/README</a><br></div>
<div>states that 'If the module fails to send usage statistics, it will NOT affect<br></div>
<div>the operation of the Opus codec'<br></div>
<div>So disabling this can be simply done by altering the host string for the<br></div>
<div>Digium statistics server with something like the following:<br></div>
<div><br></div>
<div>sed -i 's%stats.asterisk.org%127.0.0.1/fooo/bar%' codec_opus.so<br></div>
<div><br></div>
<div>or by adding stats.asterisk.org in your hosts file and pointing it to some<br></div>
<div>neutral IP like 127.0.0.1<br></div>
<div id="sig56743601"><div class="signature"><br></div>
<div class="signature">--<br></div>
<div class="signature">Lefteris Zafiris<br></div>
</div>
</body>
</html>