On Fri, March 18, 2005 16:01, Jay Milk said:> Hi folks, I think my little agi script is ready for the big one-oh-oh.Feel free to check the e164.org zone for TXT records... -- Best regards, Duane http://www.cacert.org - Free Security Certificates http://www.nodedb.com - Think globally, network locally http://www.sydneywireless.com - Telecommunications Freedom http://happysnapper.com.au - Sell your photos over the net! http://e164.org - Using Enum.164 to interconnect asterisk servers "In the long run the pessimist may be proved right, but the optimist has a better time on the trip."
Hi folks, I think my little agi script is ready for the big one-oh-oh. Available at http://muware.com/asterisk is cid_rewrite-1.0.0. This agi-script does the following: - Standardize incoming caller-id numbers to adhere to US dialing code; NANPA numbers are reformatted to 1+10, international numbers become 011<country-code><number> (this is customizable with a little PHP knowledge). - Look up the associated caller-id name in a mysql table. - If not found in the DB, it attempts a reverse-lookup on 411.com (and extracts the City name even if the number was not found). - If not found on 411.com, it attemps a reverse-lookup on google.com; if not found, it falls back to pulling the rate-center from telcodata.us. - If available, the address associated with the phone-number is also extracted and inserted into the DB. This has been working for a little over a month for me. Have fun getting it to work on your end. Disclaimer -- pulling information from 411.com doesn't agree with their terms of service. Use at your own risk, and don't use it commercially. Lookups on google.com don't seem to have that restriction.
Steven Frazier
2005-Mar-17 22:21 UTC
[Asterisk-Users] Getting caller-name - cid_rewrite 1.0.0
I just dropped in the update, nice work, Jay! I love the address feature and the additional Google lookup, nice touch! Steve -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jay Milk Sent: Friday, March 18, 2005 12:02 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Getting caller-name - cid_rewrite 1.0.0 Hi folks, I think my little agi script is ready for the big one-oh-oh. Available at http://muware.com/asterisk is cid_rewrite-1.0.0. This agi-script does the following: - Standardize incoming caller-id numbers to adhere to US dialing code; NANPA numbers are reformatted to 1+10, international numbers become 011<country-code><number> (this is customizable with a little PHP knowledge). - Look up the associated caller-id name in a mysql table. - If not found in the DB, it attempts a reverse-lookup on 411.com (and extracts the City name even if the number was not found). - If not found on 411.com, it attemps a reverse-lookup on google.com; if not found, it falls back to pulling the rate-center from telcodata.us. - If available, the address associated with the phone-number is also extracted and inserted into the DB. This has been working for a little over a month for me. Have fun getting it to work on your end. Disclaimer -- pulling information from 411.com doesn't agree with their terms of service. Use at your own risk, and don't use it commercially. Lookups on google.com don't seem to have that restriction. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users