Hi List,
I'm trying to setup an environment which consist of 3 servers (see below). Actually I have no idea whether I'm doing it correctly. Can someone enlighten? and sorry for the long posting.
Machine 1: Asterisk Server (192.168.0.102)
- install all CPAN modules as per scratch_install
- install asterisk-perl-module
- install sox, screen, ntpd, zaptel, libpri & asterisk
- adduser cron
- configure asterisk as per scratch_install
- install astguiclient_1.1.11 EXACTLY as scratch_install SUBPHASE 6.0
- AST_SERVER_conf.pl configured
Machine 2: Apache + astguiclient & vicidial (192.168.0.101)
- install all CPAN modules as per scratch_install
- install asterisk-perl-module
- install screen, ntpd, apache, php
- adduser cron
- install astguiclient_1.1.11 EXACTLY as scratch_install SUBPHASE 6.0
- dbconnect.php and AST_SERVER_conf.pl configured
Machine 3: MySQL Server (192.168.0.100)
- install all CPAN modules as per scratch_install
- install asterisk-perl-module
- install ntpd, MySQL
- adduser cron
- install astguiclient_1.1.11 EXACTLY as scratch_install SUBPHASE 6.0
- dbconnect.php and AST_SERVER_conf.pl configured
- perform as per scratch_install (ip changed) and added 2 additional line:
GRANT SELECT,INSERT,UPDATE,DELETE on asterisk.* TO
cron@192.168.0.102 IDENTIFIED BY '1234';
GRANT SELECT on asterisk.phones TO
idcheck@192.168.0.102 IDENTIFIED BY '1234';
>>> server_updater values is my asterisk server ip?
- SUBPHASE 6.3: added records to vicidial_users and vicidial_conferences.
>>> vicidial_conferences (server_ip) referring to asterisk server ip?
+++++++++++++++++++++++++++++++++++++++++++++
At SUBPHASE 6.4, I only add specific entry to each of the servers. This is my entry:
Asterisk Server - add the CVSROOT, start time server, load digium cards, subsys local login, sleep 20 secs, start asterisk
MySQL Server - start time server, startup MySQL, subsys local login
Apache, astguiclient & vicidial Server - start time server, startup apache, subsys local login
+++++++++++++++++++++++++++++++++++++++++++++
I have all SUBPHASE 6.5 entry into Asterisk Server ONLY.
+++++++++++++++++++++++++++++++++++++++++++++
After doing the above, I able to view agc, astguiclient as well as vicidial page. Making and receiving calls using Zap channel also not a problem.
Question:
1. Is the above mentioned setup correct?
2. I keep getting this message in my Asterisk Server:
New mail for root@AstServer has arrived:
----
From:
root@AstServer.astserver.net
Subject: cron: /home/cron/AST_vm_update.pl
unknown remote host: at /home/cron/AST_vm_update.pl line 144
----
New mail for root@AstServer has arrived:
----
From:
root@AstServer.astserver.net
Subject: cron: /home/cron/AST_conf_update.pl
unknown remote host: at /home/cron/AST_conf_update.pl line 144
----
Did I did anything wrong or missing something here? Advice is highly appreciated. Thank you very much.
Eric.C