Commit Graph

11637 Commits

Author SHA1 Message Date
FusionPBX 5b969a8d19
Update config.php 2024-08-27 18:12:50 -06:00
FusionPBX 43e72c974d
Fix the disk usage for FreeBSD 2024-08-27 14:34:41 -06:00
FusionPBX 3b1f73f847
Update event_guard.php 2024-08-27 11:09:37 -06:00
FusionPBX 49d885f19f
Update voicemails.php
Prevent an error when the voicemails array is empty
2024-08-27 00:46:20 -06:00
FusionPBX d45f6ddae0
Update event guard for freebsd 2024-08-25 19:31:05 -06:00
fusionate ac94e22a1d
Fax Server: Pull in language file for email template replacements. 2024-08-22 17:20:36 -06:00
fusionate 5a456b9b86
Fax Server: Add missing translations on Fax File field. 2024-08-22 16:43:27 -06:00
fusionate 12eead4b4d
Fax Server: Add option for Download Link on received fax notifications, instead of attachment. 2024-08-22 16:11:06 -06:00
fusionate 9eaef8a242
Email Template [en-us,fax]: Fix subject. 2024-08-22 15:56:46 -06:00
FusionPBX a5f153d419
Remove image meta data
- Reading the image and resaving it the image metadata is removed.
- This meta data is removed to protect privacy
2024-08-22 15:12:03 -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
fusionate 0583c5b429
Fax Server - Advanced: Make Back button return to Edit page. 2024-08-22 11:26:23 -06:00
FusionPBX 7cd482889a
Remove the ampersand from &$row
This broke the conference center list on PHP 7.4
2024-08-22 10:23:44 -06:00
FusionPBX b0aab10872
Simplify the dashboard path 2024-08-21 16:58:44 -06:00
Anthony 0563292557
Added translations to fifo/app_languages.php (#7105) 2024-08-21 12:53:27 -06:00
FusionPBX c71b1180ac
Update app_languages.php 2024-08-20 17:32:31 -06:00
FusionPBX d1b1e3ac39
Update app_languages.php 2024-08-20 17:29:44 -06:00
fusionate daa88790de
Access Controls - Edit: Add Node IP addresses (via dig) by domain name in CIDR field. 2024-08-20 16:55:26 -06:00
Anthony 831f720638
Added translations to app_languages.php files (#7104)
* Added translations to fax_queue/app_languages.php

* Added translations to recordings/app_languages.php

* Added translations to emergency/app_languages.php
2024-08-20 08:51:20 -06:00
frytimo 027a78243a
Fix bug where a global profile doesn't show up in the device list (#7103)
* Fix bug where a global profile doesn't show up in the device list
2024-08-19 09:50:08 -06:00
FusionPBX a5a7a8530a
Update voicemail.php
Don't run the query if there are no assigned voicemails
2024-08-16 15:10:05 -06:00
FusionPBX b7b3073d58
Device lines for the current domain 2024-08-14 22:34:39 -06:00
Alex 43d102b51c
Added label enabled dashboard setting (#7096)
* Added label enabled dashboard setting
2024-08-14 17:44:11 -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 37af618998
Extension - List: Show registration status icon (when permitted). 2024-08-12 12:15:40 -06:00
fusionate 4b23913555
Update Font Awesome to v6.6.x, adjust some icon references. 2024-08-09 18:14:52 -06:00
frytimo 10bd1b9f9f
add multiple line export feature (#7090)
* move permissions to top of page and use single database object

* use a domain array instead of session

* use a domain array instead of session

* add multiple line export feature
Exporting devices with multiple lines did not show headers for extra columns if the first device listed only had a single line and the other devices had multiple lines. This adds a feature to export multiple lines for devices using the "duplicate column feature" so that the import feature can detect and import all lines for the device.

* Update device_download.php
2024-08-09 17:57:53 -06:00
FusionPBX 64b565d974
This line overwrites the $uuid
We only want to get the uuid one time. This resolves that issue.
2024-08-09 10:52:21 -06:00
FusionPBX 78d24e16dd
If the uuid variable is empty try call_uuid
Found a case where the variables -> uuid doesn't exist found call_uuid as an alternative.
2024-08-09 10:06:17 -06:00
FusionPBX 0044f0b69e
Update permissions handling for performance
- For pages using large number of permission like these
- Creating a permission array that is populated with permission_exists
- Then using the permission array is more efficient
2024-08-08 16:17:28 -06:00
FusionPBX 0829062cc7
Remove the http_domain_filter
The reason its removed from the class is http_domain_filter was moved to provision/index.php
2024-08-07 15:18:02 -06:00
frytimo be68bfb915
honor the domain_filter setting in default settings (#7085)
It was found that the domain_filter was not working when provisioning devices. This can lead to conflicts if a device address is in multiple domains or a valid device address is sent for another domain. This enforces the check so that if http_domain_filter is enabled and the domain name does not match the device specified, it will reject the request.
2024-08-07 14:09:26 -06:00
frytimo 7630056bb8
Remove the unset($database) statements (#7084)
* Remove the unset($database) statements
The database object is a global variable that contains a database object reference and should not be unset.

* Update event_guard.php

* Update event_guard.php

* Update event_guard.php

---------

Co-authored-by: Tim Fry <tim@fusionpbx.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2024-08-06 13:19:45 -06:00
markjcrane 22ba339505 Allow one line feed at the end of the file 2024-08-05 18:27:59 -06:00
FusionPBX b05c0534b4
Send the database object into the function 2024-08-05 16:56:51 -06:00
FusionPBX a69b4d91f1
Update database handling 2024-08-05 16:19:34 -06:00
FusionPBX dbe37f275b
Update app_defaults.php 2024-08-05 15:55:08 -06:00
FusionPBX 163403acc7
Re-use the database object 2024-08-05 15:07:13 -06:00
FusionPBX cd1cc70044
Remove redundant database objects
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06:00
FusionPBX eb93adba0b
Add title-follow_me 2024-08-02 15:18:11 -06:00
FusionPBX c3a6e22f38
Change title-call-block to title-call_block 2024-08-02 15:14:57 -06:00
FusionPBX b7467e7e11
Update conference center dashboard url 2024-08-02 13:13:56 -06:00
FusionPBX e9cd4dd1ec
Add fax group to the fax dashboard 2024-08-02 12:51:13 -06:00
FusionPBX 90933eaaf7
Fix the ring group dashboard permissions 2024-08-02 12:49:21 -06:00
FusionPBX 11def15cdc
Fix dashboard_group_uuid conflict 2024-08-02 12:38:33 -06:00
FusionPBX 720be4a68b
By default FAX permissions remove user
- Reason for change is not everyone uses FAX
- There is a fax group adding users to that group who need FAX maybe a better option.
- There is still the option of assign the fax permissions to the user and then protect those permissions.
2024-08-02 12:06:08 -06:00
FusionPBX 8ffa56ac38
Fix database transaction edit 2024-08-02 11:54:14 -06:00
frytimo 2d16cba7fb
update voicemail constructor to use domain and user uuids for settings (#7080)
If the settings object is not passed in the parameters the settings object that was created did not have the current domain uuid or user uuid set. This would cause default settings that were copied to the domain to be ignored. Ensuring the domain_uuid and user_uuid are initialized before the setting object and then passing them to the settings object constructor will make sure that the values would be returned when a request to the settings object is made.
2024-08-02 09:46:54 -06:00
FusionPBX b3f31af5a8
If data is global then domain_uuid set to null
This means transaction is global. If there is a domain_uuid use the domain ID from the data.
2024-08-01 18:02:15 -06:00
fusionate d86217247e
Voicemail - send_email (script): Assume direct sox call (for now). 2024-08-01 12:12:39 -06:00
fusionate d79c7b1cb9
Voicemail: Integrate message forward intro playback in web interface, and prepend intro on emailed audio file. 2024-08-01 10:27:15 -06:00
FusionPBX a020979947
Add destination_number variable 2024-07-31 17:26:36 -06:00
FusionPBX ac07414b9d
Update send.lua
Add domain_name and message variables
Add error prevention
Pass thru the domain_name, event_subclass and mesage
2024-07-31 17:19:57 -06:00
FusionPBX 3804efe4e1
Update voicemail.php 2024-07-31 13:41:08 -06:00
frytimo 3fc320ea39
method messages in object voicemail erases the property voicemail_uuid (#7079)
The method overwrites the object property initially set when the method is called. This causes any subsequent calls to be incorrect. Removing this keeps the initial objects property intact. The method voicemail_messages is only used internally from the messages method for getting message details in the voicemails. This has been set to a private method to reflect this type of use.

Authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-31 13:19:58 -06:00
frytimo cb94f2c02b
voicemail messages function is called twice. second call removes list (#7078)
When voicemail is called the first time, it correctly displays the list of voicemail messages. When it is called a second time the function returns an empty array and gives an empty display. This removes the second call to method 'messages' in 'voicemail' object.

authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-31 12:26:26 -06:00
FusionPBX 4b04d701ec
Update dashboard permissions 2024-07-30 22:18:29 -06:00
FusionPBX 77dd833b55
Update some of the dashboard icons 2024-07-30 22:15:38 -06:00
FusionPBX fbec08e579
Update voicemail_messages.php 2024-07-30 20:34:04 -06:00
FusionPBX 8c7e2044fb
Update voicemail.php 2024-07-30 20:32:47 -06:00
FusionPBX 24a398f98f
Update app_menu.php
Using a redirect now we can use one menu to handle regular users and admins.
2024-07-30 18:52:07 -06:00
FusionPBX 90852f54db
Update voicemails.php 2024-07-30 18:50:55 -06:00
Antonio Fernandez 440ffb69db
set fax failed when missing (#7077) 2024-07-30 16:31:11 -06:00
FusionPBX 52e5da9a23
Update config.php 2024-07-30 14:41:02 -06:00
FusionPBX 6285413dd9
Fix a bug to delete email after send or forward 2024-07-30 11:34:47 -06:00
FusionPBX 0c32c43e9a
update the dashboard 2024-07-29 22:33:44 -06:00
FusionPBX 7101c3f44a
Fix the destination url 2024-07-29 22:29:51 -06:00
FusionPBX 8539bfb2cc
Update config.php 2024-07-29 22:14:44 -06:00
FusionPBX 89ad2172f3
Update config.php 2024-07-29 22:11:39 -06:00
FusionPBX ffbd37f936
Update config.php 2024-07-29 21:31:30 -06:00
FusionPBX 06759afe42
Update config.php 2024-07-29 21:29:52 -06:00
FusionPBX 2d00362105
Add dashboard call forward 2024-07-29 16:38:03 -06:00
FusionPBX 82d1f4eb88
Add more dashboard widgets 2024-07-29 16:32:49 -06:00
FusionPBX b1f64e88b5
Use the default setting text color 2024-07-29 12:33:28 -06:00
FusionPBX dc14285cfd
Default setting used for the background color 2024-07-29 12:27:06 -06:00
FusionPBX a4f86db557
Use the right dashboard_uuid 2024-07-29 12:18:54 -06:00
FusionPBX ecfbeba6ea
Update config.php 2024-07-29 10:58:04 -06:00
FusionPBX 2da57eea9c
Update the user dashboard 2024-07-29 10:56:33 -06:00
Antonio Fernandez f47bdcdc99
generate uuid changes (#7070)
* generate uuid changes
2024-07-29 10:45:22 -06:00
FusionPBX 7abcda7996
Update the dashboard order 2024-07-29 08:49:01 -06:00
FusionPBX 7566dd1f4b
Update the dashboard settings 2024-07-28 10:42:16 -06:00
FusionPBX 22c57f9340
Fill in dashboard details 2024-07-28 10:36:36 -06:00
FusionPBX d1105f70ba
Update config.php 2024-07-28 10:18:38 -06:00
FusionPBX 436a5831ac
Update icon for the IVR Menu 2024-07-28 02:48:58 -06:00
FusionPBX 5dd8758823
Update config.php 2024-07-28 02:44:16 -06:00
FusionPBX 8c054181f0
Add recordings dashboard 2024-07-28 02:41:22 -06:00
FusionPBX ef5e39bf5e
Update config.php 2024-07-28 02:33:55 -06:00
FusionPBX 1ad86744b0
Update config.php 2024-07-28 02:28:52 -06:00
FusionPBX 7d15164122
Add call detail records dashboard 2024-07-28 02:24:55 -06:00
FusionPBX 08d9f55038
Update the time conditions icon 2024-07-28 02:19:18 -06:00
FusionPBX 4d6852dc99
Add time conditions dashboard 2024-07-28 02:18:23 -06:00
FusionPBX a56e77ce78
Update the comment 2024-07-28 02:11:38 -06:00
FusionPBX fd9e998818
Add extensions dashboard 2024-07-28 02:10:02 -06:00
FusionPBX c302adef2e
Add Destinations dashboard 2024-07-28 02:06:18 -06:00
FusionPBX abfb0e41b9
Add conferences dashboard 2024-07-27 19:54:42 -06:00
FusionPBX 546fb7edb2
Update config.php 2024-07-27 19:44:59 -06:00
FusionPBX 4e2cde3432
Add the voicemails icon 2024-07-27 19:40:02 -06:00
FusionPBX 0a8bc73209
Add dashboard IVR Menus 2024-07-27 19:32:42 -06:00
FusionPBX abeb241a1b
Add dashboard ring groups 2024-07-27 19:19:45 -06:00
FusionPBX f716ef5e87
Use one database object 2024-07-26 19:43:16 -06:00
FusionPBX a5d44ae44b
Use the database more efficiently 2024-07-26 17:04:02 -06:00
FusionPBX e7e2f73004
Format the phone number for call recordings. 2024-07-26 16:32:49 -06:00
FusionPBX cdc8a8842c
Call Block Update
- unify the process for preparing the call_block_number
- move the query for user_extensions outside and before the loop
- database used more efficiently
2024-07-26 14:33:50 -06:00
frytimo 78f68d106f
replace if_group with dialplan_edit permission (#7072)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-26 12:20:47 -06:00
FusionPBX 16c6d8d58b
Fix call block for regular non admin users 2024-07-25 20:49:56 -06:00
FusionPBX fa16c8ad7c
Update call_block.php
- Improve the database handling
- Get the country code from the destinations table
2024-07-25 13:24:40 -06:00
FusionPBX 1d7c239c37
Update app_languages.php 2024-07-25 03:52:42 -06:00
FusionPBX 66e7f05558
Add field recording_voice to the recordings table 2024-07-25 03:24:44 -06:00
FusionPBX 2425dd4c45
update device_edit.php 2024-07-24 15:26:55 -06:00
frytimo bc5165572a
Use ini_get to retrieve the session path instead of using session_path (#7067)
When using session_path, the session must be active and will automatically activate the session. This is a better method so that the session is never started.

Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-24 11:28:34 -06:00
Antonio Fernandez 841cc6527e
Groundwire added vendor (#7065)
* Added Groundwire vendor
2024-07-24 07:21:12 -06:00
fusionate 0e3fa58a1f
Voicemail Message: Better handling of keep local after forward. 2024-07-24 00:00:35 -06:00
FusionPBX 1b2a47dd6c
Add voicemail export 2024-07-23 22:59:58 -06:00
frytimo 46abe4897c
use loose comparison instead of strict comparison (#7064)
Update comparison checks when testing the database status and
add a unified log message with a more detailed message from the
database when there is a failure

Authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-23 19:58:13 -06:00
FusionPBX 64c6527ab8
Update device_keys.php 2024-07-23 15:58:45 -06:00
Antonio Fernandez 3285483665
changes to wallpaper settings for Avaya J-Series (#7063) 2024-07-23 15:17:26 -06:00
FusionPBX 06a6292ebb
Allow removing an assigned user 2024-07-23 15:15:50 -06:00
FusionPBX f495b28356
Update field name from name to type 2024-07-23 14:29:28 -06:00
FusionPBX 48b2011091
Use mkdir when importing new voicemail boxes
In addition to making sure the voicemail directory exists for each voicemail box

Updated the settings class to use the settings object instead of the SESSION.
2024-07-23 13:39:30 -06:00
FusionPBX ac9497c232
Add toggle for when to create recording 2024-07-23 12:09:50 -06:00
jrmcclean 96f6e87224
Update config.lua (#6864)
Added an option to check Windows ProgramData
2024-07-23 08:07:36 -06:00
FusionPBX f959c3717c
Update contacts.php
- Add trim
- Adjust indentation
2024-07-20 20:23:17 -06:00
Antonio Fernandez 5cc9f93be8
Find Snom MAC via UA (#7057)
* Find Snom MAC via UA
2024-07-19 13:38:03 -06:00
FusionPBX 2d933a60ee
Update extension_edit.php
Empty option enables ability to see if the value is empty.
2024-07-18 23:43:36 -06:00
FusionPBX cb7fd1e4ac
Use the object format_address method 2024-07-18 23:35:58 -06:00
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 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
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 ef03e60a0b
Add setting yealink_ps_enabled 2024-07-11 14:49:26 -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 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
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