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=asterisk
db_name_cdr - database name asteriskcdrdb:db_name_cdr=asteriskcdrdb
db_user - database user name:
db_user=freepbxuser
db_pass - database user password:
db_pass=
db_host - mysql server address:
db_host=localhost
db_port - mysql server port:
db_port=3306
Section [path] - configuring paths in OS:
agi_bin - path to the agi-bin directory asterisk:
agi_bin=/var/lib/asterisk/agi-bin
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
log=/var/log
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:
sounds=/var/lib/asterisk/sounds/en
For versions of FreePBX under 13, leave the value:
sounds=/var/lib/asterisk/sounds
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.
queue_autocall=2
start_autocall - delay before the circle of execution of the daemon running tasks for "auto-dial".
start_autocall=2
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".
start_autocall_shedule=0.3
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
queue_autocall=1
start_autocall - details for the daemon start "auto-dial"
start_autocall=1
Section [ami] - requisites from AMI Asterisk interface:
host - address of the Asterisk server:
host=localhost
port - port to connect to AMI server Asterisk:
port=5038
user - username:
user=admin
pass - user password:
pass=