Where is fusion getting it's variables?

Status
Not open for further replies.

nktech1135

Member
Dec 16, 2017
51
2
8
us
I'm setting up a new fusion instance for myself. This is not the first time i have done this or the only fusion instance i have running but i always wanted to learn a little more about how variables are stored. For example, where is fusion getting the variable for rtp ip?
In advanced>variables i find a variable called 'external_rtp_ip'. the value is '$${local_ip_v4}'. How does fusion find out what '$${local_ip_v4}' actually is?

Thanks.
 

ad5ou

Active Member
Jun 12, 2018
884
197
43
It pulls the IP from operating system. When system has a public IP everything works, but there isn’t anything in install scripts to attempt to figure out if system is behind NAT.

if you really want to know what is going on during install, just follow along the commands in install.sh. The initial script calls several other scripts for the various steps but is all there to see.

Several settings can be preset by editing /usr/arc/fusionpbx-install/debian/resources/config.sh before running install.sh
 
  • Like
Reactions: kristiam garcia

markjcrane

Active Member
Staff member
Jul 22, 2018
450
162
43
49
This local_ip_v4 is a special FreeSWITCH dynamic variable which reads it from the operating system you can override it by putting a value of local_ip_v4 in advanced -> variables before it is used by another variable.
 
Status
Not open for further replies.