Perl script for Asterisk which lookups CID in internet and returns name and address if found. Currently there are 4 different sources included for Germany,Austria,Swiss.

The found name can be also stored in MySQL or Asterisk DB to speedup further lookups.

Script will also use tellows.de to get the spam score and you can decide yourself with the variable SPAMSCORE if you let the caller pass.

To use the script you will need to get HTML::TreeBuilder and Asterisk::AGI.
Store the script in the /var/lib/asterisk/agi-bin folder and put in dialplan something like:

exten => _X.,1,ExecIf($[${LEN(${DB(cidname/${CALLERID(num)})})} > 0]?SET(CALLERID(name)=${DB(cidname/${CALLERID(num)})}):AGI(reversecheck.agi,${CALLERID(num)}))
same => n,ExecIf($[${LEN(${RESULTREV})} > 0]?SET(CALLERID(name)=${RESULTREV}))
same => n,GotoIf($[${REGEX("[7-9]" ${SPAMSCORE})}]?spamtrap,${EXTEN},1)

Features

  • Reverse Lookup Phone numbers in Internet
  • Store results in MySQL or Asterisk DB
  • Display found name and address on your phone
  • Get Spamscore from Tellows.de

Project Activity

See All Activity >

Follow Asterisk AGI Reverse Lookup

Asterisk AGI Reverse Lookup Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Asterisk AGI Reverse Lookup!

Additional Project Details

Registered

2014-02-25