<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="-1">Hi,</font></p>
    <p><font size="-1">I have been using the (modules 2-2) Fraud
        Detection Module for over a year now and everything has seemed
        OK, but an incorrectly set up auto dialler has uncovered an
        issue with concurrent calls...</font></p>
    <p><font size="-1">Normally you make a call and the concurrent calls
        statistic increments for the user, once the call is cleared down
        the concurrent calls statistic decrements, so far so good.</font></p>
    <p><font size="-1">If you make a call to a non-existent number and
        the gateway returns 404 not found,  the concurrent calls
        statistic increments but does not decrement.  The same is true
        if you call a valid number but cancel the call before the callee
        answers.</font></p>
    <p><font size="-1">So I can get the situation where MI command
        show_fraud_stats shows:<br>
      </font> </p>
    <p><font size="-1">calls per minute:: 1<br>
        total calls:: 28<br>
        concurrent calls:: 24<br>
        sequential calls:: 2</font></p>
    <p><font size="-1">But there are no active dialogs on the system.  I
        make the call to the check_fraud function during the initial
        invite code before t_relay to the gateway.</font></p>
    <p><font size="-1">Any feedback would be appreciated.<br>
      </font></p>
    <div class="moz-signature"><font size="-1"><font face="Verdana">Kind
          regards,<br>
          <br>
          Adrian Fretwell<br>
          A² Engineering Services<br>
        </font></font><small><small><small><font face="Verdana"></font></small></small></small>
    </div>
  </body>
</html>