169 Commits

Author SHA1 Message Date
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