Commit Graph

432 Commits

Author SHA1 Message Date
FusionPBX
d850a8ee1d Update dialplan call-forward-no-answer 2025-08-14 11:37:26 -06:00
FusionPBX
e6d4a9fad0 call_recording_on_demand default global default enabled false 2025-07-30 12:35:30 -06:00
FusionPBX
0012ec34f7 Update 050_record_all.xml 2025-07-08 14:54:12 -06:00
FusionPBX
9bc91b7885 Update 400_recordings.xml
Add record_ext=wav to maintain original behavior, recording by default to a WAV file.
2025-06-12 01:36:24 -06:00
FusionPBX
f9c7da3a6b Update 050_user_record.xml 2025-06-03 09:51:23 -06:00
FusionPBX
a67ddbaa41 Enable record_ext with value of mp3 by default
This will affect new servers but not old ones unless this dialplan is updated manually.
2025-05-15 22:18:40 -06:00
FusionPBX
370b2e1e27 Update 050_record_all.xml 2025-04-23 22:25:26 -06:00
FusionPBX
4042265e8f Create 050_record_all.xml disabled by default 2025-04-22 11:40:50 -06:00
FusionPBX
dc844ef701 Update 050_user_record.xml 2025-04-16 13:27:36 -06:00
frytimo
08001488f4 Allow namespace in auto loader (#7307)
* 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
2025-03-12 13:55:47 -06:00
FusionPBX
590e4fb072 Add record_stereo and record_stereo_swap 2025-01-16 18:24:22 -07:00
FusionPBX
5e8271ecc6 Use the domain_name as the context 2025-01-03 09:01:03 -07:00
FusionPBX
eb7645772a Update the context for the operator
Use the domain_name as the context.
2025-01-03 09:00:17 -07:00
FusionPBX
cd8d5302ac Fix temporary permissions 2024-11-29 13:57:01 -07:00
FusionPBX
fbb254c3db Update and rename 500_ring-group-forward.xml to 495_ring-group-forward.xml 2024-10-25 15:30:39 -06:00
FusionPBX
575db5c918 Create 895_call-forward-no-answer.xml
Add new way to handle call forward no answer
2024-10-25 13:09:17 -06:00
FusionPBX
e186958006 Delete app/dialplans/resources/classes/dialplan.better.php 2024-10-04 00:26:06 -06:00
FusionPBX
bb2232e62d Fix valet_park use sip_refer_to
The referred-by domain can't be used as some phones use the domain of the tenant and some their own IP address. For this reason, replaced with sip_refer_to.
2024-10-02 13:37:00 -06:00
FusionPBX
519627b8e5 Fix valet park when call is sent to a different domain
When crossing domains we need to use park with the correct domain. This change uses the referred by to get the proper domain name.
2024-10-01 16:32:09 -06:00
FusionPBX
6f55603e12 Update 018_global-variables.xml 2024-09-07 09:50:29 -06:00
FusionPBX
ba64a3604d Global variables add ringback and transfer ringback
Add ringback and transfer_ringback to the global-variables dialplan default enabled false.
2024-09-07 09:44:31 -06:00
frytimo
2cbb4dbc31 remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -06:00
FusionPBX
62d2e3e9a6 Update 010_user_exists.xml
- Add enabled true
- Add limit_max enabled false
2024-08-14 14:57:05 -06:00
fusionate
4b23913555 Update Font Awesome to v6.6.x, adjust some icon references. 2024-08-09 18:14:52 -06:00
FusionPBX
a69b4d91f1 Update database handling 2024-08-05 16:19:34 -06:00
FusionPBX
1998df7c70 Add the required .xml to the file name 2024-06-12 13:01:36 -06:00
FusionPBX
0f01ac7311 Set the context to global 2024-06-12 12:52:04 -06:00
FusionPBX
c40ddd5a4d Create 070_default_ringback 2024-06-11 18:26:37 -06:00
frytimo
058d9aba37 fix failing to save dialplan details xml in proper order (#6994) 2024-06-03 13:30:59 -06:00
FusionPBX
d17300c308 Create 082_default_hold_music.xml 2024-05-30 11:40:27 -06:00
chansizzle
94341120c2 Update valet_park to include 59 in the park_lot variable (#6984)
included 59 in the park_lot variable so the BLF status will work.
2024-05-28 23:13:00 -06:00
FusionPBX
da1d5fca8c Update 380_hold_music.xml
- Use rtp_has_crypto
- Remove deprecated zrtp
2024-05-14 12:07:01 -06:00
fusionate
e81220d997 Time Conditions - Edit: Mitigate PHP 8.x warnings. 2024-05-13 11:22:32 -06:00
FusionPBX
1a9eaef5f3 Update 240_page.xml
Changed this value to false as the check destination status will be checked by default. The purpose of this change to keep the original behavior.
2024-05-09 10:30:35 -06:00
FusionPBX
50e0dd33e8 Page check destination status by default 2024-05-09 10:23:14 -06:00
fusionate
3c0a5ad774 Dialplans - Call Screen: Make temp recording filename unique to resolve appending bug. 2024-05-04 16:46:19 -06:00
frytimo
41eb7ac8d3 Fix empty line printing on console (#6956)
* fix empty line printing on console
2024-04-23 08:53:14 -06:00
FusionPBX
b6f68533d1 Update valet_park to exclude 5900 2024-04-22 08:17:08 -06:00
FusionPBX
92969d904c Update valet_park_auto
- Use lua valet_park
2024-04-12 12:00:52 -06:00
demonspork
9952026016 Removed unused dialplan is_loopback (#6927) 2024-03-27 22:10:26 -06:00
FusionPBX
632c2ee10f Update 310_extension-to-voicemail.xml
Quote the interpolated part of the regexes between \Q and \E
2024-02-13 18:03:32 -07:00
FusionPBX
5ce4ad4879 Update diversion header 2024-02-12 12:57:01 -07:00
fusionate
0316248bef Dialplan XML - Edit: Remove old Ace Editor control icons. 2024-01-24 21:00:25 +00:00
Antonio Fernandez
a4bfd1f20f added delayed paging (#6771)
* added delayed paging

* Modified the code to use sched_api as requested

* added the beep
2024-01-12 14:52:16 -07:00
FusionPBX
23757cc2ae Create 075_default_language.xml
Added this to set default language only when its not already set. This is more flexible then setting it in global-variables or domain-variables.
2024-01-10 14:36:14 -07:00
FusionPBX
dedafeccc8 Account for dialplan_detail_enabled false 2023-12-08 16:19:17 -07:00
FusionPBX
fa123ff069 Build dialplan xml from the array. More efficient to save data and xml in one step. 2023-11-03 02:18:57 -06:00
agree
37d7c43e17 [dialplan] Bind digit bleg without a lua script (#6817) 2023-10-26 13:27:31 -06:00
FusionPBX
b5b69071fc Add respond 404 not found 2023-09-05 16:48:03 -06:00
FusionPBX
677824fe5a Save destination_number, sip_to_user, and sip_req_user 2023-09-02 10:37:29 -06:00