FS PBX Now Installs in One Command – No More Separate FusionPBX Setup!

franciscom.corona

New Member
Nov 7, 2023
5
1
3
45
@franciscom.corona, I haven't tried it myself, but you would be able to change the external to internal IP in the .env file based on the wiki page and have everything working locally.
Yes, my mistake was that I don't know Laravel, and the .env file does not shows up with the ls command, but I edited the file and I can now access trough my local domain; the interface looks great by the way, going to see if I can set everything, should I see the Fusion PBX documentation or does fspbx has any available?
 

pbxgeek

Active Member
Jan 19, 2021
253
99
28
38
I'm glad you like it. I post new videos whenever I can. There is so much I could make videos for, but it's a tedious process. You can use all sources (FS PBX wiki on Github, my YouTube channel and general FusionPBX docs)
 

vuthy09

Member
Jun 12, 2023
132
12
18
41
@vuthy09 Something is not working on your machine. I just checked a newly installed server, and sip profiles and modules pages load without any issue. Is Freeswitch running on your machine?
# FreeSwitch ESL connection configuration. Make sure to update this file
# /etc/freeswitch/autoload_configs/event_socket.conf.xml
FS_ESL_IP=127.0.0.1
FS_ESL_PORT=8021
FS_ESL_PW=ClueCon

how to update this, because my event socket connection error thats why my module page and sip status can not update ? any idea please
 

pbxgeek

Active Member
Jan 19, 2021
253
99
28
38
# FreeSwitch ESL connection configuration. Make sure to update this file
# /etc/freeswitch/autoload_configs/event_socket.conf.xml
FS_ESL_IP=127.0.0.1
FS_ESL_PORT=8021
FS_ESL_PW=ClueCon

how to update this, because my event socket connection error thats why my module page and sip status can not update ? any idea please
This is only needed if you specifically changed the default settings for the ESL connection. Have you confirmed that you can open fs_cli?
 
  • Like
Reactions: vuthy09

vuthy09

Member
Jun 12, 2023
132
12
18
41
This is only needed if you specifically changed the default settings for the ESL connection. Have you confirmed that you can open fs_cli?
fs_cli is ok to open, but my module page is still blank and sip status can not update to enable lts
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,084
584
113
@pbxgeek I also found the modules page blank on a new install.

It would appear that in resources/classes/modules.php, $this->dir is empty, populating it with '/usr/lib/freeswitch/mod' resolved the issue.

I don't know where it pulls that in from, hope that helps a bit.
 
  • Like
Reactions: vuthy09

pbxgeek

Active Member
Jan 19, 2021
253
99
28
38
@DigitalDaz thank you for confirming that this issue exists on some installations. Could you or @vuthy09 tell me if the default setting on the screen shot is empty on your installations? It will help me narrow the issue further.

1741794362905.png
 

pbxgeek

Active Member
Jan 19, 2021
253
99
28
38
Yep, it is blank, I should have figured that out myself. I'm getting rusty :)View attachment 4571
How about all the other settings under the switch category? Do they look like they got populated? There was an issue with those not getting populated. I thought I had fixed it about a week or so ago. So right now, I'm trying to figure out if this is the only setting with an issue or if they are all still not working.
 

pbxgeek

Active Member
Jan 19, 2021
253
99
28
38
Ah, they are still empty. Now I know what's going on. I'm going to fix it today and update everyone. Apparently, the fix I made didn't apply to new installs.
 
  • Like
Reactions: DigitalDaz

ou812

Member
Nov 2, 2016
58
8
8
62
DigitalDaz: As we are getting more and more questions related to FSpbx is there any chance of getting a tab on the main menu for all things FSpbx.
 

pbxgeek

Active Member
Jan 19, 2021
253
99
28
38
@DigitalDaz @vuthy09
I was able to reproduce the issue and have identified a permanent solution for future installations. For your current deployment, please manually delete all settings under Default Settings -> Switch and then execute the following command:

Code:
cd /var/www/fspbx && /usr/bin/php /var/www/fspbx/public/core/upgrade/upgrade.php

This process should correctly repopulate all settings and restore functionality to the Modules page. Could you please test this solution and confirm whether it resolves the issue?
 
  • Like
Reactions: vuthy09

vuthy09

Member
Jun 12, 2023
132
12
18
41
Another problem is sip status is not updating, as I have enabled tls. like ports 5061 and 5081 should be running here. And Music on Hold is also blank.

1741842177808.png

1741845996289.png
 
Last edited: