HOWTO Cluster¶
For cluster setup, here are the basic steps:
Asterisk only servers:
Update the IP address from 127.0.0.1 to server's IP address in astguiclient.conf:
nano /etc/astguiclient.conf:
# The IP address of this machine VARserver_ip => 127.0.0.1
Update database IP address from localhost to the IP address of DB server:
# Database connection information VARDB_server => localhost
Update the IP address entries in DB;
/usr/share/astguiclient/ADMIN_update_server_ip.pl
Kamailio should be running in 1 server only and point all Asterisk servers to it.
Change vaglxc01.goautodial.com to the hostname of your Kamailio server:
nano /etc/asterisk/sip-goautodial.conf
[kamailio-in] ;encryption=yes ;uncomment for TLS encryption disallow=all allow=opus allow=ulaw type=friend dtmfmode=rfc2833 context=default qualify=yes nat=force_rport,comedia host=vaglxc01.goautodial.com insecure=port,invite
Make sure you have an entry in your /etc/hosts for the hostname and IP address of the Kamailio server.
Web servers:
Make sure the following entries are present in /var/www/html/astguiclient.conf (change IP addresses to the correct ones):
#connection to goautodial db VARDBgo_server => localhost VARDBgo_database => goautodial VARDBgo_user => goautodialu VARDBgo_pass => goautodialu1234 VARDBgo_port => 3306 #connection to kamailio db VARDBgokam_server => localhost VARDBgokam_database => kamailio VARDBgokam_user => kamailiou VARDBgokam_pass => kamailiou1234 VARDBgokam_port => 3306 #connection to osticket db VARDBost_server => localhost VARDBost_database => osticketdb VARDBost_user => osticketu VARDBost_pass => osticket1234 VARDBost_port => 3306
Go to top