Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
[root@dialer astguiclient]# /usr/share/astguiclient/ADMIN_update_server_ip.pl
Previous astGUIclient configuration file found at: /etc/astguiclient.conf
Would you like to use interactive mode (y/n): [y]
STARTING SERVER IP ADDRESS CHANGE FOR VICIDIAL...
Old server IP address or press enter for default: [192.168.12.8] 192.168.12.6
server IP address or press enter for default: [192.168.12.8]
old server_ip: 192.168.12.6
new server_ip: 192.168.12.8
Are these settings correct?(y/n): [y]
Writing change to astguiclient.conf file: /etc/astguiclient.conf
STARTING DATABASE TABLES UPDATES PHASE...
Updating servers table...
|0E0|UPDATE servers SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
but i don't see a line for updating any other fields ... did the script stop there? (this is not the "server_ip" field ...)Updating servers table...
|0E0|UPDATE servers SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
...begining is above...
|0E0|UPDATE servers SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating phones table...
|0E0|UPDATE phones SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating inbound_numbers table...
|0E0|UPDATE inbound_numbers SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating server_updater table...
|0E0|UPDATE server_updater SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating conferences table...
|0E0|UPDATE conferences SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating vicidial_conferences table...
|0E0|UPDATE vicidial_conferences SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating vicidial_stations table...
|0E0|UPDATE vicidial_stations SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating vicidial_remote_agents table...
|0E0|UPDATE vicidial_remote_agents SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating phone_favorites table...
|0E0|UPDATE phone_favorites SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating vicidial_server_trunks table...
|0E0|UPDATE vicidial_server_trunks SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating vicidial_server_carriers table...
|0E0|UPDATE vicidial_server_carriers SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Updating vicidial_inbound_dids table...
|0E0|UPDATE vicidial_inbound_dids SET server_ip='192.168.12.8' where server_ip='192.168.12.6';|
Setting servers to rebuild conf files...
|1|UPDATE servers SET rebuild_conf_files='Y' where generate_vicidial_conf='Y' and active_asterisk_server='Y';|
SERVER IP ADDRESS CHANGE FOR VICIDIAL FINISHED!
If you are not having VICIDIAL auto-generate your conf files, please
remember to change your extensions.conf entries for the new IP address:
exten => _192*168*012*008*.,1,Goto(default,,1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
- process runtime (16 sec) (0.266666666666667 minutes)
UPDATE servers SET server_ip='192.168.12.8' where server_ip='192.168.12.6';
UPDATE servers SET telnet_host='192.168.12.8' where telnet_host='192.168.12.6';
Users browsing this forum: No registered users and 101 guests