<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><tt>The more I think about it, the more "call duration" makes
        sense as it is now.  If you want to force a shorter dialog
        lifetime, there is no need to duplicate this logic into check_fraud()
        -- you can already achieve it by setting custom $DLG_timeout
        values.<br>
      </tt></p>
    <p><tt>Ideally, we should be able to one or more stats [1].  And
        complete suggestions on how we can improve the existing ones are
        welcome.</tt></p>
    <p><tt>Best regards,<br>
      </tt></p>
    <p><tt>[1]: <a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues/890">https://github.com/OpenSIPS/opensips/issues/890</a></tt><br>
    </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 14.06.2018 13:20, Denis via Users
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:715851528971652@web2g.yandex.ru">
      <div>As for me, it is not solve the problem, if we will still
        talking about 'per call' criteria.</div>
      <div>For example. I set 10 "total calls" with 600 seconds of the
        "call duration". Your idea will give us 100 minute of successful
        calls. Not such many for minutes, but may be a lot in money.</div>
      <div> </div>
      <div>But, if it is difficult to make control of the "call
        duration" per "interval", then "it is better, then nothing".
        Your idea decrease (in combination of the "total calls") a
        number of successful minutes than we can get now.</div>
      <div>But this feature should be switched off, if needed.</div>
      <div> </div>
      <div>-- </div>
      <div>С уважением, Денис.</div>
      <div>Best regards, Denis</div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div>13.06.2018, 18:40, "Liviu Chircu" <a class="moz-txt-link-rfc2396E" href="mailto:liviu@opensips.org"><liviu@opensips.org></a>:</div>
      <blockquote type="cite">
        <p>I agree - it seems like a "good in theory, bad in practice"
          kind of<br>
          feature.  So let's see how we can make it better: would it
          make more<br>
          sense to add a forced dialog lifetime equal to the critical
          threshold of<br>
          the "call duration" setting upon calling check_fraud() (which,
          by the<br>
          way, will also create the dialog if it's not there), while
          keeping the<br>
          event alerts just like they are now?<br>
          <br>
          Liviu Chircu<br>
          OpenSIPS Developer<br>
          <a href="http://www.opensips-solutions.com/"
            moz-do-not-send="true">http://www.opensips-solutions.com</a><br>
          <br>
          On 12.06.2018 13:12, Денис Путято via Users wrote:</p>
        <blockquote> Hmm.....<br>
           And what is the purpose of control "per call"?<br>
           As i understand it triggers AFTER calls finishing. What can
          we do in<br>
           such situation?<br>
           Just send email to, for example, support, that "potential
          fraud" call<br>
           has been finished?</blockquote>
        <p><br>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org"
            moz-do-not-send="true">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
      </blockquote>
      <!--'"--><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>