Commit Graph

11909 Commits

Author SHA1 Message Date
FusionPBX 1134341635
Before using is_numeric cast the value to int
Without this cc_queue_joined_epoch, cc_queue_answered_epoch, and other values were seen as a string
2024-10-07 14:28:41 -06:00
FusionPBX ab8108e3b7
fixed call center agent save 2024-10-07 13:07:03 -06:00
FusionPBX 7ecfe96381
Add agent state to indicate wrap up time 2024-10-07 11:39:28 -06:00
FusionPBX 2a9798b370
Fix the FIFO lag time
This is also known as the wrap-up time after the call ends with the agent.
2024-10-04 01:37:25 -06:00
FusionPBX e186958006
Delete app/dialplans/resources/classes/dialplan.better.php 2024-10-04 00:26:06 -06:00
FusionPBX 2c0c8e5a93
Update the database connection 2024-10-04 00:16:40 -06:00
frytimo 1bd7dc1687
Add ability to set a default ringback on ivr menu (#7149)
* add ability to set a default ringback on ivr menu
2024-10-03 23:39:35 -06:00
frytimo aa7c618325
Add ability to set a default ringback on ring group (#7150) 2024-10-03 23:28:36 -06:00
fusionate 0d8d2aacc7
Fax - Sent: Add time sent to cover sheet. 2024-10-02 17:17:26 -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
Andy-Seattle a232176717
Update app_config.php (#7147)
Added a permission for call recording transcription as currently the transcribe button is displayed by default whenever a recording is selected. It should be controlled by a permission.
2024-09-30 17:45:08 -06:00
Andy-Seattle c33b5ba2b7
Update call_recordings.php (#7148)
Use the new call_recording_transcribe permission to determine if the Transcribe button should appear.
2024-09-30 17:44:52 -06:00
FusionPBX 3ad177e6c1
Fix call screen to end recording with dtmf and silence 2024-09-30 10:05:00 -06:00
fusionate ae15319487
Body Header User Image and Menu, Domain Selector, Contact Attachment improvements. 2024-09-28 16:37:36 -06:00
FusionPBX 7f2bd7d53a
Fix provision auto_insert_enabled 2024-09-28 11:01:39 -06:00
fusionate 21ca2c4761
Contacts - Edit: Better QR Code positioning and sizing. 2024-09-27 12:25:48 -06:00
fusionate 0e39d35a0b
Contacts - List: Better image view position (always centered on viewport). 2024-09-27 12:25:05 -06:00
fusionate 778acbe551
Contacts - List: Better image view position (always centered on viewport). 2024-09-27 12:24:16 -06:00
fusionate 86d018009e
Fax Server: Better view position (always centered on viewport). 2024-09-27 12:23:11 -06:00
fusionate 9ebf0f7bca
Contact - Attachments: Preserve image transparency, large viewing on edit page, other minor adjustments. 2024-09-27 11:56:38 -06:00
fusionate afa0b91b15
Contacts - Attachments: Fix download and image display. 2024-09-27 11:30:53 -06:00
Alex 84950065aa
Add content card to voicemail greetings (#7142)
* Add content card to voicemail greetings

* Update voicemail_greeting_edit.php
2024-09-26 15:57:32 -06:00
FusionPBX 5a8ab2dd8f
Add the domain_name variable
Without the domain_name variable in some cases the confirm option doesn't work.
2024-09-26 08:44:43 -06:00
frytimo 1762dabfab
add detect audio length of recording (#7140)
* add detect audio length of recording

* Update page.lua
2024-09-26 07:59:31 -06:00
fusionate 4e17e9e920
Fax Server - Edit: Add period to Confirmation Email description. 2024-09-24 16:35:43 -06:00
fusionate 183e5d652d
Fax Server - Edit: Adjust style for Email & Confirmation Email fields. 2024-09-24 16:33:46 -06:00
FusionPBX 64a95a972e
More efficient use of the database object 2024-09-23 19:19:19 -06:00
FusionPBX 50a1ed145c
Fix voicemail greeting for base64
- Use the settings class
- Re-use the database object
- Update the indentation
2024-09-23 18:17:44 -06:00
FusionPBX 0c9329b119
Restore previous caller ID behavior
If the caller ID was updated then update the caller ID
2024-09-23 13:00:46 -06:00
FusionPBX 095d0d836f
Add translations for email confirmation 2024-09-23 09:40:51 -06:00
anthony-ricci 4df5253b64
Fax Server changes (#7136)
* Added the ability to send out successful and failed fax notifications to a separate list of email addresses (confirmation emails), in addition to the email address of the originator of the fax.
 * Added new fax_email_confirmation permission
* Check the Session variable for the user's email first and if it is not set, then query the database for the currently logged-in user's email.
2024-09-23 09:10:37 -06:00
FusionPBX 1d5506826a
Fix permission_exists fax_file_edit 2024-09-21 21:12:43 -06:00
FusionPBX 9292dda43f
Fixed the registration count
- Fixed on the dashboard for those with superadmin group
- Fixed the count in the SIP status page
2024-09-21 12:50:36 -06:00
FusionPBX 665bb0e802
Default value for create recording should always be false 2024-09-20 23:08:28 -06:00
FusionPBX 98e7eb725f
Add ignore early media for external calls 2024-09-20 16:20:02 -06:00
FusionPBX 20b358f05f
Get the domain_name with a different variable
Get the domain_name with a different variable if the domain_name is not set
2024-09-20 16:16:25 -06:00
Anthony 7263dfe15c
Added/Adjusted translations in app app_languages.php files (#7139)
* Added Turkish translations to database_transactions/app_languages.php

* Added Turkish translations to conferences_active/app_languages.php
2024-09-20 16:01:13 -06:00
FusionPBX c4baf4ad92
Use ring group destination confirm true when call screen is enabled 2024-09-20 13:17:20 -06:00
fusionate 8d81c5f2d7
Extension Summary: Restore previous form wrapping. 2024-09-20 11:37:53 -06:00
fusionate 99b1c1792e
Extension Summary: Fix form layout. 2024-09-20 11:35:53 -06:00
markjcrane 68c79ca0a3 Remove carriage return per line and leave only line feeds 2024-09-19 17:14:21 -06:00
markjcrane 5cbc53c7d9 Fix end of file line only use one line feed at the end of the file 2024-09-19 16:33:17 -06:00
chansizzle a36b20dbf6
add count next to the title (#7137) 2024-09-19 09:12:05 -06:00
FusionPBX 5bae14c6f9
Update xml_cdr.php 2024-09-18 19:07:02 -06:00
FusionPBX 99ceb6e158
Align SEARCH and other buttons to the right 2024-09-18 18:44:52 -06:00
FusionPBX 6701e4c36d
Show only default extension type
Hide virtual extensions
2024-09-18 11:53:05 -06:00
FusionPBX 1c0267883b
FIFO Queues added to destination select list
- Also add a new permission fifo_destinations
2024-09-17 22:50:36 -06:00
FusionPBX f03b5ad8bd
Fix voicemail base64 greeting 2024-09-17 17:46:22 -06:00
fusionate 6a467f01af
Remove test code on previous commit. 2024-09-17 14:41:44 -06:00
fusionate e4aa30bcd6
Fax - Sent: Added Recipient column, if allowed. 2024-09-17 14:38:11 -06:00
FusionPBX 7cd6aec9df
Add ring group call screen translations 2024-09-16 23:56:57 -06:00
FusionPBX fa23ffe255
Disable Call Block dashboard by default 2024-09-16 21:41:31 -06:00
FusionPBX adeb3ac8a7
Add Contacts to the dashboard 2024-09-16 21:21:28 -06:00
FusionPBX e4a8efa0b9
Add event guard to the dashboard 2024-09-16 21:20:12 -06:00
fusionate cc08aa724d
Dashboard: Widget counter pill style adjustments. 2024-09-16 18:22:28 -06:00
fusionate fd032f4ad4
Dashboard: Widget counter pill style adjustments. 2024-09-16 18:09:04 -06:00
Alex 01e41b09a1
Update system_status.php (#7134) 2024-09-16 14:14:17 -06:00
FusionPBX 340c6e17f3
Add ring group call screening 2024-09-15 16:47:53 -06:00
FusionPBX 795343379c
Handled in its own dashboard widget
For this reason remove the registration count from system status.
2024-09-14 21:49:53 -06:00
FusionPBX 540efc355f
Move the get_memory_details functions 2024-09-14 21:38:14 -06:00
FusionPBX 5e75879518
Add email queue audio string
This enables sending base64 to the transcription class
2024-09-14 21:27:02 -06:00
FusionPBX 384492ab7e
Update the icon color 2024-09-14 16:18:29 -06:00
Alex ca10a3e518
Update registrations.php (#7133) 2024-09-14 16:12:37 -06:00
FusionPBX cee08c8eb7
Update the registration widget 2024-09-14 13:16:22 -06:00
Alex 7edc65fce4
Fixed alignment on dashboard system status progress bars (#7132) 2024-09-14 10:56:18 -06:00
FusionPBX 0357a08a25
Correct the icon name 2024-09-14 03:52:21 -06:00
FusionPBX 02054ae683
Add the missed call icon 2024-09-14 03:45:08 -06:00
FusionPBX 8d5a190063
Add the dashboard icons 2024-09-14 03:40:08 -06:00
FusionPBX a9f61e8cfc
Update missed, recent calls and new messages 2024-09-14 03:10:55 -06:00
FusionPBX c406761897
Update system_status.php 2024-09-13 21:32:08 -06:00
FusionPBX 70b081726e
Call forward widget simple by default 2024-09-13 19:30:51 -06:00
FusionPBX 88b76a4e6d
Dashboard widgets collapsed by default 2024-09-13 19:28:13 -06:00
FusionPBX 8e9527a1c1
Update system_status widget add memory details
Completed work on disk usage percentage
2024-09-13 19:15:15 -06:00
Alex 5e6d494796
Add progress bar to system status dashboard (#7131)
* Add progress bar to system status dashboard

* Update dashboard_edit.php

* Update app_languages.php

* Update config.php
2024-09-13 17:00:21 -06:00
FusionPBX 8c67b31441
Update config.php 2024-09-13 16:41:05 -06:00
Anthony 2de3c6f3bd
Added Turkish & adjusted translations in dialplan_inbound & outbound (#7130)
* Update app_languages.php

* Added Turkish & adjusted translations in dialplan_inbound/app_languages.php
2024-09-13 15:15:23 -06:00
FusionPBX 69c0827669
Add system status
Disable system cpu and disk usage dashboard widgets
2024-09-13 15:14:05 -06:00
FusionPBX 4af96791a5
Create system_disk_usage.php 2024-09-13 15:09:35 -06:00
FusionPBX 2f4954fad1
Send base64 string to the send_mail function 2024-09-12 18:38:11 -06:00
FusionPBX 3429f12850
Add email_base64 to the send_mail function 2024-09-12 18:32:50 -06:00
fusionate 102b9ee9cb
Dialplan - Edit: Fix card. 2024-09-11 18:08:31 -06:00
FusionPBX 6296fb1f73
Update fax_advanced.php
The IMAP FAX settings for advanced were part of the fax_edit.php these settings were moved to the fax advanced file. 

This update focuses the code only on the Advanced settings its intended to manage.
2024-09-11 09:26:09 -06:00
frytimo 414e0b2a21
fix fax caller id number empty (#7129) 2024-09-11 09:09:14 -06:00
FusionPBX 2032e4937e
Support sip_port value of 0
Change empty to !isset to account for sip_port that can be set to 0.
2024-09-10 13:40:44 -06:00
FusionPBX 86df5a2e6a
Remove transcription from voicemails index.lua
Transcription was moved to the email queue
2024-09-10 01:08:55 -06:00
FusionPBX 6d7b3a9249
Update fax_emails.php
Add additional logging information
2024-09-09 21:06:30 -06:00
FusionPBX c5be2b27e9
Update fax_emails.php
- Get the domain name more efficiently
- Add the domain name to the output
2024-09-09 20:38:26 -06:00
Alex 0c5a2ca784
Update streams.php (#7127)
* Update streams.php

* Update call_center_queue.php

* Update menu.php

* Update vars.php

* Update dashboard.php

* Update dashboard_edit.php
2024-09-09 15:25:24 -06:00
Anthony 20283be299
Added Turkish & adjusted translations in dialplans/app_languages.php (#7128) 2024-09-09 15:24:42 -06:00
FusionPBX 214a24bc39
Simplify voicemail transcription
This is done by deprecating default setting voicemail transcribe_enabled.

Instead control this with the voicemail_transcription_enabled permission  and per voicemail.
2024-09-09 12:58:36 -06:00
FusionPBX 04125ef651
Deprecate ZRTP and inbound-late-negotiation disable by default 2024-09-07 17:38:48 -06:00
FusionPBX 6f55603e12
Update 018_global-variables.xml 2024-09-07 09:50:29 -06:00
FusionPBX 349889ad15
Update vars.xml
Remove a few irrelevant switch variables
2024-09-07 09:47:18 -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 d4fdd1ce6b
Add back button to fax queue page. Move permission_exists outside loop (#7125)
* Add back button to fax queue page. Move permission_exists outside loop

* move to permission array instead of individual permission variables
2024-09-06 20:27:19 -06:00
Alex b43bcb9a13
Added the heading counter div (#7124) 2024-09-06 16:43:42 -06:00
FusionPBX 2f93054f45
Fixed fifo agent member login and logout 2024-09-06 15:26:36 -06:00
fusionate 4fe331b433
Contact - Edit: Move primary indicator to prevent wrapping in left column. 2024-09-06 13:41:46 -06:00
fusionate ff28c5e4ae
Contacts - Edit: Integrate content cards. 2024-09-06 13:13:08 -06:00
Alex c01403cce8
Added content card div to devices (#7122) 2024-09-06 11:20:03 -06:00
FusionPBX 2182ebd0b4
Added the content card div 2024-09-05 23:37:34 -06:00
Alex cb6edd88ef
Added content card to applications (#7121) 2024-09-05 17:10:04 -06:00
FusionPBX 4dfcba93b7
Update code for line key variables
Search and replace the variables such as user_id, display_name, and other preset variables to match the correct line key. Focused on it working with multiple line keys.
2024-09-04 20:21:03 -06:00
fusionate bf7526f0ef
Multiple Apps: Integrate content cards. 2024-09-04 17:51:23 -06:00
fusionate d234fb185a
Multiple Apps: Integrate content cards. 2024-09-04 16:55:24 -06:00
FusionPBX 2b1cba9a39
Add a permission called destination_local 2024-09-04 10:34:52 -06:00
MarBifrost b4edb3c3a0
Additional corrections to the Georgian translation (#7115)
* Corrections in Georgian translation

* Additional corrections to the Georgian translation
2024-09-02 09:00:55 -06:00
FusionPBX 651da82b90
Share the $database with the function
After removing the new database connection from the function. This caused a bug that is fixed by using the global option in from of the variable to  share it with the function.
2024-09-01 09:44:42 -06:00
MarBifrost 906b3edf03
Corrections in Georgian translation (#7113) 2024-08-31 10:02:51 -06:00
FusionPBX c474b1a59b
Update the dashboard settings 2024-08-29 22:15:55 -06:00
FusionPBX 5ca4207526
Add dashboard device icon 2024-08-29 16:28:53 -06:00
FusionPBX a828add956
Add dashboard registration icon 2024-08-29 16:25:26 -06:00
FusionPBX 0d747ae3d6
Fix permisisons for call detail records export 2024-08-29 11:35:05 -06:00
FusionPBX b17ce08f7c
Fixed voicemail messages show no results
We removed the pointers &$row because two bugs were found that used them. However, this code uses the pointers. This bug fix resolves this problem.
2024-08-29 11:17:18 -06:00
FusionPBX 7d41385304
Clear the buffer before sending the PDF output 2024-08-29 10:04:18 -06:00
FusionPBX f6ce98ad45
Improved database connection handling 2024-08-29 04:04:04 -06:00
FusionPBX 5b9e886183
Update conference center
Re-use the database connection
2024-08-29 03:03:09 -06:00
FusionPBX e160c23268
Update contacts database connection 2024-08-29 02:56:50 -06:00
FusionPBX 032b6fca3e
Update translations 2024-08-29 01:57:18 -06:00
FusionPBX 88bfb18e5a
Add hold_accum_seconds to the xml_cdr table 2024-08-28 10:05:48 -06:00
NorwayFun aabc2f33a8
Localization: Add full support for Georgian language (#7110)
* Translating apps to Georgian

* Translating apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating theme to Georgian

* Translating core to Georgian

* Translating core to Georgian

* Translating core to Georgian by Marie

* Translating core to Georgian

* Translating resources to Georgian by Marie

* Translating core to Georgian

* fix app_languages.php
2024-08-28 09:59:02 -06:00
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
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 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
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
frytimo 5ea753295d
add maintenance function to the xml_cdr (#7025)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-27 11:27:09 -06:00
FusionPBX 23093f6a14
Add new permissions
- xml_cdr_json_view
- xml_cdr_json_delete
- xml_cdr_flow_view
- xml_cdr_flow_delete
- xml_cdr_log_view
- xml_cdr_log_delete
2024-06-27 10:33:38 -06:00
FusionPBX 6be515de9e
Add a missing $ 2024-06-26 21:50:49 -06:00
FusionPBX 315a3d322f
Provision class use settings and database object
Credit for these changes go to frytimo changes curated by Mark
2024-06-26 21:23:24 -06:00
FusionPBX 7d2941124e
Update provision.php
Use sys_get_temp_dir() to get the temp directory
2024-06-25 20:13:46 -06:00
frytimo 49b2505f0c
Voicemail maintenance (#7023)
* add database_maintenance

* add filesystem_maintenance

* use modified time instead of create time

* Update voicemail.php
2024-06-25 13:07:42 -06:00
FusionPBX 4369ab6380
Update email_send.php
Email transcription has a value no need to transcribe again so run the transcription when the value is empty.
2024-06-24 18:12:49 -06:00
FusionPBX b6257bbda2
Update email_send.php 2024-06-24 17:34:19 -06:00
frytimo 820a7231dc
format class for comments to be at the same tab stop (#7018)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-24 08:26:34 -06:00
frytimo fcd64fcce6
Remove session from provisioning (#7014)
* use single database object, use settings class

* add common domain functions

* use settings class
2024-06-22 19:28:04 -06:00
fusionate 81af0fefd1
Voicemail - Edit: Add option to Keep Local After Forward (or not). 2024-06-21 17:24:06 -06:00
Alex 1ef5f1dab0
Dashboard - Icon widget hover settings (#7016)
* Update system_counts.php

* Update system_cpu_status.php

* Update system_status.php

* Update voicemails.php

* Update missed_calls.php

* Update recent_calls.php

* Update index.php

* Update app_defaults.php

* Update app_defaults.php

* Update index.php

* Update index.php

* Update dashboard_edit.php

* Update index.php

* Update app_defaults.php

* Update css.php

* Update icon.php

* Update dashboard_edit.php

* Update app_config.php

* Update app_defaults.php

* Update css.php

* Update app_languages.php

* Update index.php

* Update dashboard_edit.php
2024-06-21 16:44:31 -06:00
FusionPBX 63e2316885
voicemail transcription to show or not show 2024-06-21 16:27:58 -06:00
fusionate 2403fcc20e
Voicemail - Edit: Show Transcription disabled if value empty. 2024-06-21 16:16:05 -06:00
fusionate f97bfef62a
Outbound Route - Add: Append dialplan expression abbreviation to call_direction-outbound dialplan name if Description empty. 2024-06-21 12:25:19 -06:00