[Asterisk-Users] CallerID name lookup AGI script

pbx at itsngroup.com pbx at itsngroup.com
Fri May 20 12:25:03 MST 2005


That was it!
Told me exactly what i needed.

in the php file it's looking for /usr/bin/php
mine was in /usr/local/bin/php

ARGH!!!!! so simple

Thanks for that though!!

it's working Great!!!


> Run ./cid_rewrite.php from the the shell to see where it's failing.
>
>> -----Original Message-----
>> From: pbx at itsngroup.com [mailto:pbx at itsngroup.com]
>> 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:
>>     -- 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: Zap/1-1
>> AGI Tx >> agi_language: en
>> AGI Tx >> agi_type: Zap
>> AGI Tx >> agi_uniqueid: 1116600703.79
>> AGI Tx >> agi_callerid: 619xxxxxxx  <-- it is getting caller
>> id number AGI Tx >> agi_calleridname: unknown AGI Tx >>
>> agi_callingpres: 0 AGI Tx >> agi_callingani2: 0 AGI Tx >>
>> agi_callington: 0 AGI Tx >> agi_callingtns: 0 AGI Tx >>
>> agi_dnid: unknown AGI Tx >> agi_rdnis: unknown AGI Tx >>
>> agi_context: incoming-zap AGI Tx >> agi_extension: s AGI Tx
>> >> agi_priority: 2 AGI Tx >> agi_enhanced: 1.0 AGI Tx >>
>> agi_accountcode: AGI Tx >>
>>     -- AGI Script cid_rewrite.php completed, returning 0
>>     -- Executing Dial("Zap/1-1", "IAX2/4000|20|rtT")
>>     -- Called 4000
>>     -- Call accepted by 129.46.90.210 (format gsm)
>>     -- Format for call is gsm
>>
>> However, it does not have any information being returned.
>>
>> I have edited the agi_config.php to point to where the
>> information is. But it just is not getting anything.
>>
>> Help???...
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/aster> isk-users
>> To
>> UNSUBSCRIBE or update options visit:
>>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>





More information about the asterisk-users mailing list