Commit Graph

110 Commits

Author SHA1 Message Date
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
FusionPBX
afc9061fef Get the fax_response from the fax_queue table 2023-09-28 23:12:58 -06:00
FusionPBX
c19899097d Send FAX when gateway fails try the next one 2023-09-28 12:41:12 -06:00
fusionate
7984ddeb64 Fax Queue - Edit: Add Response field and translations. 2023-09-28 18:37:36 +00:00
fusionate
d9d17a6917 Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
FusionPBX
81b92075a9 Delete app/fax_queue/app_defaults.php 2023-09-15 23:26:33 -06:00
FusionPBX
f1890976b2 Use settings class for the fax queue 2023-09-14 22:15:37 -06:00
FusionPBX
656e077d40 Use !empty instead of != '' 2023-07-06 14:08:54 -06:00
Andy Binder
cfda1ab335 More german translation updates (#6755) 2023-06-17 13:28:37 -06:00
frytimo
d7bbcd89f5 Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
Andy Binder
13d7703e2d correct translations (#6752) 2023-06-14 14:37:00 -06:00
Alex
fb8d0e2983 fix bugs in php 8.1 changes (#6744)
* Update voicemail_greetings.php

* Update recordings.php

* Update recording_edit.php

* Update phrases.php

* Update phrase_edit.php

* Update music_on_hold_edit.php

* Update fax_queue.php

* Update extensions.php

* Update email_templates.php

* Update email_queue_edit.php

* Update dialplan_inbound_add.php

* Update device_profiles.php

* Update device_profile_copy.php

* Update contact_address_edit.php

* Update call_recordings.php

* Update call_center_agent_edit.php

* Update call_center_agents.php

* Update call_center_queues.php

* Update call_block.php

* Update menu_edit.php

* Update default_setting_edit.php

* Update database_edit.php
2023-06-05 12:41:28 -06:00
FusionPBX
a4ad93632d FAX status busy increment count
It turns out most of the busies are a bad number. So we need to increment the value and eventually stop retrying.
2023-05-30 09:33:24 -06:00
fusionate
88a966cbcc Fax Queue: Updates for PHP 8.1 2023-05-29 22:25:05 +00:00
markjcrane
c045bb4705 Add a new fax user group 2023-05-22 10:45:01 -06:00
FusionPBX
3b53247dee Use !isset instead of empty
Reason for this change is empty treats 0 as null.
2023-05-19 16:10:38 -06:00
FusionPBX
8649db18d8 Fax Queue is enabled if the service is enabled
That means this setting is no longer needed.
2023-05-19 09:48:52 -06:00
Alex
05063e35d2 Update translations (#6694)
* Update app_languages.php
2023-05-18 15:36:17 -06:00
markjcrane
6cbf572512 Remove fax_retry.lua supporting FAX Queue only 2023-05-17 12:37:31 -06:00
FusionPBX
b8d03a0384 Add absolute_codec_string PCMU,PCMA 2023-05-15 12:11:40 -06:00
Alex
3e0ec8b752 Add missing translations (#6673) 2023-05-09 11:39:02 -06:00
Alex
10a2d87ee6 Add missing translations (#6662)
* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php
2023-05-05 15:22:22 -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
14f6dee027 Add additional translations 2023-05-03 12:49:04 -06:00
Alex
19963168d3 Update app_menu.php (#6658)
* Update app_menu.php

* Update app_menu.php
2023-05-03 10:56:54 -06:00
markjcrane
1513bd3301 Add Chinese, Korean, and Japanese translations 2023-05-03 10:36:25 -06:00
markjcrane
28fe89066e Add Chinese, Korean, and Japanese translations 2023-05-02 22:05:16 -06:00
markjcrane
381b3bdd9f Add menu translations 2023-05-02 20:30:13 -06:00
markjcrane
41e87e7f01 Add additional languages 2023-05-02 20:22:44 -06:00
frytimo
69bd42af05 remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
FusionPBX
4d3f2e1e0b Add a shutdown function fax send 2023-04-14 12:24:24 -06:00
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