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

CID Superfecta Say No To 0870 module uses incorrect URL and HTML pattern

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CID Superfecta
    • Labels:
      None
    • ToDo:
    • Distro:
      FreePBX Distro

      Description

      The CID Superfecta data source for Say No To 0870 currently does not work.

      To fix it, edit sources/source-Say_No_To_0870_UK.module:

      • Line 23: change the URL to
        
        "https://saynoto0870.com/numbersearch.php" 
      • Line 27: change the matching pattern to:
        
        $pattern = '/<td.*<a.*target=\"_blank\">(.*)<\/a><\/td>/U'; 

       

      You will need to apply the patch from FREEPBX-22293 before testing.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lgaetz Lorne Gaetz
                Reporter:
                philpem Phil Pemberton
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Feedback Requested:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.