* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove closing tag
* remove invalid method params
* remove closing tag
* remove closing tag
* Update auto_loader to load each class file in the project
Update the auto_loader class to use an include statement on each file in the project to load the class within the file. This will allow mismatched names within the file to be loaded and mapped according to the declaration instead of the filename. The class is then checked against the parsed classes from the PHP engine so that namespaces are available and mapped to the file they were declared in. An update was also made to the search algorithm used to find a file that was not already loaded by collapsing the array to have only valid matches to increase performance on a cache miss. Logging within the auto_loader has been moved to a function.
Multiple files were modified to allow the include statement. When the class has the `if(class_exists())` statement, the auto_loader is called to check for the class. This caused an infinite loop scenario so all wrappers have been removed. The auto_loader will now break the loop by directly modifying the internal classes array instead of trying to restart with the 'reload_classes' method.
- APCu is used to cache classes so any loading of the classes is done only once. To clear the APCu cache, restart php-fpm or call the auto_loader::clear_cache() function.
- Cache file is used when APCu is not available. To clear the cache remove it from the tmp folder or call the auto_loader::clear_cache() function.
- All classes must no longer have a class_exists wrapper to benefit from the performance boost.
- Classes should not be directly included when the auto_loader is used.
* remove include statement of class file
* Update destinations.php
* Add documentation to methods. Use is_resource for added type detection
* Allow connect to specify timeout in microseconds with default 30,000
* Update calling mechanism for event sockets
* Update project for new singleton event sockets
* remove unused variable
* catch errors on closing the socket
Running install.php the first time after a manual (not using script) install on Debian 11, there is a failure due to $_SESSION['switch']['conf']['dir'] not yet existing. Subsequent installs will work. It's only on the first install that it fails. There may be better ways but this is the fix I came up with that works for me.
when there is no local freeswitch running (big cluster deployments where Fusion UI is in another server), sometimes there is no local freeswitch running. this breaks the variables per host.
This patch gives the chance to use the hostname as a fallback option before giving up.
if this is left in freeswitch (1.6.20) will not start up.
Freeswitch: Cannot Initialize [[error near line 4105]: missing >]
there might still be a problem on line 1299 -> please correct me if I'm wrong.