Notes on AGI debugging

Ways to do it

  1. in the CLI: agi debug
  2. in the script $AGI->verbose($message,<loglevel>);
  3. in the shell: sudo -u asterisk <agi-script>

Step 3 helped me to discover that the asterisk-perl parent directory’s permissions were too restrictive.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.