Commit Graph

129 Commits

Author SHA1 Message Date
fusionate 8a3ea373f6
Fax Queue - List: Apply case to Status filter select options, minor layout adjustment. 2023-04-13 21:20:21 +00:00
fusionate 1f7f047d58
Fax Queue - List: Responsive optimizations. 2023-04-13 21:04:09 +00:00
fusionate 53acce3369
Fax Queue - List: Apply case to Status column value. 2023-04-13 20:44:16 +00:00
fusionate 0356d3ea7e
Fax Queue - Edit: Change Status field to select box. 2023-04-13 20:31:13 +00:00
fusionate a5d2558112
Fax Queue - Added new Sending status to select filter. 2023-04-11 20:25:53 +00:00
FusionPBX d662a641e6
Add fax_status sending
While in sending mode it will not send again. The fax hangup hook will update the status to trying again if the fax fails or is set to failed if it reaches max tries.
2023-04-11 14:01:54 -06:00
Luis Daniel Lucio Quiroz 3a8dfca16d
SQL query missing toll_allow (#6604)
The SQL query is missing the toll-allow setting from the virtual fax extension. All dialplans that have that condition will fail.
This patch makes sure the variable is present if need it.
2023-04-03 19:14:26 -06:00
FusionPBX 14cbce3fdd
Add fax_status select list trying and busy 2023-03-28 13:12:30 -06:00
FusionPBX 7800633304
Add label busy and trying 2023-03-28 13:11:16 -06:00
FusionPBX 75fcb46b47
Account for fax_status busy 2023-03-28 13:01:49 -06:00
trideeindhoven fba26b3f84
Better NL translations (#6590)
Co-authored-by: Jeroen Hermans <jeroen@perfectvoip.nl>
2023-03-28 10:24:11 -06:00
FusionPBX cedef761a6
FAX Queue retry_limit set to 5 2023-03-22 20:25:21 -06:00
Daniel C c57f8fee22
Fix fax queue selection not sending list and some french translation. (#6565)
* Fix sending selected faxes from the queue

* Fix some french translations

---------

Co-authored-by: Daniel <git@myrandor.com>
2023-02-28 00:00:51 -07:00
FusionPBX a727c4c38a
Add domain_uuid useful for debug 2023-02-09 12:58:07 -07:00
FusionPBX 9c73670845
Move the fax_queue update before originate
Reason for the change is to make sure the api_hangup_hook lua script update of the email queue doesn't conflict.
2023-02-09 12:40:42 -07:00
FusionPBX e914fcde5e
Fix the fax queue status and search 2023-01-14 15:27:02 -07:00
FusionPBX c29c00dac1
Use $_REQUEST instead of $_POST or $_GET 2023-01-14 15:12:24 -07:00
FusionPBX a51fba9745
Add permission fax_queue_domain 2023-01-13 18:12:42 -07:00
FusionPBX 3d144e58b0
Show faxes assigned to the user 2023-01-13 18:11:01 -07:00
FusionPBX 3b2e92a67d
Use $_SERVER['DOCUMENT_ROOT'] 2023-01-13 14:24:33 -07:00
FusionPBX 86b8c2bea6
Update the fax-queue config.conf include 2023-01-13 13:56:34 -07:00
FusionPBX 135686c252
Replace the commas for display with a space.
Browser will handle different display sizes better with a space.
2022-11-15 11:01:26 -07:00
FusionPBX 150e3cfed7
Re-organize the includes 2022-10-22 23:50:31 -06:00
FusionPBX a373958ffd
Use $_SERVER['DOCUMENT_ROOT'] 2022-10-14 11:51:17 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX f70576b8d0
Update debian.service 2022-09-26 11:43:22 -06:00
markjcrane eb5c25aa35 Add insert_date, insert_user, update_date, update_user to all tables 2022-09-18 00:54:37 -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 694fa611ef
Check to see if posix_getsid exists 2022-09-12 20:49:04 -06:00
emak e52f6626f9
Fix fax_queue to Email PDF Instead of TIF (#6461)
* Fix fax_queue to Email PDF Instead of TIF

Variables `$fax_file_tif` and `$fax_file_pdf` are missing a period before the extension so file_exists is always evaluating to false. Thus, TIF was always sent. Adds the period back into the path so the check works correctly.

NOTE: `$fax_file_tif` is completely unused and can be removed from this code for cleanup.

* Use single quotes.
2022-08-22 10:10:31 -06:00
emak 26b3e7893b
Add Fax Queue TX Email Variables (#6460)
* Add db field to v_fax_queue to link to fax log

* Add fax_duration field to v_fax_logs

Add fax duration to db to allow for logging of this data for fax email templates.

* Add new email variables to fax send

* Fix some logging variables and fax_log_uuid

Added back some missing session variables for the fax log.

Also update the email queue db field with the fax_log_uuid to allow us to add variables to the fax email templates later.

* Update hangup_tx.lua
2022-08-19 18:08:43 -06:00
Alex ada9f69af3
Add status dropdown to Fax Queue search (#6459)
* Update fax_queue.php

* Update app_languages.php
2022-08-18 13:13:50 -06:00
FusionPBX da181fc6f6
Improve multi-server cluster support. 2022-07-07 16:14:01 -06:00
FusionPBX be841cd17a
Update fax_send.php 2022-06-28 11:06:19 -06:00
M. Skenderian b3fc6e6857
removed duplicate code (#6410)
Co-authored-by: mskenderian <michael@wireprosolutions.com>
2022-06-16 10:04:28 -06:00
FusionPBX f214547359
First attempt use the fax variables from settings
Also set fax_retry_attempts, and fax_retry_limit.
2022-06-14 23:09:54 -06:00
FusionPBX 44f07fa5db
Add missing single quotes 2022-06-14 20:42:17 -06:00
FusionPBX c87ab41fff
Add FAX Queue with retry_interval (#6398)
* Update app_config.php

* Use the new retry interval.

* Add the new retry interval.
2022-05-26 14:33:19 -06:00
FusionPBX 1434d39cff
Change condition where the email address was not set.
- When the email address was not set then post process did not happen and the status was not updated to failed.
- Updated debug and file parameters for debugging.
2022-05-19 16:00:58 -06:00
FusionPBX a2477f8dd5
Add domain_uuid the email object. 2022-05-19 10:44:54 -06:00
FusionPBX b8a71eb59b
Remove the reset on the fax queue search. 2022-05-03 17:46:20 -06:00
FusionPBX ba70234a96
Detect if FAX job still in progress.
Exit the code if the FAX job is still running.
2022-04-27 23:34:26 -06:00
FusionPBX 3fa9f29c86
Add origination_uuid to the fax_queue table. 2022-04-27 23:27:12 -06:00
FusionPBX fb08a0ab61
Change fax_email_address from required to not required. 2022-04-27 23:17:00 -06:00
AlexC a0ff692f30
Move Fax/Email Queue under Status in the Menu (#6353)
* Update app_menu.php

* Update app_menu.php
2022-04-26 13:43:08 -06:00
FusionPBX d61939e38a
Only send notify if email address is not null (#6351)
* Only send notify if email address is not null

* Update fax_queue.php
2022-04-25 13:54:52 -06:00
AlexC ecd99d90bd
Add notify date column to Fax Queue (#6349)
* Add notify date column to Fax Queue

* Update app_languages.php

* Update fax_queue_edit.php

* Update app_languages.php
2022-04-25 10:25:04 -06:00
FusionPBX c2e147e099
Format the fax retry date and time with the time zone. 2022-04-25 09:57:10 -06:00
FusionPBX f9e63c2a28
Change prefix from start_ changed to fax_. 2022-04-24 02:00:16 -06:00
FusionPBX 5263bfbcd5
Order items in the queue in descending order and add the time zone. 2022-04-24 01:49:15 -06:00
FusionPBX 5967f8ac1a
Prevent running the sub process more than once. 2022-04-24 01:24:18 -06:00
FusionPBX f3f27ba6a4
Update fax_queue.php 2022-04-24 00:19:07 -06:00
FusionPBX 9c6c5fead0
Update fax_queue.php 2022-04-24 00:18:36 -06:00
FusionPBX 7e5103f831
Make the path more dynamic for the fax queue service 2022-04-23 18:17:45 -06:00
FusionPBX f3047f3f7f
Make the paths more dynamic 2022-04-23 18:16:19 -06:00
FusionPBX 0678c36b58
Update the fax status
Fax status may have reached retry limit and if so need to update the status to failed.
2022-04-22 19:47:09 -06:00
FusionPBX f73f9b706f
Move Session code to a better location in the file. 2022-04-21 22:15:45 -06:00
FusionPBX 5f462693dd
Unset values for array and parameters. 2022-04-21 15:56:07 -06:00
FusionPBX 596ed957bf
Add more debug info. 2022-04-21 15:36:39 -06:00
FusionPBX 4347c2ab5b
Do not require accountcode for fax. 2022-04-21 14:57:20 -06:00
FusionPBX b5c2cf5d16
Remove debug and a commented out include. 2022-04-21 13:33:00 -06:00
FusionPBX 534094de5e
Change the fax queue interval to 30 seconds. 2022-04-21 11:29:22 -06:00
FusionPBX 8ab8426fc8
Create debian.service 2022-04-21 11:21:58 -06:00
FusionPBX 1922d0b7be
FAX Queue option to run as a service. 2022-04-21 11:21:32 -06:00
FusionPBX 54623d8d3b
Remove missing file it's causing a issue. 2022-04-20 23:23:30 -06:00
FusionPBX e32c9d1870
If fax file is missing set status to missing file. 2022-04-20 22:34:42 -06:00
FusionPBX e73af240f9
Add a missing single quote. 2022-04-20 21:27:00 -06:00
FusionPBX 8c2e2b1f69
Add fax_queue.log and update fax_notify_sent and fax_notify_date. 2022-04-20 18:21:05 -06:00
FusionPBX 98e1ab49f5
Select rows from where fax_status = sent and fax_notify_date is null. 2022-04-20 18:19:19 -06:00
FusionPBX 9e6c26d194
Add fax notify sent and date 2022-04-20 18:16:46 -06:00
FusionPBX 7511109c25
Fix a spelling mistake. 2022-04-19 16:41:50 -06:00
FusionPBX 633b69eb6d
Add fax_queue enabled boolean option. 2022-04-16 10:56:54 -06:00
FusionPBX a4c4b71232
Give admin the fax_queue_view permission by default. 2022-04-11 23:52:17 -06:00
FusionPBX 5cb5ba3f47
FAX Queue - Filter for specific domain by default with the option to show all. 2022-04-11 23:45:16 -06:00
FusionPBX 9e2fe6d19f
Use the path info to get details to define the email attachments. 2022-04-03 04:06:49 -06:00
FusionPBX 0b7622ad37
Get email_from and email_from_name from the default or domain settings. Add the number_dialed variable. Also added additional debug information. 2022-04-03 02:48:10 -06:00
FusionPBX ec7af36ba1
Add fax email with templates and fax busy 2022-04-02 22:49:25 -06:00
FusionPBX 9b754bffb8
Change a variable name and hangup.lua to hangup_rx.lua. 2022-03-31 20:36:36 -06:00
markjcrane 35fa6a2a08 Add a new FAX Queue 2022-03-31 12:24:00 -06:00