Commit Graph

19337 Commits

Author SHA1 Message Date
FusionPBX
8a0f4ed6d2 Add group_uuid for group permissions if the ID is null 2022-09-22 09:22:23 -06:00
FusionPBX
21d6f002b3 Add missing permissions.
Goal is to make work to make loading new permissions more efficient.
2022-09-22 00:25:00 -06:00
FusionPBX
eafd5a9fe0 Add missing sofia global settings. 2022-09-22 00:09:01 -06:00
FusionPBX
2900b9fb1b Code had two file connections use one.
Noticed there were two open connection for the file log. A few other adjustments.
2022-09-21 13:02:56 -06:00
FusionPBX
bc2b14739c Change 'do' to 'action' and update options.
Options: upgrade_source, upgrade_schema, app_defaults, menu_defaults, permission_defaults
2022-09-20 19:01:32 -06:00
FusionPBX
a355dda5b7 Fix a copy error.
Fixed the copy issue when the data includes insert_user, insert_update, update_user and update_date.
2022-09-20 13:56:54 -06:00
FusionPBX
c9b3b7ce3f Remove settings that were accidently addded here. 2022-09-19 16:13:11 -06:00
FusionPBX
7435e8bd91 Remove extra $z++ 2022-09-19 12:59:12 -06:00
FusionPBX
ff6f555793 Remove extra $z++ 2022-09-19 12:54:29 -06:00
FusionPBX
dee0b53cfe Remove an extra $z++; 2022-09-19 12:52:24 -06:00
FusionPBX
e29877e958 Move unset parameters outside of the debug
Unset of the parameters is required or can have parameters that interfere with other queries.
2022-09-19 09:30:20 -06:00
FusionPBX
446f4615bf Bug fix use column instead of field
If updated in the last few days then you need should clear the file cache. Also disabled event_guard_log_allowed until there is a setting to enable or disable it.

Update the source code
cd /var/www/fusionpbx
rm /var/cache/fusionpbx/*
service event_guard restart
2022-09-18 17:53:03 -06:00
FusionPBX
884e90ac39 Comment out the database response. 2022-09-18 04:48:17 -06:00
FusionPBX
4400618830 Sub array data use the child table name.
In Destination edit it was using the dialplan table name instead of child dialplan details table.
2022-09-18 04:47:17 -06:00
FusionPBX
50b66f8bea If the domain_uuid is null the data is global.
This error broken dialplan edit when saving a global dialplan.
2022-09-18 03:08:18 -06:00
FusionPBX
d5bd5957a4 Minor edit add a few spaces. 2022-09-18 02:59:58 -06:00
FusionPBX
7c2017bd03 On insert and update add the user and date 2022-09-18 02:57:43 -06:00
FusionPBX
2ff62f638b Add a few minor changes for code consistency. 2022-09-18 02:13:33 -06:00
FusionPBX
5485764c08 Update event_guard_logs.php 2022-09-18 02:10:28 -06:00
markjcrane
eb5c25aa35 Add insert_date, insert_user, update_date, update_user to all tables 2022-09-18 00:54:37 -06:00
frytimo
ba3b60b07b Move database methods to static and document database class (#6474)
* Add new static method to created newly connected database object

* Document database class and clean up and document some of the methods.
This removes the methods that should not be in each instance and places
them in the single instance class as to occupy less resources and be
able to create database objects more efficiently.

* More docs & removed the ability to set any value within the object.

Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-09-17 15:44:21 -06:00
FusionPBX
46e554e2fc Update readme.md 2022-09-17 11:07:02 -06:00
FusionPBX
894afb08a1 Update readme.md 2022-09-17 11:06:34 -06:00
FusionPBX
ba398de05c Update readme.md 2022-09-17 11:05:40 -06:00
FusionPBX
85ca868ee4 Update event_guard_log_edit.php (#6477) 2022-09-17 10:19:56 -06:00
FusionPBX
a2cedd0513 Reduce fax originate command
- Size limit for originate command parameters around 1130 characters.
- The originate command is used in event socket and not in shell command so remove escapeshellarg.
- Remove for_fax=1 as it doesn't seem to be used anywhere.
2022-09-16 17:05:36 -06:00
FusionPBX
de21143246 Reduce size of fax originate command.
Originate command is limited to around 1130 characters. So this work was to reduce the size. Single quotes aren't needed on everything as this is not a command line. Its an even socket command. Also moving fax_variables into the fax options prevents variable duplicates.
2022-09-16 17:02:16 -06:00
FusionPBX
b5ba126aae Fix Sofia global settings search. 2022-09-15 23:42:27 -06:00
FusionPBX
864afee9c3 Preven overwritting global profile settings. 2022-09-15 23:37:47 -06:00
FusionPBX
410bab6d05 Allow access for addresses that have been unblocked 2022-09-15 17:34:38 -06:00
FusionPBX
1d55981cbb Add user_log_allowed function. 2022-09-15 17:00:57 -06:00
FusionPBX
4fce9a4565 Filter for specific Events 2022-09-15 16:01:47 -06:00
FusionPBX
6f6eb88ebb Use single quotes for the function_exists parameter. 2022-09-12 20:50:13 -06:00
FusionPBX
694fa611ef Check to see if posix_getsid exists 2022-09-12 20:49:04 -06:00
FusionPBX
7d641711fc Get the mime type to set vm_message_ext 2022-09-12 16:53:12 -06:00
FusionPBX
81688cb8c8 Remove transcription from if statements.
Transcription is handled using the email queue.
2022-09-12 16:07:59 -06:00
FusionPBX
5ed64d2be4 Prevent an error message if the directory doesn't exist. 2022-09-12 11:41:03 -06:00
FusionPBX
be257eeb03 Use is_array before foreach 2022-09-12 09:19:21 -06:00
FusionPBX
0fce8ac1a5 Add more comments and is_array before foreach 2022-09-12 08:59:28 -06:00
FusionPBX
bb56827f4f Use is_array before foreach 2022-09-12 08:54:16 -06:00
FusionPBX
b17748dc1e Use loop only if destination_actions is an array 2022-09-11 10:22:23 -06:00
FusionPBX
c9a661de6f Optional to send syslog message for the cache delete and flush 2022-09-10 11:40:59 -06:00
FusionPBX
bf11de1215 Add option for agent_authorized by default enabled false. 2022-09-09 09:03:13 -06:00
FusionPBX
33ff275c12 Add call_center_agents.php as agent blf helper. 2022-09-08 13:52:08 -06:00
frytimo
e88176c755 voicemail boxes can now be text or numeric (#6467) 2022-09-07 16:37:02 -06:00
Joyce Babu
ae7c312136 Add Telekonnectors Galaxy 1000 Plus template (#6469) 2022-09-07 16:36:03 -06:00
FusionPBX
c12cd0d296 Unset destination_app and destination_data
This fixes a bug where a blank empty value shows the previous value.
2022-09-07 16:33:10 -06:00
Norman King
7369409648 Allow setting hanging group mode on a per line basis for grandstream … (#6472)
* allow setting hanging group mode on a per line basis for grandstream dp bases.

* Keep grandstream_hanging_group_mode for better backwards compatibility.
2022-09-07 16:24:49 -06:00
FusionPBX
8f8e0795ff Add label-file_name 2022-09-06 17:16:40 -06:00
FusionPBX
aa2d0eb477 Show the file name on the second page of the import. 2022-09-06 17:15:35 -06:00