Static IP Changed

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Static IP Changed

Postby kolucoms6 » Sun Jan 04, 2009 6:52 am

Recently I had to change my Static IP .

After changing the static IP in network card, dialer works but it shows me the Old Static IP in Admin Phone and also in Reports.

How to change those ?
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby newx22 » Sun Jan 04, 2009 11:04 am

download heidisql will allow you to connect with your mysql database and browse the tables.
newx22
 
Posts: 38
Joined: Mon Dec 22, 2008 11:38 am

Postby kolucoms6 » Sun Jan 04, 2009 2:22 pm

I guess That Webmin will also allow me to do that

But I want to know no command to update it all instead of fiddling around with db manually ?
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby williamconley » Sun Jan 04, 2009 4:49 pm

ADMIN_update_server_ip.pl
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby kolucoms6 » Sun Jan 04, 2009 9:08 pm

Do I have to run this command or I have to open this file and edit IP ?
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby williamconley » Sun Jan 04, 2009 10:00 pm

Don't have the manager's manual, huh?

If you read the comments inside the file, it's pretty self-explanatory.

It is a script (thus the ".pl" at the end of the file name, as it is a perl script) which will (when run) modify the ip for you everywhere necessary. As with everything else, no warranty, but i've used it a couple times and it works quite well.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby kolucoms6 » Mon Jan 05, 2009 12:12 am

But in manual, I don't find any keyword by

ADMIN_update_server_ip.pl
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby okli » Mon Jan 05, 2009 3:07 am

Just run the script and follow the prompts. Or run it with --help option to see available parameters.

BTW by looking at the script itself you could figure out most of that. All vicidial scripts are well commented.
Code: Select all
# ADMIN_update_server_ip.pl - updates IP address in DB and conf file
#
# This script is designed to update all database tables and the local
# astguiclient.conf file to reflect a change in IP address. The script will
# automatically default to the first eth address in the ifconfig output.
......
print "command-line options:\n";
   print "  [--help] = this help screen\n";
   print "  [--debug] = verbose debug messages\n";
   print "  [--auto] = no prompts\n";
   print "configuration options:\n";
   print "  [--old-server_ip=192.168.0.1] = define old server IP address at runtime\n";
   print "  [--server_ip=192.168.0.2] = define new server IP address at runtime\n";
   print "\n";
.....
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 97 guests