title: How to Convert existing Asterisk AGI scripts to FASTAGI script
body: <p>I have an Asterisk server working perfectly fine in a payment environment. Now, there is need for me to separate the business logics from the Asterisk Server for efficiency, and protecting the AGI scripts for obvious reasons.</p>
  
  <p>The question is, how do I convert the existing working AGI scripts to FASTAGI scripts, or how do I call the existing AGI scripts from a FASTAGI server?</p>
  
  <p>I have red some post with answers on this platform, but none have stated clearly how to do this from scratch. Will be glad to have clear understanding on how to achieve this using PHP. </p>