2 Database for vicidial
Posted: Mon Jul 17, 2017 3:43 am
Hi guys,
First of all, build as stated below:
VERSION: 2.14-610a
BUILD: 170416-1548
Distributor ID: SUSE LINUX
Description: openSUSE Leap 42.1 (x86_64)
Release: 42.1
I understand that server IP configurations is set inside /etc/astguiclient.conf
# The IP address of this machine
VARserver_ip => x.x.x.x
# Database connection information
VARDB_server => x.x.x.x
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_custom_user => custom
VARDB_custom_pass => custom12324
VARDB_port => 3306
Also, there's the servers section in vicidial itself where you can add your web and database servers.
Question is, since i am on CLUSTER setup is it possible to add another database in the Servers making it 2 entries, 1 web and 2 databases
then set other Phone records' database to the 2nd one i created?
For example, phone 100001 Server IP is 10.10.1.1, phone 10002 Server IP is 10.10.1.2.
I would like to have other agents pointing to a different database due to the time zones they are using, 1 is PST and the other is +8 making it hard for the new account to filter report data due to time zones.
Please let me know.
Thanks and regards,
First of all, build as stated below:
VERSION: 2.14-610a
BUILD: 170416-1548
Distributor ID: SUSE LINUX
Description: openSUSE Leap 42.1 (x86_64)
Release: 42.1
I understand that server IP configurations is set inside /etc/astguiclient.conf
# The IP address of this machine
VARserver_ip => x.x.x.x
# Database connection information
VARDB_server => x.x.x.x
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_custom_user => custom
VARDB_custom_pass => custom12324
VARDB_port => 3306
Also, there's the servers section in vicidial itself where you can add your web and database servers.
Question is, since i am on CLUSTER setup is it possible to add another database in the Servers making it 2 entries, 1 web and 2 databases
then set other Phone records' database to the 2nd one i created?
For example, phone 100001 Server IP is 10.10.1.1, phone 10002 Server IP is 10.10.1.2.
I would like to have other agents pointing to a different database due to the time zones they are using, 1 is PST and the other is +8 making it hard for the new account to filter report data due to time zones.
Please let me know.
Thanks and regards,