Open Source Training Seminar FreePBX Paid Support

Module Subdirectories

Part of the FreePBX ModuleSystem.

It is possible for modules to add files to other areas of the system. They can do this by having specially-named subdirectories in the module directory with the files they want to put on the system. These files will get symlinked to the appropriate place by the retrieve_conf script.

  • agi-bin goes to /var/lib/asterisk/agi-bin
  • sounds goes to /var/lib/asterisk/sounds
  • etc goes to /etc/asterisk
  • bin goes to /var/lib/asterisk/bin

(note: the actual dirs are read from amportal.conf)

Care should be taken to ensure the filename is reasonable and will not conflict with existing files. If a file with the same name already exists in the target directory, the module's file will NOT be symlinked. This may break the module!

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads