[Asterisk-Users] CallerID name lookup AGI script

Oswaldo Arratia oarratia at workersequity.net
Fri May 20 11:33:41 MST 2005


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 />
<b>Parse 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 <b>73</b><br />
<br />
<b>Fatal error</b>:  Cannot instantiate non-existent class:  agi in
<b>/var/lib/asterisk/agi-bin/cid_rewrite.php</b> on
line <b>60</b><br />



Here is the PHP version I am using:
PHP 5.0.4 (cgi) (built: May 20 2005 14:08:40)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies 

Does anybody know what my problem is or if I am missing anythiong here?

Thanks!!

Oswaldo






More information about the asterisk-users mailing list