Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-08, 12:20 PM
klingon888 klingon888 is offline
Guru
 
Join Date: Nov 2007
Posts: 77
Ward's CallerID Superfecta - souped up!
I liked Titanous's Ultimate CNAM but its no longer supported and I dont know much about Perl. So, I've tweaked Ward's CallerID Superfecta and added the following changes. All you need to do is to rename the attached file to callerid.php and just replace the current version installed in your system. Existing instructions apply for turning on/off search sites.

- 2 more sites - Whocalled.us and Telcodata
- checks for valid US npa
- checks for toll-free npa

For Whocalled.us to work, you need to sign up at the site. Then search for the following in the code and change the 'xxx' to your username and password :

$WhoCalled_name = 'xxx' ;
$WhoCalled_pass = 'xxx' ;
$WhoCalled_threshold = '5' ;
$WhoCalled_CNAM = 'SPAM-CALLER';

Set this to 1 :
$WhoCalled = '1' ;

Thanks to Titanous for his ideas and Ward for the original codes. Hope this works for you. If you find any bugs, pls let me know.
Attached Files:
File Type: txt callerid2.txt (9.0 KB, 36 views)

Last edited by wardmundy : 02-13-09 at 12:37 PM. Reason: Added new strip_tags() function to protect against HTML codes.
Reply With Quote
  #2  
Old 12-17-08, 12:53 PM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,881
Fyi
This code includes the patch from yesterday for STRONG problem. THANKS!!
Reply With Quote
  #3  
Old 12-19-08, 09:28 PM
dstroot dstroot is offline
Member
 
Join Date: Dec 2007
Posts: 30
anyone know how to download this and have it be readable?
Reply With Quote
  #4  
Old 12-20-08, 01:24 AM
tshif tshif is offline
Guru
 
Join Date: Jan 2008
Location: San Diego, Calif
Posts: 1,131
Try Opening it with WORDPAD.
Reply With Quote
  #5  
Old 12-20-08, 09:17 AM
klingon888 klingon888 is offline
Guru
 
Join Date: Nov 2007
Posts: 77
Textpad is better. You can also use Wordpad but sometimes messes up the format when you save it.

Last edited by klingon888 : 12-20-08 at 09:34 AM.
Reply With Quote
  #6  
Old 12-20-08, 11:21 AM
dstroot dstroot is offline
Member
 
Join Date: Dec 2007
Posts: 30
Thanks! Wordpad worked. I first dowloaded it and did not open it - just copied over to my PIAF machine then tried to open it and it was a mess. So you have to open it first in wordpad or textpad.
Reply With Quote
  #7  
Old 12-20-08, 12:54 PM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,881
Or just save it to disk and rename to .php once you copy it over to your PBX in a Flash machine.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:03 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007-2008, Ward Mundy & Associates