-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 13
-
Component/s: CID Superfecta
-
Labels:None
-
Bug Tracker:Customer Issue
-
Asterisk Version:13
-
Distro Version:10.13.66-13
-
Distro:FreePBX Distro
I have versionĀ 13.0.4.1 of the CID Superfecta module
There is an error in the code in module: /var/www/admin/modules/superfecta/sources/source-CallerID_Service.module on Line 59
the variable $st_unknown is misspelled.
Error marked in red, fix marked in green.
This is what is there now..
{{ else {
$url = "http://cnam.calleridservice.com/query?u=".$run_$
$this->DebugPrint("URL: $url",3);
$sname = $this->get_url_contents($url);
// CallerID service returns CNAM with the following pre$
$st_error = strstr($sname, "CNAM ");
$st_unknown = strstr($sname, "UNKNOWN");
$st_unavail = strstr($sname, "UNAVAILABLE");
// give up if any errors
if($st_error || $st_unkown || $st_unavail)
{ $this->DebugPrint(_("Error in Lookup.")); return; }}}
this change fixes it..
{{ else {
$url = "http://cnam.calleridservice.com/query?u=".$run_$
$this->DebugPrint("URL: $url",3);
$sname = $this->get_url_contents($url);
// CallerID service returns CNAM with the following pre$
$st_error = strstr($sname, "CNAM ");
$st_unknown = strstr($sname, "UNKNOWN");
$st_unavail = strstr($sname, "UNAVAILABLE");
// give up if any errors
if($st_error || $st_unknown || $st_unavail) { $this->DebugPrint(_("Error in Lookup.")); return; }
}}
- is duplicated by
-
FREEPBX-17330 FreePBX 14 - Superfecta - CallerIDServer module bug
-
- Closed
-