Hi to all.
I am using phpAgi to originate some outbound call with AMI. Lets say this php file is makecall.php
Then according to context, the dialplan in extension.conf runs another phpAgi script. Lets say this php file is test.php.
With this structure I can make any outbound call, but the problem is that I can not take dialstatus or CDR disposition correctly in test.php or makecall.php . Because if the called one doesnt answer or make it busy, I can not take these values correctly.
While I was investigating this situation in web, I saw it is said that with “Originate” function, it is not possible to take these values. They were suggesting to use local channels firstly.
So, what should I do? Are you going to suggest the local channels too? If so, please show me the proper way of it.
Thank you very much.