what is server ip for a new carrier?
Posted: Wed Mar 18, 2015 4:09 pm
Server IP -This is the server that this specific carrier record is associated with.
when I look in Admin-> servers it shows the external IP address.
As I expect, update server shows the internal IP address for vicibox:
When I look at the servers (1), it shows correctly:
Yet, when I go to add a carrier, it only shows the external IP address for the vicibox server. I believe this is the "source carrier"?
Selecting "copy a carrier" I note that Server IP is my internal ip address, as above. What's my Source Carrier and how do I enter it?
The fine manual, p13 uses Server IP: 10.10.10.15 (set this to your server ip) and I note that the sample string:
Registration String: register => newsip:test@10.10.10.15:5060
uses that same IP address.
Obviously, the connection is between the vicidial server's IP address and the IP address for the "trunking" carrier.
What do I want, and how do I enter, data for the server ip dropdown list?
when I look in Admin-> servers it shows the external IP address.
As I expect, update server shows the internal IP address for vicibox:
- Code: Select all
tleilax:~ #
tleilax:~ # perl /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] 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...
|1|UPDATE servers SET server_ip='192.168.0.21' where server_ip='';|
Updating phones table...
|3|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...
|1|UPDATE vicidial_server_carriers SET server_ip='192.168.0.21' where server_ip='';|
Updating vicidial_inbound_dids table...
|1|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 (11 sec) (0.183333333333333 minutes)
tleilax:~ #
tleilax:~ # perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
tleilax:~ #
When I look at the servers (1), it shows correctly:
- Code: Select all
SERVER LISTINGS:
SERVER ID NAME SERVER IP ACTIVE AGENT ASTERISK TRUNKS GMT MODIFY
linux-k7qk Server linux-k7qk 192.168.0.21 Y Y 1.8.29.0-vici 23 -5.00 MODIFY
Yet, when I go to add a carrier, it only shows the external IP address for the vicibox server. I believe this is the "source carrier"?
Selecting "copy a carrier" I note that Server IP is my internal ip address, as above. What's my Source Carrier and how do I enter it?
The fine manual, p13 uses Server IP: 10.10.10.15 (set this to your server ip) and I note that the sample string:
Registration String: register => newsip:test@10.10.10.15:5060
uses that same IP address.
Obviously, the connection is between the vicidial server's IP address and the IP address for the "trunking" carrier.
What do I want, and how do I enter, data for the server ip dropdown list?