Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-15770

superfecta not working correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14, 15
    • Fix Version/s: 14, 15
    • Component/s: CID Superfecta
    • Labels:
      None
    • ToDo:

      Description

      from:

      https://community.freepbx.org/t/superfecta-only-works-in-debug-mode/43812/13

      Lorne....another bug...check this FULL DEBUG please. PLease note SPAM was NOT in the email nor the callerid displayed and the call was NOT directed to to my SPAM mailbox:

      -------- Forwarded Message --------
      Subject: Incoming call from Philadelphi, PA at 2676781015
      Date: Tue, 5 Sep 2017 14:57:44 -0400 (EDT)
      From: pbx@backwoodswireless.net
      To: wa4zlw@arrl.net

      Incoming call from Philadelphi, PA at 2676781015. Automated notification email sent by the POSSA Superfecta Caller ID Module

      Debug is on and set at level: 3
      The Original Number: 2676781015
      The Scheme: Default
      Scheme Type: SINGLEFECTA
      Debugging Enabled, will not stop after first result

      Scheme Asked is: Default
      The DID is: 5555555555
      The CNUM is: 2676781015
      The CNAME is: CID Superfecta!

      Starting scheme Default
      Executing Send to email
      Searching Send to Email ...
      result took 0.0004 seconds.

      Executing Asterisk Phonebook
      Searching Asterisk Phonebook ...
      not found
      result took 0.0011 seconds.

      Executing OpenCNAM
      Searching OpenCNAM ...
      Orignal Raw Returned Data:
      Philadelphi, PA

      CNAM determined good.
      'Philadelphi, PA'
      result took 0.0635 seconds.

      Executing TrueCNAM
      TrueSpam enabled
      Orignal Raw Returned Data:
      {"called_number": "", "proposed_calling_number": "", "extended_name": "", "queries_per_minute_remaining": 1, "queries_per_day_remaining": 21, "spam_score": 100, "calling_number": "12676781015", "spam_score_match": 1, "err": "0", "true_clid": "unknown", "cnam_match": 0, "error_msg": "", "name": ""}

      TrueSpam Score available
      result took 0.3313 seconds.

      Executing Telco Data
      Searching Telco Data ... : 2676781015
      Orignal Raw Returned Data:
      <?xml version="1.0" encoding="UTF-8"?>

      267
      678
      YES
      1
      NOCLLIKNOWN
      PA
      PHLDLPHZN2
      967E
      PEERLESS NETWORK OF PENNSYLVAN
      CLEC
      04/04/2013

      'PHLDLPHZN2, PA'
      result took 0.0709 seconds.

      Executing FccComplaints
      Searching FCC Data source...
      Orignal Raw Returned Data:
      []

      0 reports found, Not a SPAM caller. You can raise the spam threshold in settings.
      result took 0.6267 seconds.

      Executing Who Called
      Searching Who Called for number of user reports ...
      SPAM URL: https://whocalled.us/do?action=getScore&name=LeonZetekoff&pass=Leonz$4199&phoneNumber=2676781015&days=365
      Orignal Raw Returned Data:
      success=1&score=0

      Score not found
      Searching Who Called for CNAM...
      NAME URL: https://whocalled.us/do?action=getWho&name=LeonZetekoff&pass=Leonz$4199&phoneNumber=2676781015
      Orignal Raw Returned Data:
      success=1&who=Eagleville%2C+PA

      'Eagleville%2C+PA'
      result took 0.4827 seconds.

      Converting result to UTF-8
      Post CID retrieval processing
      Executing Send to email
      Email sent to wa4zlw@arrl.net Incoming call from Philadelphi, PA at 2676781015
      Done
      This scheme would set the caller id to: SPAM Philadelphi, PA

      Returned Result would be:SPAM Philadelphi, PA
      result took 1.6051669120789 seconds
      wa4zlwLeon Zetekoff
      28m

      Lorne – here's another did that seems to create an error. I did get an email but no spam on it but I never heard the phone ring so this one might have went to the spam mailbox.

      -------- Forwarded Message --------
      Subject: Incoming call from Claims Dept at 4758977304
      Date: Tue, 5 Sep 2017 15:07:47 -0400 (EDT)
      From: pbx@backwoodswireless.net
      To: wa4zlw@arrl.net

      Incoming call from Claims Dept at 4758977304. Automated notification email sent by the POSSA Superfecta Caller ID Module

      ==========================================

      Debug is on and set at level: 3
      The Original Number: 4758977304
      The Scheme: Default
      Scheme Type: SINGLEFECTA
      Debugging Enabled, will not stop after first result

      Scheme Asked is: Default
      The DID is: 5555555555
      The CNUM is: 4758977304
      The CNAME is: CID Superfecta!

      Starting scheme Default
      Executing Send to email
      Searching Send to Email ...
      result took 0.0004 seconds.

      Executing Asterisk Phonebook
      Searching Asterisk Phonebook ...
      not found
      result took 0.0016 seconds.

      Executing OpenCNAM
      Searching OpenCNAM ...
      Orignal Raw Returned Data:
      Claims Dept

      CNAM determined good.
      'Claims Dept'
      result took 0.8357 seconds.

      Executing TrueCNAM
      TrueSpam enabled
      Orignal Raw Returned Data:
      {"called_number": "", "proposed_calling_number": "", "extended_name": "", "queries_per_minute_remaining": 1, "queries_per_day_remaining": 18, "spam_score": 100, "calling_number": "14758977304", "spam_score_match": 1, "err": "0", "true_clid": "unknown", "cnam_match": 0, "error_msg": "", "name": ""}

      TrueSpam Score available
      result took 0.1047 seconds.

      Executing FccComplaints
      Searching FCC Data source...
      Orignal Raw Returned Data:
      [{"advertiser_business_phone_number":"475-897-7304","caller_id_number":"475-897-7304","city":"Goodyear","id":"1786586","issue":"Unwanted Calls","issue_date":"2017-07-18T00:00:00.000","issue_time":"3:04 pm","issue_type":"Phone","location_1":{"type":"Point","coordinates":[-112.388703,33.480367]},"location_1_city":"AZ","location_1_zip":"85395","method":"Wired","state":"AZ","ticket_created":"2017-07-18T17:19:59.000","type_of_call_or_messge":"Abandoned Calls","zip":"85395"}
      ,{"advertiser_business_phone_number":"None","caller_id_number":"475-897-7304","city":"Dalton Gardens","id":"1681880","issue":"Unwanted Calls","issue_date":"2017-06-02T00:00:00.000","issue_type":"Phone","location_1":{"type":"Point","coordinates":[-116.793,47.722408]},"location_1_city":"ID","location_1_zip":"83815","method":"Wired","state":"ID","ticket_created":"2017-06-02T16:17:37.000","type_of_call_or_messge":"Prerecorded Voice","zip":"83815"}
      ,{"advertiser_business_phone_number":"None","caller_id_number":"475-897-7304","city":"Paris","id":"1681508","issue":"Unwanted Calls","issue_date":"2017-06-02T00:00:00.000","issue_type":"Phone","location_1":{"type":"Point","coordinates":[-88.32572,36.305637]},"location_1_city":"TN","location_1_zip":"38242","method":"Internet (VOIP)","state":"TN","ticket_created":"2017-06-02T14:28:04.000","type_of_call_or_messge":"Abandoned Calls","zip":"38242"}
      ,{"advertiser_business_phone_number":"None","caller_id_number":"475-897-7304","city":"Garner","id":"1679214","issue":"Unwanted Calls","issue_date":"2017-05-31T00:00:00.000","issue_type":"Phone","location_1":{"type":"Point","coordinates":[-78.587726,35.660024]},"location_1_city":"NC","location_1_zip":"27529","method":"Wired","state":"NC","ticket_created":"2017-06-01T15:52:32.000","type_of_call_or_messge":"Abandoned Calls","zip":"27529"}
      ,{"advertiser_business_phone_number":"None","caller_id_number":"475-897-7304","city":"Manhattan","id":"1532047","issue":"Unwanted Calls","issue_date":"2017-03-28T00:00:00.000","issue_type":"Phone","location_1":{"type":"Point","coordinates":[-96.557276,39.171709]},"location_1_city":"KS","location_1_zip":"66502","method":"Wired","state":"KS","ticket_created":"2017-03-28T17:08:23.000","type_of_call_or_messge":"Prerecorded Voice","zip":"66502"}]

      5 reports found, determined to be SPAM. You can lower the spam threshold in settings.
      result took 0.2127 seconds.

      Executing Who Called
      Searching Who Called for number of user reports ...
      SPAM URL: https://whocalled.us/do?action=getScore&name=LeonZetekoff&pass=Leonz$4199&phoneNumber=4758977304&days=365
      Orignal Raw Returned Data:
      success=1&score=0

      Score not found
      Searching Who Called for CNAM...
      NAME URL: https://whocalled.us/do?action=getWho&name=LeonZetekoff&pass=Leonz$4199&phoneNumber=4758977304
      Orignal Raw Returned Data:
      success=1&who=

      CNAM not found
      {"error":{"type":"Whoops\Exception\ErrorException","message":"Undefined variable: caller_id","file":"\/var\/www\/html\/admin\/modules\/superfecta\/sources\/source-Who_Called.module","line":132}}

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wa4zlw wa4zlw
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Feedback Requested: