Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12670

How to get DIALSTATUS from AMI?

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 12670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>