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>
* Add friendly names for system services
- Adds a $service_friendly_names array at the top of the details block
- For each service, tries to find a match in the array and sets the $display_name
- If no match found in the array, it falls back to prettifying the name automatically (replace underscore with space and capitalize the first letter of each word) so future services don't break the display
* Updated system_services card with more info
- Expanded the system_services card with an additional column for 'Runtime', showing how long the service has been running for
- Added a hover tooltip showing the PID of the service to all three columns
- Added the ability to fetch for additional services string from default settings to show in the system_services card
* system_services dashboard card new default setting
- Added a new default setting (theme -> dashboard_extra_system_services) for defining additional system services to monitor in the system_services dashboard card
- Default setting is enabled by default with a string value of 'freeswitch, nginx, postgresql, sshd'
* Adjusted column widths