@DoctorB wrote:
I need to read the ${dialstatus} variable after a call is originated via AMI. I know that I can use something like below to pass it on to my script:
exten=>n,System(file_name.php ${DIALSTATUS})
However, the problem is that my script is on a remote webserver and not Asterisk. Is there a way to fget() the variable via AMI? or have I got it completely wrong?!
I am on Asterisk 13.14 with Asterisk Call Manager 2.9.
Posts: 4
Participants: 3