Runtime environment

Custom servers are usually invoked by the Custom Server Manager, and inherit certain attributes from the parent process:

Current Directory
.’ refers to the $VAEBIN directory. Relative file access of the form ‘./..’ is not recommended.
Environment Variables
  • $DB is the name of the directory containing the Blueworx Voice Response database.
  • $VAE is the name of the top-most Blueworx Voice Response directory.
  • $VAEBIN is the name of the directory from where Blueworx Voice Response executables are run.
  • $CUR_DIR and $CA_DIR. The combination of these environment variables, ${CUR_DIR}${CA_DIR}, resolves to the directory name holding all the custom server directories.