<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Team,</p>
<p>I am currently having difficulty upgrading a routing script from
OpenSIPS v2.4 to OpenSIPS v3.2. The function call check_fraud
causes a segmentation fault.</p>
<p>I understand that drouting.so and dialog.so are required
dependencies. <br>
</p>
<p>Having now read
<a class="moz-txt-link-freetext" href="https://www.opensips.org/Documentation/Tutorials-FraudDetection-3-1">https://www.opensips.org/Documentation/Tutorials-FraudDetection-3-1</a>
it would appear that the following are mandatory parameters:</p>
<p>modparam("drouting", "db_partitions_url",
"mysql://root:123456@localhost/opensips")<br>
modparam("drouting", "use_partitions", 1)<br>
modparam("fraud_detection", "db_url",
"mysql://root:123456@localhost/opensips")<br>
</p>
<p>Can you confirm that the use of partitions is really mandatory, I
do not use partitions for drouting in my v2.4 routing script,
perhaps not having partitions is the cause of the Seg fault?</p>
<p>Also, if I do need to set modparam("drouting", "use_partitions",
1), what is the best minimal way of doing this when I have no need
of the partition? Can I create a partition name and specify the
existing dr table names?<br>
</p>
<div class="moz-signature"><br>
</div>
<font face="Verdana, Helvetica, Sans-Serif" color="#000000">Kind
regards,<br>
<br>
Adrian Fretwell<br>
Nottinghamshire<br>
UK.<br>
<br>
</font><small><small><small></small></small></small><small><small><small>
</small></small></small>
</body>
</html>