title: Are there parallels to Asterisk AMI and AGI in FreeSWITCH?
body: <p>Asterisk has <a href="http://www.the-asterisk-book.com/unstable/asterisk-manager-api.html" rel="noreferrer">Asterisk Manager Interface (AMI)</a> and <a href="http://www.asterisk.org/docs/asterisk/trunk/applications/agi" rel="noreferrer">Asterisk Gateway Interface (AGI)</a>, using which one can trigger PHP scripts at certain events from Asterisk. Using the same PHP scripts can also instruct Asterisk what to do next to a call/conference. Are there parallels to AMI and AGI in FreeSWITCH?</p>