Use array_slice to make the code more efficient
Service is unable to create the directories. Make the failed directories with app_defaults when run from command line.
php /var/www/fusionpbx/core/upgrade/upgrade.php
chown -R www-data:www-data /var/log/freeswitch/xml_cdr
The absolute_codec_string parameter for FreeSWITCH was being incorrectly
for formatted, causing issues with fax transmissions, particularly in
regions preferring the PCMA codec.
Without proper quoting, the comma-separated codec list PCMU,PCMA was
being parsed incorrectly by FreeSWITCH. The second codec PCMA was
misinterpreted as a separate dial string parameter, resulting in
absolute_codec_string being set to only PCMU. This led to negotiation
failures when the receiving end required PCMA.
This commit resolves this by enclosing the codec list within *escaped*
single quotes \'PCMU,PCMA\'. **Crucially, without this escaping,
FreeSWITCH would not correctly interpret the quoted string.** The
literal quotes are necessary to ensure that PCMU,PCMA is treated as a
single value. By implementing this change, we guarantee that both PCMU
and PCMA are correctly included in the codec negotiation, resolving the
fax transmission failures in PCMA-dominant regions.
* Update {$mac}.cfg
Changing from Successive registration to Concurrent registration (default) for fallback redundancy.
* Update {$mac}.cfg
Changing from Successive registration to Concurrent registration (default) for fallback redundancy.
* Update {$mac}.cfg
Changing from Successive registration to Concurrent registration (default) for fallback redundancy.
* fix large log file when using websockets
Services now check the log level set before trying to print to log file. The default is to use LOG_INFO
* reverse timestamp logic so it doesn't display by default
* Run in foreground by default
* Change to LOG_NOTICE as default value for log
Using the LOG_NOTICE as the default log level for services allows the services a better range of levels to choose from and conforms to the standard used by other services.
* Update service.php
---------
Co-authored-by: FusionPBX <markjcrane@gmail.com>