what does Server IP Address connect with?

All installation and configuration problems and questions

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

what does Server IP Address connect with?

Postby THUFIR » Fri Mar 20, 2015 3:12 am

Is it at all normal that, after installing ViciBox express (redux), I should have to manually enter the IP address?

Server IP Address -The field where you put the Network IP address of the Asterisk server.

What seems odd is that the *external* IP address is automatically filled, correctly. How is this field connected with ADMIN_update_server_ip.pl?

When I run the update server ip script, it doesn't correct a typo I put in that field:

Code: Select all
SERVER LISTINGS:
SERVER ID   NAME   SERVER IP   ACTIVE   AGENT   ASTERISK   TRUNKS   GMT   MODIFY
arrakis   Server arrakis   192.168.0.22   Y   Y   1.8.29.0-vici   23   -5.00   MODIFY


I should be .21, not .22

running the script:

Code: Select all
arrakis:~ #
arrakis:~ # /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: []

server IP address or press enter for default: [192.168.0.21]

  old server_ip:     
  new server_ip:      192.168.0.21

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.0.21' where server_ip='';|
  Updating phones table...
     |2|UPDATE phones SET server_ip='192.168.0.21' where server_ip='';|
  Updating inbound_numbers table...
     |0E0|UPDATE inbound_numbers SET server_ip='192.168.0.21' where server_ip='';|
  Updating server_updater table...
     |1|UPDATE server_updater SET server_ip='192.168.0.21' where server_ip='';|
  Updating conferences table...
     |49|UPDATE conferences SET server_ip='192.168.0.21' where server_ip='';|
  Updating vicidial_conferences table...
     |249|UPDATE vicidial_conferences SET server_ip='192.168.0.21' where server_ip='';|
  Updating vicidial_stations table...
     |0E0|UPDATE vicidial_stations SET server_ip='192.168.0.21' where server_ip='';|
  Updating vicidial_remote_agents table...
     |0E0|UPDATE vicidial_remote_agents SET server_ip='192.168.0.21' where server_ip='';|
  Updating phone_favorites table...
     |0E0|UPDATE phone_favorites SET server_ip='192.168.0.21' where server_ip='';|
  Updating vicidial_server_trunks table...
     |0E0|UPDATE vicidial_server_trunks SET server_ip='192.168.0.21' where server_ip='';|
  Updating vicidial_server_carriers table...
     |0E0|UPDATE vicidial_server_carriers SET server_ip='192.168.0.21' where server_ip='';|
  Updating vicidial_inbound_dids table...
     |0E0|UPDATE vicidial_inbound_dids SET server_ip='192.168.0.21' where server_ip='';|
  Updating vicidial_process_triggers table...
     |0E0|UPDATE vicidial_process_triggers SET server_ip='192.168.0.21' where server_ip='';|
  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!


     - process runtime      (12 sec) (0.2 minutes)
You have new mail in /var/mail/root
arrakis:~ #



Is there no connection between that script and the field?



Incidentally, or perhaps not, I'm getting spammed with mail about AST_conf_update.pl, so I ran it:


Code: Select all
arrakis:~ # /usr/share/astguiclient/AST_conf_update.pl
unknown remote host:  at /usr/share/astguiclient/AST_conf_update.pl line 258


line 258:

$conf_empty[$i]=0;


although I didn't trace back that variable to find out what it was.


This is on a spanking new install. I don't recall these errors on prior attempts to install vicibox with the same CD on the same hardware.
ViciBox Redux v.6.0.3-141118 from .iso | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | AMD Phenom(tm) II X6 1090T Processor | 8GiB RAM
THUFIR
 
Posts: 109
Joined: Fri May 02, 2014 10:46 pm

Return to Support

Who is online

Users browsing this forum: Fares MEHENI and 51 guests