Am i on the right track?im using php agi to retrieve data from asterisk
All i can do now is to read the caller id from the one whos calling…but it doesnt make sense,
maybe I’ll be more happy if the one whos being called is the one who hears the caller id read by the asterisk.That is also one of my problem…what is the use hearing your own caller id, of course the one whos calling knows what his caller id is…maybe i need something to redirect the channel, im not sure…
By the way, this is my code in reading the caller id for the one whos calling…In this code, if your the caller, you will actually hear what your caller id is, like 3002 or something…
This code is place in /var/lib/asterisk/agi-bin
$agi = new AGI();
$callernumber = $agi->request["agi_callerid"];
$agi->say_digits($callernumber); //read your own caller id
This directory also contains the phpagi.php who has the class you need to run myscripts.php
i want the popup should be displayed for each and every call for the particular agent to which the call is landed.
Any help or reply will be appreciated…I really need help on this…
You can email me at firstname.lastname@example.org if you want…
Please make us graduate!!!
Thanks in advance!!!