Commit Graph

36 Commits

Author SHA1 Message Date
FusionPBX
8b7bd29456 Fix temporary permissions 2024-11-29 14:06:08 -07:00
frytimo
8f575fe555 Use boolean in conditional statement (#7171) 2024-10-24 14:56:38 -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
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
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
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
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
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
FusionPBX
94e3d1edf6 Voicemail transcription use the new transcribe class 2024-05-05 16:47:32 -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
6ec3c53c1f Email Queue save response false by default 2024-01-24 11:04:51 -07:00
FusionPBX
2e032cd115 Update email_send.php
Move the 'transcribe enabled' message
2023-12-11 12:32:27 -07:00
FusionPBX
87f722e59d check if transcribe_enabled is enabled
We are checking this already on the voicemail. This checks the setting for transcribe_enabled in default and domain settings.
2023-12-11 12:21:15 -07:00
FusionPBX
b919848425 Only include transcribe.php if enabled 2023-12-11 11:51:19 -07:00
frytimo
3a4c2f72e2 Event socket bug fix and more docs (#6823)
* Add documentation to methods. Use is_resource for added type detection

* Allow connect to specify timeout in microseconds with default 30,000

* Update calling mechanism for event sockets

* Update project for new singleton event sockets

* remove unused variable

* catch errors on closing the socket
2023-12-02 17:16:18 -07:00
fusionate
d9d17a6917 Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
FusionPBX
a7dce663a1 Simplified array structure as it changed when using the settings class 2023-09-19 11:40:18 -06:00
FusionPBX
7cb3c0b211 Fix the category and subcategory 2023-09-14 21:17:19 -06:00
FusionPBX
5afce93f03 Update email_queue to use settings class 2023-09-14 16:10:13 -06:00
fusionate
d4d5799342 Email Queue - Job & Service: Fix variable issues to mitigate errors. 2023-08-01 00:14:00 +00:00
markjcrane
32051873be Use __dir__ to find resources/require.php 2023-06-16 22:49:09 -06:00
frytimo
fef8165be2 Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
markjcrane
2d2c5fc06e Add email attachment cid and mime type 2023-04-12 14:04:56 -06:00
FusionPBX
1d36ca2dc9 Preprend the settings to the email response 2023-02-17 16:58:44 -07:00
FusionPBX
c430c5c07f Add email settings to the saved email response 2023-02-17 16:45:52 -07:00
FusionPBX
ef866e12d7 Remove code that was commented out 2023-02-17 12:59:22 -07:00
FusionPBX
97dbe7b31a Save the email response (#6558)
* Save the email response

* use the response variable from the email class

* Rename email_debug to email_response

* Update app_languages.php

* Show the email response

* Save the email response
2023-02-17 12:47:11 -07:00
FusionPBX
7bca5305ec Add the email error
Log the email error to identify what went wrong with the email.
2023-02-13 13:03:04 -07:00
FusionPBX
47c13a7270 Set update_date now() when the status is updated 2022-10-18 07:58:03 -06:00
FusionPBX
fa870da5c9 Use server DOCUMENT_ROOT variable
Move includes to the near the top of the page
2022-10-11 11:44:54 -06:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX
24b9012d8c Update email_send.php 2022-08-11 13:43:37 -06:00
FusionPBX
38541f7a2d Add domain_uuid to the email object and remove deprecated code. 2022-05-10 20:21:20 -06:00
FusionPBX
6138c2e138 Prevent running same row from email_queue more than once per row. 2022-04-25 13:16:39 -06:00
markjcrane
133c51bfcf Add the email_queue. 2022-04-22 13:00:38 -06:00