<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Jamie,<br>
      I would suggest to jump at least to latest version mr5.5.x<br>
      <br>
      Cheers,<br>
      <br>
      Daniel<br>
      <br>
    </tt>
    <pre class="moz-signature" cols="72">
</pre>
    <div class="moz-cite-prefix">On 07/09/2018 05:25 PM, Jaime wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2166C4C5-E426-42C2-9703-C1917E8E3815@tnagroup.cl">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div class="">Hi All,</div>
      <div class=""><br class="">
      </div>
      <div class="">I’m using SipWise mr4.5.4 version.</div>
      <div class=""><span id="result_box" class="" tabindex="-1"
          lang="en">I would like to use the anti-fraud functionality,
          but I receive an authentication error when the anti-fraud
          script is run through the crontab.<br class="">
          The error that it gives is of authentication, I attach the
          error executing the script with the option -verbose.</span></div>
      <div class=""><span id="result_box" class="" tabindex="-1"
          lang="en">Please, if you could guide me how to enable the
          correct functioning of the Antifraud script.<br class="">
          <br class="">
          Thank you</span></div>
      <div class="">Jaime</div>
      <div class=""><br class="">
      </div>
      <div class="">==========================</div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><a class="moz-txt-link-abbreviated" href="mailto:root@spce:/etc/cron.d#">root@spce:/etc/cron.d#</a>  
          /usr/sbin/ngcp-fraud-daily-lock -verbose</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">** GET <a
            href="https://127.0.0.1:1442/api/customerfraudevents/?interval=day"
            class="" moz-do-not-send="true">https://127.0.0.1:1442/api/customerfraudevents/?interval=day</a>
          ==> GET <a
            href="https://127.0.0.1:1442/api/customerfraudevents/?interval=day"
            class="" moz-do-not-send="true">https://127.0.0.1:1442/api/customerfraudevents/?interval=day</a></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">User-Agent: libwww-perl/6.08</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Content-Type: application/json</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">NGCP-UserAgent:
          NGCP::API::Client</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Prefer: return=representation</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);
        min-height: 14px;" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""></span><br class="">
      </div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">(no content)</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">HTTP/1.1 401 Unauthorized</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Connection: close</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Date: Mon, 09 Jul 2018 15:16:47
          GMT</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Server: nginx</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">WWW-Authenticate: Basic
          realm="api_admin_system"</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Content-Length: 23</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Content-Type: text/plain;
          charset=UTF-8</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-Date: Mon, 09 Jul 2018
          15:16:47 GMT</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-Peer: 127.0.0.1:1442</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-Response-Num: 1</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Cert-Issuer:
          /C=AT/ST=Some-State/O=Sipwise GmbH/CN=Sipwise <a
            href="mailto:GmbH/emailAddress=service@sipwise.com" class=""
            moz-do-not-send="true">GmbH/emailAddress=service@sipwise.com</a></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Cert-Subject:
          /C=AT/ST=Some-State/O=Sipwise GmbH/CN=Sipwise <a
            href="mailto:GmbH/emailAddress=service@sipwise.com" class=""
            moz-do-not-send="true">GmbH/emailAddress=service@sipwise.com</a></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Cipher:
          ECDHE-RSA-AES256-GCM-SHA384</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Socket-Class:
          IO::Socket::SSL</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Warning: Peer
          certificate not verified</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Set-Cookie:
          ngcp_panel_session=38bce7063f1b8cba48ac152bbba15738933a3102;
          path=/; expires=Mon, 09-Jul-2018 16:16:47 GMT; HttpOnly</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">X-Catalyst: 5.90075</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);
        min-height: 14px;" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""></span><br class="">
      </div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Authorization required.</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">401 Unauthorized</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">** GET <a
            href="https://127.0.0.1:1442/api/customerfraudevents/?interval=day"
            class="" moz-do-not-send="true">https://127.0.0.1:1442/api/customerfraudevents/?interval=day</a>
          ==> GET <a
            href="https://127.0.0.1:1442/api/customerfraudevents/?interval=day"
            class="" moz-do-not-send="true">https://127.0.0.1:1442/api/customerfraudevents/?interval=day</a></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Authorization: Basic
          c3lzdGVtOnRYWXp3emR2ZkFUSmliV2o0ZHEz</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">User-Agent: libwww-perl/6.08</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Content-Type: application/json</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">NGCP-UserAgent:
          NGCP::API::Client</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Prefer: return=representation</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);
        min-height: 14px;" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""></span><br class="">
      </div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">(no content)</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">HTTP/1.1 504 Gateway Time-out</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Connection: close</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Date: Mon, 09 Jul 2018 15:17:47
          GMT</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Server: nginx</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Content-Length: 176</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Content-Type: text/html</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-Date: Mon, 09 Jul 2018
          15:17:47 GMT</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-Peer: 127.0.0.1:1442</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-Response-Num: 1</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Cert-Issuer:
          /C=AT/ST=Some-State/O=Sipwise GmbH/CN=Sipwise <a
            href="mailto:GmbH/emailAddress=service@sipwise.com" class=""
            moz-do-not-send="true">GmbH/emailAddress=service@sipwise.com</a></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Cert-Subject:
          /C=AT/ST=Some-State/O=Sipwise GmbH/CN=Sipwise <a
            href="mailto:GmbH/emailAddress=service@sipwise.com" class=""
            moz-do-not-send="true">GmbH/emailAddress=service@sipwise.com</a></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Cipher:
          ECDHE-RSA-AES256-GCM-SHA384</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Socket-Class:
          IO::Socket::SSL</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Client-SSL-Warning: Peer
          certificate not verified</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">Title: 504 Gateway Time-out</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);
        min-height: 14px;" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""></span><br class="">
      </div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><html>\r</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><head><title>504
          Gateway Time-out</title></head>\r</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><body bgcolor="white">\r</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><center><h1>504
          Gateway Time-out</h1></center>\r</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><hr><center>nginx</center>\r</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""></body>\r</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""></html>\r\n</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">504 Gateway Time-out (60s)</span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">504 Gateway Time-out
          <html></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><head><title>504
          Gateway Time-out</title></head></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><body bgcolor="white"></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><center><h1>504
          Gateway Time-out</h1></center></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><hr><center>nginx</center></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""></body></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""></html></span></div>
      <div style="margin: 0px; line-height: normal; font-family: 'Andale
        Mono'; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);"
        class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><a class="moz-txt-link-abbreviated" href="mailto:root@spce:/etc/cron.d#">root@spce:/etc/cron.d#</a> </span></div>
      <div class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><br class="">
        </span></div>
      <div class=""><br class="">
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>