<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><tt>Hi Guillaume,</tt></p>
<p><tt>That's not the latest 2.2 code you're looking at, this
specific issue was fixed in issue #888 [1]. Please pull the latest
code and let us know if there's anything else to take care of.<br>
</tt></p>
<p><tt>[1]: <a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues/888">https://github.com/OpenSIPS/opensips/issues/888</a><br>
</tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 21.06.2017 16:04, guillaume
Montassier wrote:<br>
</div>
<blockquote type="cite" cite="mid:594A6EC5.5090809@openip.fr">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Hi,<br>
<br>
I want to use fraud detection to check sequential_call by profile
id.<br>
<br>
In my configuration, each client is equal to a profileid. So I
want to check how many sequential call this client do.<br>
I check fraud_detection.c (opensips 2.2) and I saw "<i>last_called_prefix.len
== matched_len && memcmp(last_called_prefix.s, number.s,
matched_len)</i>".<br>
So it seems not possible to do it natively... Is it possible to
modify simply fraud_detection to compare not the<i>
last_called_prefix</i> but something like <i>last_called_prefix_of_this_profileid</i><br>
<br>
Thanks a lot,<br>
<br>
Guillaume <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>