Service configuration file
Path to file: /etc/pbxunit/pbxunit.conf
Section [mysql] - settings for connection to the Mysql database. Description of the parameters:
db_name - the name of the asterisk database:
db_name_cdr - database name asteriskcdrdb:
db_user - database user name:
db_pass - database user password:
db_host - mysql server address:
db_port - mysql server port:
Section [path] - configuring paths in OS:
agi_bin - path to the agi-bin directory asterisk:
log - path to the directory where the log files of services will be created. The following files will be created: for the auto-call queue daemon - the pbxu_queue_autocall.log file, for the auto-call job daemon, the pbxu_start_autocall.log file
sounds - path to the directory with audio files Asterisk.
For FreePBX version 13 and higher, specify the path along with the language code, for example for English:
For versions of FreePBX under 13, leave the value:
Section [sleep_time] - setting delays for daemons, in seconds:
queue_autocall - delay before the round-robin daemon task queue for "auto-dial". You can increase the delay to reduce the load on the database.
start_autocall - delay before the circle of execution of the daemon running tasks for "auto-dial".
start_autocall_shedule - delay after each job for the daemon to run "auto-call" tasks. You can use this parameter to bypass the number of calls per second limit for the operator (CPS). The use of this parameter affects the processing speed of jobs, for example, with the value "0.3" - no more than 3-4 new jobs per second will be run on your system. If your operator does not have a CPS limit or you need a very high speed of job processing - you can set this parameter to "0".
Section [log_verbose] - details of log files of demons:
Select one value. Possible values are:
0 - disabled. Only information about the launch of the daemon and debugging information are displayed in case of a demon drop.
1 - the output of information about the processed errors is added, for example - a connection error to the database.
2 - the output of information about the current tasks is added.
queue_autocall - details for the daemon of the "auto-dial" queue
start_autocall - details for the daemon start "auto-dial"
Section [ami] - requisites from AMI Asterisk interface:
host - address of the Asterisk server:
port - port to connect to AMI server Asterisk:
user - username:
pass - user password: