I’d like know how many people using ASTPP community edition without serious issue.
The system use obsolete linux distribution like centOS 7 and debian 10, php 7.3 (end of life), problem with reseller part, problem with installation script full of errors, command repeat more than one time…
The developers answer few time so I can’t know if is my error or a bug.
Version 6 is suggested to use Debian 11.
For PHP 7.3, yes that is a problem as Debian 11 repo uses version 7.4, and there is significant change from 7.3 to 7.4 which breaks the database connection.
For FreeSwitch, I have tried compiling it for use with ASTPP and SIP profiles will not load from the database, and none of their people can even tell me what is going on there, nor what to look for to help fix it.
The quality of the application seems to be going down over time. If they would at least help cooperate , I would do some fixes myself, but you can barely get anything out of them. They also want people to help with the community addition with pull requests, but looking on github, they are ignoring them.
It should be fairly easy to update the code from 7.3 to 7.4. I just did it for another application. There are only a few changes that are not backwards compatible. Just need to search the code for those things.
To see where it is failing you probably need to enable PHP error logging.
This will cause a date stamped log file to be created at
/opt/ASTPP/web_interface/astpp/application/log
which shows all the PHP code being initialized and any errors in that code. This should only be enabled temporarily as the log files are not automatically deleted. There may also be some sensitive information in those files.
You can also go to /opt/ASTPP/web_interface/astpp/index.php
and set define ( 'ENVIRONMENT', 'development' ). This allows you to see the PHP errors in a web browser as they happen instead of just in the log files.
on the FS console; no permit extensions registration. I have a same version FreeSWITCH and works fine. This error is relative to SIP Autentication but I don’t know how solve.
Thanks for those tips. I am working on a script to install everything from the distro’s repo. I was installing PHP 7.3 from the same third party repo because v 7.3 is not available on Debian 11 nor Ubuntu 22.04.
WHat is sad is they still continue to use a third part repo for Debian 10, even though 7.3 is available on its repo.
That is just being lazy to change the code, and now a lot of bugs in ASTPP 6 (which was just released) while they are already talking about releasing version 7 by the of this year.
I started a thread trying to get a discussion going on updating CodeIgnitor. That is what this project really needs. I’m pretty good at PHP and Javascript and have already done some work on this, but I don’t want to maintain my own fork.
It’s not dead, it’s just not very well managed, nor not very well developed.
Maybe they should of taken the FreePBX route. FreePBX is modularized. If you want to add abilities, you just add more modules. Some are open source, and some are paid commercial ones.
Instead they are screwing up the whole project with what I feel is terrible development, and trying to push people to their paid version. If the community one is not doing well, it does not give a good impression of people wanting to go to the paid version.
The problem is that the core code, which is CodeIgnitor, is really old and needs to be updated. I don’t think the current core code will work with PHP v7.4 and v7.3 is EOL. So they don’t really have a choice.
I have created a pull request to get ASTPP v6 working with PHP v7.4. Make sure to also edit the two nginx files for php7.4-fpm.sock.
Using v7.3, openssl_random_pseudo_bytes($ivSize) returns bool false because $ivSize=0, but with v7.4 it causes a fatal error. This fix makes it work the same way with both. Tested on Debian 11.
Yes, just making sure. Their script does install PHP 7.3 from a third party repo on Debian 11 so I was not sure if you made changes to continue to use PHP7.3, or PHP7.4
I am running my installer script now for PHP 7.4 then will make the changes manually once it is done.