Re: [Asterisk-Users] CallerID name lookup AGI script

2005-06-24 Thread J P Edmund
] [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 10:04 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID name lookup AGI script I have been trying to get this script to work as well cid_rewrite However this is what the CLI reports

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-06-24 Thread Oswaldo Arratia
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 10:04 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID name lookup AGI script I have been trying to get this script to work as well cid_rewrite However this is what the CLI reports

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-06-23 Thread Oswaldo Arratia
: RE: [Asterisk-Users] CallerID name lookup AGI script Good find -- this could WELL be the case. I'll spend a little time this weekend gettting this to work on php4 as well. There's no good reason to restrict to php5, other than that the code actually looks better. -Original Message

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-06-23 Thread Jay Milk
( $number, 1, 10 ); } -Original Message- From: Oswaldo Arratia [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 10:22 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] CallerID name lookup AGI script Hi List, I've managed

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-06-23 Thread Oswaldo Arratia
Thanks very much -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay Milk Sent: Thursday, June 23, 2005 1:36 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] CallerID name lookup AGI script Sure thing

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-06-23 Thread Oswaldo Arratia
] On Behalf Of Jay Milk Sent: Thursday, June 23, 2005 1:36 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] CallerID name lookup AGI script Sure thing, that's easy. 1- in web_lookup.php, in function get_411 change { $result[ name ] = ! . $parser

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Chris Coulthurst
Well I installed this script on to my system (a few hiccups with php 5 but its not erroring anymore). Still not getting any callerid info to pass to my polycom 500 screen. Could it have anything to do with the fact that the number is prepended with a +1 on the screen? Teliax sends the

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Jay Milk
:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 5:49 AM To: 'Brian Dingman'; 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] CallerID name lookup AGI script Well I installed this script on to my system (a few hiccups with php 5 but its not erroring

Re: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Robert Goodyear
On May 20, 2005, at 3:48 AM, Chris Coulthurst wrote: Well I installed this script on to my system (a few hiccups with php 5 but its not erroring anymore). Still not getting any callerid info to pass to my polycom 500 screen. Could it have anything to do with the fact that the number is prepended

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Chris Coulthurst
|To: 'Asterisk Users Mailing List - Non-Commercial Discussion'; 'Brian |Dingman' |Subject: RE: [Asterisk-Users] CallerID name lookup AGI script | |Which one are you using? If you're using the script found at |http://muware.com/asterisk, then the format of the incoming CID doesn't |matter -- my script

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread pbx
I have been trying to get this script to work as well cid_rewrite However this is what the CLI reports: -- Executing EAGI(Zap/1-1, cid_rewrite/cid_rewrite.php|us) -- Launched AGI Script /var/lib/asterisk/agi-bin/cid_rewrite.php AGI Tx agi_request: cid_rewrite.php AGI Tx agi_channel:

Re: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Moises Silva
sorry, not sure if i am understanding your purpose, you want to alter the callerid_id?? if im right, then, could you show me the code inside cid_rewrite.php?? best regards On 5/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have been trying to get this script to work as well cid_rewrite

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Jay Milk
Run ./cid_rewrite.php from the the shell to see where it's failing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 10:04 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID name lookup

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Jay Milk
' Subject: RE: [Asterisk-Users] CallerID name lookup AGI script Yeah that's the one that I'm using. The incoming context in extensions.conf has the following entry: exten = MYNUMBER,1,EAGI(cid_rewrite.php,us) exten = MYNUMBER,2,Macro(stdexten,201,SIP/201) Pretty straight forward

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Jay Milk
, but I'll make it backward compatible once I have some time. -Original Message- From: Moises Silva [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 12:54 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] CallerID name lookup AGI script

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Oswaldo Arratia
Hi there, I am trying to the the cid_rewrite.php script but if I run it from the directly I get this error: ./cid_rewrite.php br / bParse error/b: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in b/var/lib/asterisk /agi-bin/astlib_jm.php/b on line b73/bbr / br /

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Chris Coulthurst
PROTECTED] On Behalf Of Oswaldo Arratia |Sent: Friday, May 20, 2005 11:34 AM |To: 'Asterisk Users Mailing List - Non-Commercial Discussion' |Subject: RE: [Asterisk-Users] CallerID name lookup AGI script | |Hi there, | |I am trying to the the cid_rewrite.php script but if I run it from the |directly I

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread pbx
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 10:04 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID name lookup AGI script I have been trying to get this script to work as well cid_rewrite However this is what

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Oswaldo Arratia
: [EMAIL PROTECTED] [mailto:asterisk-users- |[EMAIL PROTECTED] On Behalf Of Oswaldo Arratia |Sent: Friday, May 20, 2005 11:34 AM |To: 'Asterisk Users Mailing List - Non-Commercial Discussion' |Subject: RE: [Asterisk-Users] CallerID name lookup AGI script | |Hi there, | |I am trying

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-20 Thread Jay Milk
: Friday, May 20, 2005 2:09 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] CallerID name lookup AGI script I don't know if you ran in to the same thing I did, but did you upgrade your PHP to 5.0.4 to make this work? I found

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-09 Thread Nabeel Jafferali
Mine does business lookups properly, and also uses a mySQL database to cache results (and allows you to store your own results): http://www.muware.com/asterisk/ I run the SQL-query in your readme file and get the following: You have an error in your SQL syntax near 'collate utf8_unicode_ci

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-09 Thread Jay Milk
: RE: [Asterisk-Users] CallerID name lookup AGI script Mine does business lookups properly, and also uses a mySQL database to cache results (and allows you to store your own results): http://www.muware.com/asterisk/ I run the SQL-query in your readme file and get the following

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-08 Thread Jay Milk
-Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Nabeel Jafferali Sent: May 7, 2005 5:35 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] CallerID name lookup AGI script Jim: I

Re: [Asterisk-Users] CallerID name lookup AGI script

2005-05-08 Thread C F
On 5/8/05, Jay Milk [EMAIL PROTECTED] wrote: Mine does business lookups properly, and also uses a mySQL database to cache results (and allows you to store your own results): http://www.muware.com/asterisk/ And yes, it does both google and 411.com, and falls back to telcodata.us to get CO

Re: [Asterisk-Users] CallerID name lookup AGI script

2005-05-08 Thread Brian Dingman
Can you give any help on debugging AGI. The CLI just shows the following: May 8 13:23:54 VERBOSE[18102]: -- Executing EAGI(IAX2/[EMAIL PROTECTED]/1, cid_rewrite.php) in new stack May 8 13:23:54 VERBOSE[18102]: -- Launched AGI Script /var/lib/asterisk/agi-bin/cid_rewrite.php May 8 13:23:54

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-08 Thread Jay Milk
Discussion Subject: Re: [Asterisk-Users] CallerID name lookup AGI script Can you give any help on debugging AGI. The CLI just shows the following: May 8 13:23:54 VERBOSE[18102]: -- Executing EAGI(IAX2/[EMAIL PROTECTED]/1, cid_rewrite.php) in new stack May 8 13:23:54 VERBOSE[18102

Re: [Asterisk-Users] CallerID name lookup AGI script

2005-05-08 Thread Brian Dingman
When I run the script from the command line, I get the following error: [EMAIL PROTECTED] agi-bin]# ./cid_rewrite.php br / bParse error/b: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in b/var/lib/asterisk/agi-bin/astlib_jm.php/b on line b73/bbr / br / bFatal

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-07 Thread Nabeel Jafferali
Jim: I modified your script to first look up Google and then look up 411.com. It's better for me, because 411.com has Canadian listings too. I still left Google in because it's much faster and if it has information, I'd rather use that. I removed the area code thing because it's no use to me. I

RE: [Asterisk-Users] CallerID name lookup AGI script

2005-05-07 Thread Nabeel Jafferali
] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Nabeel Jafferali Sent: May 7, 2005 5:35 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] CallerID name lookup AGI script Jim: I modified your script to first look up Google and then look up 411.com

Re: [Asterisk-Users] CallerID name lookup AGI script

2005-04-10 Thread Brian Dingman
Jim, Thanks for sharing this. I am currently using cidlookup.agi written by James Golovich. http://asterisk.gnuinter.net/ However the problem I have with that script and probably this one also is that my provider sends the number as +16105551212 so I need a way to strip out the leading two