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@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

Reply via email to