FusionPBX
cfc539ceed
Update install_switch.php
...
Switch directory will not always exist if the FreeSWITCH is installed on a separate machine than FusionPBX.
2016-10-31 23:46:13 -06:00
Mafoo
59ddf92f1b
I got the permissions wrong ( #1616 )
...
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo
a8b667cd0b
Added sticky GID permissions ( #1615 )
2016-05-25 21:51:41 -06:00
Harry G. Coin
91a92d8e5e
\r\n --> \n
...
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
markjcrane
f16259f268
Work on the install.
2016-04-14 21:14:40 -06:00
markjcrane
bd1f5b4388
Run upgrade to call app defaults.
2016-04-03 13:46:46 -06:00
markjcrane
65a2cec4ab
Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code.
2016-04-03 08:39:47 -06:00
markjcrane
7d61371bc9
Rename the EventSocket class.
2016-04-02 19:23:16 -06:00
markjcrane
11f4fea479
Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated.
2016-04-02 08:32:43 -06:00
Alexey Melnichuk
26b376cad8
Fix. Generate same `config.lua` on install as on Upgrade.
2016-03-29 14:43:58 +03:00
mafoo
91b61683c0
WhitespaceClean-core/install
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:03:29 +00:00
markjcrane
f7be0cc943
Fix the comment on install_switch.php.
2016-02-29 11:43:32 -07:00
markjcrane
d110fe8f7e
install_first_time.php rename to install.php.
2016-02-29 11:28:43 -07:00
markjcrane
093556cd42
Rename install_first_time variable and file name. Remove the install/upgrade_switch.php which isn't being used anymore. Update the indentation and remove inconsistent white spaces.
2016-02-29 09:24:05 -07:00
Matthew Vale
d7948a7d2a
migrated install_switch's recursive_* routines
2015-12-21 10:54:48 +00:00
markjcrane
37d4f52dc8
Convert localhost to 127.0.0.1 before determining the host_type.
2015-12-06 12:43:18 -07:00
markjcrane
8909ce9e63
Detect the host type for PostgreSQL so it works with host or ip address. Also improve the code consistency by correcting the indentation and adding a few more comments.
2015-12-06 12:25:34 -07:00
Matthew Vale
6d13594e80
added suppression of progress by default
2015-12-03 14:59:46 +00:00
Matthew Vale
d0e940f00b
corrected function name
2015-12-03 14:25:33 +00:00
Matthew Vale
a5a2280819
split install into phases
...
this is to prevent catch 22 between copy_conf and app_defaults
2015-12-03 14:04:27 +00:00
Matthew Vale
1a278f4bf8
added save_switch_xml during install
2015-12-03 13:36:43 +00:00
Matthew Vale
edb4c43014
added workaround for lua not resolving localhost
2015-12-03 11:36:29 +00:00
Matthew Vale
efa1504d00
changed path handling for create_config_lua
...
thanks moteus for the hint
2015-12-03 11:19:09 +00:00
Matthew Vale
148f7207c5
corrected path retrieval for test
...
added missing () when reporting domain name
2015-12-03 10:49:38 +00:00
Matthew Vale
90b8e4d707
add caveat when the config.lua is inside scripts\resources
...
due to app_defaults running before install_switch create_config_lua
cannot create it's config if the detected folder is scripts\resources\
this solves this by adding a caveat to create it's parent folder when it
is called resources
2015-12-03 10:40:54 +00:00
Matthew Vale
6d7ddec597
corrected references to scripts
2015-12-03 09:52:53 +00:00
Matthew Vale
36e1d5c4c5
fixes during upgrade
2015-12-02 15:55:21 +00:00
Matthew Vale
0c557d5c58
reorganised upgrade routine to make more sense
2015-12-02 14:32:49 +00:00
Matthew Vale
ddcc317d49
Bugfix batch
2015-12-02 14:05:21 +00:00
Matthew Vale
3c19e21828
added auto usage of global_settings where not provided
2015-12-02 11:21:09 +00:00
Matthew Vale
aff613d3e9
restructured install to go via global_settings
...
added new global_settings to marshal settings used during a
install/upgrade
2015-12-02 11:16:25 +00:00
Matthew Vale
d4fa22dbec
changed to xcopy for windows
2015-12-01 17:34:04 +00:00
Matthew Vale
4f58c9315a
added better quoting for windows
2015-12-01 17:30:46 +00:00
Matthew Vale
a3d3e539e5
corrected typo
2015-12-01 17:02:38 +00:00
Matthew Vale
0fb8a126ff
added normalize to OS before using copy under win
2015-12-01 17:00:41 +00:00
Matthew Vale
c0382a0a47
corrected path build
2015-12-01 16:57:06 +00:00
Matthew Vale
8c8cf44b4c
stored config_lua path correctly
2015-12-01 16:47:18 +00:00
Matthew Vale
64f103ddbb
corrected call to normalize_path_to_os
2015-12-01 16:42:54 +00:00
Matthew Vale
f730909343
improved message related to config_lua
2015-12-01 16:40:36 +00:00
Matthew Vale
9f67c70f5b
Added better status updates
2015-12-01 15:56:07 +00:00
Matthew Vale
bbcc8b5fa7
moved config_lua responsibility to install_switch
2015-12-01 15:13:33 +00:00
Matthew Vale
e504c8b592
moved restart and unprotected app_defaults
2015-11-26 16:57:34 +00:00
Matthew Vale
1bf97c959d
merge from master
...
changed handling for upgrade to utilize the session event details if
detect_switch is missing
2015-11-26 14:50:30 +00:00
markjcrane
ec44f93afd
Another minor adjustment.
2015-11-25 18:18:48 -07:00
markjcrane
1ea8a721fb
Fix the syntax by adding a missing semi-colon.
2015-11-25 18:17:48 -07:00
markjcrane
cbfaaa2ae1
If the script dir is set in the session we know the location and don't need to ask freeswitch for it again.
2015-11-25 18:16:38 -07:00
markjcrane
a30b0b56ab
Remove trailing tabs. Fix some spelling mistakes. And update core/upgrade/app_defaults.php to fix advanced -> upgrade.
2015-11-25 18:06:27 -07:00
Matthew Vale
352f03198e
Resolved install issues, environment now in tact enough to run app_defaults
2015-11-18 17:30:43 +00:00
Matthew Vale
0f40a48c2b
Initial Rewrite
2015-11-17 17:02:38 +00:00