Commit Graph

21828 Commits

Author SHA1 Message Date
FusionPBX
8beecfbb89 - Update call block permissions
The call_block_all permission was pulling double duty. 
- Changed the code to use call_block_all only for SHOW ALL to call block across all domains.
- Permission call_block_extension will be used instead for the purpose of showing the extension list. 
- If someone doesn't call_block_permission then their assigned extensions will be use with each call block item they add.
2024-07-18 17:13:22 -06:00
Antonio Fernandez
dcf1f9d17c Update database.php (#7053)
Fix for table_exists method on mysql
2024-07-18 12:10:05 -06:00
Antonio Fernandez
fcc2eed4fa Update provision.php (#7054)
unset the $sql var where needed
2024-07-18 12:07:10 -06:00
frytimo
cd9c6e95cb Use the __DIR__ to include require.php (#7055)
Authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-18 12:06:27 -06:00
fusionate
c78d300145 Voicemail - Messages: New permission to control visibility of Transcribe feature. 2024-07-16 11:12:27 -06:00
FusionPBX
d7e8893325 Update voicemail_messages.php
Initializing the new object for messages prevents a problem where running the message method twice on the same object returns no results.

Running once to get the count and then using that result with paging to get the voicemail messages.
2024-07-16 11:01:40 -06:00
FusionPBX
be6afaf948 Update voicemail.php
- Allowing passing the database object into the constructor
- Add the database object in the constructor
- replace $_SESSION['domain_uuid'] and $_SESSION['user_uuid'] with $this->domain_uuid and $this->user_uuid
2024-07-16 10:05:06 -06:00
FusionPBX
215b4d0df7 Prevent empty caller id from blocking calls
Improved the following
- Prevent empty caller id name and number from blocking calls
- Fixed the call block count so it would increment each time it has blocked a call
2024-07-15 23:06:23 -06:00
FusionPBX
79a8d6c8ca Update fax_files.php 2024-07-15 18:18:34 -06:00
FusionPBX
d1c2dfa10a Update fax file download 2024-07-15 17:24:10 -06:00
Antonio Fernandez
1aa9a93bb5 fix qrcode generation on BSD (#7052) 2024-07-14 09:51:44 -06:00
Antonio Fernandez
541db7b5c9 Fix for BSDs core classes (#7051) 2024-07-14 09:51:20 -06:00
FusionPBX
42a3969836 Update provision.php
Used to replace the domain name in the yealink_provision_url
2024-07-12 18:04:14 -06:00
FusionPBX
b59b7ba98a Update page.lua
If announce delay is true then add an option for a preset recording filename and length
2024-07-12 11:32:12 -06:00
FusionPBX
3bed9c8a5e Update contact phone number search
Update the phone search to use the country code and phone number or the phone number alone.
2024-07-12 02:48:44 -06:00
FusionPBX
fa672d21af Add grandstream_transfer_mode_via_vpk 2024-07-11 17:37:55 -06:00
FusionPBX
ef03e60a0b Add setting yealink_ps_enabled 2024-07-11 14:49:26 -06:00
Antonio Fernandez
cd79bf0a2e added a better template setting for directory (#7041) 2024-07-11 14:25:16 -06:00
Anthony
fd22d407b8 Added translations to app files (#7050)
* Added missing translations to core/xml_cdr

* Added missings translations to app/time_conditions

* Added missing transaltions to app/sip_profiles

* Added missing translations to app/registrations
2024-07-10 17:35:13 -06:00
Antonio Fernandez
a295de67c1 added avaya J139 plus other changes to avaya (#7049)
* added avaya J139 plus other changes to avaya

* fixed a few avaya settings

* added wallpaper descriptions
2024-07-10 17:34:26 -06:00
fusionate
ea7fb60533 Voicemail Messages: Add Resend feature, fix manual Transcription if voicemail stored as base64. 2024-07-10 16:28:41 -06:00
frytimo
5af4610a9c Ensure the 'transcribe_' is prepended to the class name (#7048)
Class name requires the transcribe_ prepended before PHP checks to see
if the class actually exists as the engine must have 'transcribe_' in
front of the classes.

Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-10 14:02:23 -06:00
frytimo
8cfdb40acc Database transactions maintenance (#7047)
* add database_maintenance function to database_transactions

* update database_maintenance function in database_transactions
New changes in the maintenance application required changes to any
existing functions already created

---------

Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-09 12:52:05 -06:00
frytimo
d1594da57e implement changes in to the fax queue class (#7044)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-09 12:51:36 -06:00
frytimo
72a66f555a specify the cdr category for xml_cdr (#7046)
* update xml_cdr with the latest changes to the maintenance application
Update the public static function database_maintenance in xml_cdr
class to use the newest changes in the maintenance class. Constants are
now defined in the class for the table names and subcategories.

* update app_config file with necessary default setting changes

* remove constants

* use empty instead of null check

---------

Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-09 12:51:11 -06:00
frytimo
abf5ffb9f0 implement changes in to the event_guard class (#7045)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-09 12:50:34 -06:00
frytimo
d7f05621c7 Implement changes in to the session class (#7042) 2024-07-09 12:50:01 -06:00
frytimo
d68c1a08d8 Call recordings maintenance changes (#7039)
* add filesystem maintenance method to the call_recordings class

* Add filesystem maintenance default setting to the app_config
Set filesystem_retention_days default setting to 90 days in the 
app_config.php file to allow the maintenance service to delete older
files.
2024-07-09 09:19:50 -06:00
FusionPBX
555d52cbb3 Add FAX PDF View
Added an iframe to  display the PDF
2024-07-08 22:40:42 -06:00
Antonio Fernandez
da7a748a8a added notes about avaya firmware (#7040) 2024-07-08 14:43:41 -06:00
FusionPBX
41de2177e1 Update provision.php
Fix bug to pass the parameters including settings and database.
2024-07-08 13:37:58 -06:00
frytimo
50f1601a4d update voicemail with the latest changes to the maintenance application (#7035)
* update voicemail with the latest changes to the maintenance application
Update the public static function filesystem_maintenance in voicemail
class to use the newest changes in the maintenance class. The
maintenance class now has a constant defined for the subcategory used
within the project.

* update app_config file with necessary default setting changes

---------

Authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-06 20:45:25 -06:00
Antonio Fernandez
adbb9f9fd8 fix for Avaya buttons (#7038) 2024-07-05 20:01:30 -06:00
FusionPBX
e08943ebc2 Wrap isset grandstream_wifi_enabled
Add a condition around the wifi settings. This allows manually setting up the wifi settings on the phone without the device provisioning. If someone wants to use the provisioning config for wifi then set grandstream_wifi_enabled value to true.
2024-07-05 18:02:59 -06:00
frytimo
0ea012c494 Update database_maintenance (#7037) 2024-07-05 17:37:50 -06:00
Antonio Fernandez
9ec26f0244 Enhanced Avaya J-Series support (#7036)
* Updates to Avaya J-Series support

* small J189 fixes
2024-07-05 17:07:45 -06:00
FusionPBX
56aea7c66d Domain settings array override default settings
Domain setting array types override the default settings set as type
2024-07-04 18:05:37 -06:00
FusionPBX
0ff2503240 Update index.php
Minor changes. Use the provision array to get the cidr details.
2024-07-04 18:01:50 -06:00
FusionPBX
1d7bcbe0ee Device disabled send message to syslog 2024-07-04 17:58:12 -06:00
frytimo
766aeeefae email_send_remove_extra_database_objects (#7034)
Use a single instance of the object instead
2024-07-04 11:53:44 -06:00
frytimo
2b87349e7d remove the manual inclusion of classes to let autoloader handle it (#7033)
By including the class manually with the include statement, the class
has a possibility of loading twice. This will cause a fatal error if
classes are already loaded.
2024-07-04 09:12:34 -06:00
FusionPBX
c0e1b1a6b5 Changed the order of missed_call conditions
Move billsec condition near the end but before voicemail.

If a call center call was missed but answered by an extension with the exit action then the call wasn't technically missed.
2024-07-03 14:35:13 -06:00
frytimo
9beef70b94 fix missing class exists check for transcribe engine (#7032)
Add a class_exists check to ensure transcribe engine exists before
attempting the use of the class.
2024-07-02 09:30:26 -06:00
Alex
482768c1aa Added maintenance and running labels (#7031) 2024-07-01 11:22:58 -06:00
FusionPBX
54e7b85142 Update functions.php 2024-06-28 13:10:15 -06:00
FusionPBX
1f077ebc2b Bug FIX - Deny device_address 000000000000
Polycom will make a request with a device address of 000000000000 as well as another request with the real device mac address.

The issue was 000000000000 was on another tenant and it delivered contacts from the other tenant.
2024-06-28 12:18:29 -06:00
Antonio Fernandez
b51b97f495 Fixed comment (#7028) 2024-06-28 09:56:01 -06:00
Antonio Fernandez
9081f59ca9 bug fix in device_by.php (#7027) 2024-06-28 09:55:43 -06:00
Antonio Fernandez
d1dc1f59ca bug fix for transcription (#7030) 2024-06-28 09:53:50 -06:00
frytimo
7d493c3287 smtp_from_name was accidentally set to smtp_from (#7029)
This uses the settings default value to set smtp_from_name to be set to
smtp_from if it does not have it's own value. The isset check on line
248 is no longer needed because smtp_from_name will always have a value
2024-06-28 08:47:17 -06:00