Commit Graph

10489 Commits

Author SHA1 Message Date
markjcrane 54dc9e1970 Remove commented out debug info 2023-05-25 22:08:18 -06:00
markjcrane 9083885b75 Sofia global settings PHP 8.1 2023-05-25 22:04:33 -06:00
markjcrane 29008867d0 SIP Profiles changes for PHP 8.1 2023-05-25 21:20:56 -06:00
markjcrane 411e93c4b4 Additional PHP 8.1 changes 2023-05-25 15:44:33 -06:00
fusionate 3adeb15ace
CDR Statistics: Updates for PHP 8.1 2023-05-25 21:34:41 +00:00
fusionate 4d8bad9f1a
Agent Status: Updates for PHP 8.1 2023-05-25 21:25:23 +00:00
fusionate bf1ccc04b5
Queues - List: Updates for PHP 8.1 2023-05-25 21:09:05 +00:00
fusionate 035ba1b86b
Active Conferences: Updates for PHP 8.1 2023-05-25 21:08:30 +00:00
fusionate fd0118206d
Queue - Add: Updates for PHP 8.1 2023-05-25 21:00:54 +00:00
fusionate 82c71368cf
Dialplans - List: Update for PHP 8.1 2023-05-25 20:57:05 +00:00
markjcrane 89a1668cf6 A few more updates for PHP 8.1 2023-05-25 14:15:19 -06:00
fusionate 711ffac87c
Active Call Center - Queue: Updates for PHP 8.1 2023-05-25 19:43:21 +00:00
fusionate 1c54896102
Active Call Center: Updates for PHP 8.1 2023-05-25 19:42:23 +00:00
fusionate 4b86260336
Active Calls: Updates for PHP 8.1 2023-05-25 19:41:42 +00:00
FusionPBX c4a42dda96
Use the email_queue by default 2023-05-25 13:24:23 -06:00
FusionPBX 677aa45a90
Update send_email.lua 2023-05-25 13:23:16 -06:00
markjcrane 47bc97347f Simplify how show all and search 2023-05-25 12:50:11 -06:00
Alex 5bb29763ad
php 8.1 changes (#6719)
* Update email_template_edit.php

* Update menu.php

* Update menu_edit.php

* Update number_translations.php

* Update number_translations.php

* Update email_templates.php

* Update email_templates.php

* Update setting_edit.php

* Update call_block.php

* Update call_block_edit.php

* Update email_template_edit.php

* Update call_block.php
2023-05-25 12:38:32 -06:00
fusionate e3dce560cf
Device Profile - Edit: Updates for PHP 8.1 2023-05-25 17:46:27 +00:00
fusionate 48e5f4f2f4
Device Profiles - List: Updates for PHP 8.1 2023-05-25 17:46:06 +00:00
fusionate 7ad7701640
Device - Edit: Adjustment for PHP 8.1 2023-05-25 17:42:37 +00:00
fusionate 798001bb23
Device [Class]: Updates for PHP 8.1 2023-05-25 17:41:58 +00:00
markjcrane d0357b6124 PHP 8.1 changes 2023-05-25 10:52:28 -06:00
Alex caea15af15
php 8.1 changes (#6718)
* Update database_edit.php

* Update databases.php

* Update default_setting_edit.php

* Update email_templates.php
2023-05-25 10:18:46 -06:00
markjcrane d964f354db Fix PHP 8.1 warnings 2023-05-25 10:15:56 -06:00
fusionate 09219263e1
Device Vendor Function - Edit: Updates for PHP 8.1 2023-05-25 15:43:36 +00:00
fusionate 35b04ba3a1
Device Vendor Functions - List: Updates for PHP 8.1 2023-05-25 15:43:11 +00:00
fusionate 0e9df92730
Device Vendor - Defaults: Updates for PHP 8.1 2023-05-25 15:42:50 +00:00
fusionate fea5368a74
Device Vendor - Edit: Updates for PHP 8.1 2023-05-25 15:42:19 +00:00
fusionate 7b18e82c32
Device Vendors - List: Updates for PHP 8.1 2023-05-25 15:41:45 +00:00
fusionate 18b6c4b318
Device [Class]: Updates for PHP 8.1 2023-05-25 15:40:59 +00:00
Alex 9f84d64981
Access controls php 8.1 changes (#6717)
* Update access_control_edit.php

* Update access_controls.php
2023-05-24 17:13:53 -06:00
markjcrane 9e5dec8113 Add some minor fixes 2023-05-24 15:39:10 -06:00
fusionate cc44fc47c9
Device - Import: Updates for PHP 8.1 2023-05-24 21:22:16 +00:00
fusionate e0ccb81dd8
Device - Export: Updates for PHP 8.1 2023-05-24 21:21:58 +00:00
fusionate c65d50160e
Device - Edit: Updates for PHP 8.1 2023-05-24 20:52:50 +00:00
fusionate 5dbff0ca1c
Devices - List: Updates for PHP 8.1 2023-05-24 20:52:26 +00:00
fusionate c026aab073
Device [Class]: Updates for PHP 8.1 2023-05-24 20:52:04 +00:00
frytimo c03ae6e098
Php 8.1 call forward fixes (#6716)
* various PHP 8.1 warning fixes

* various PHP 8.1 warning fixes and create class constants
2023-05-24 10:24:39 -06:00
markjcrane e6a69de549 Send Presence to the for Agent ID 2023-05-23 22:27:58 -06:00
fusionate 7276160030
Time Conditions - Edit: Updates for PHP 8.1 2023-05-24 00:28:55 +00:00
fusionate 66a0d61ad6
Time Conditions - List: Updates for PHP 8.1 2023-05-24 00:28:35 +00:00
fusionate 85314b3a23
Time Conditions [Class]: Updates for PHP 8.1 2023-05-24 00:28:10 +00:00
fusionate a8adf18fcf
Dialplans - List: Include Time Conditions app_uuid. 2023-05-24 00:25:52 +00:00
fusionate ad95542c4c
Queue - Add: Updates for PHP 8.1 2023-05-23 23:56:52 +00:00
fusionate ac217f1209
Dialplans - XML: Fix Back button after XML save. 2023-05-23 23:56:30 +00:00
fusionate 9227344748
xml_cdr [Class]: Update for PHP 8.1 2023-05-23 20:20:40 +00:00
fusionate fcc9600f83
Dialplan - XML: Updates for PHP 8.1 2023-05-23 20:16:07 +00:00
markjcrane a650ca062a Add transcribe_enabled default false 2023-05-23 13:15:00 -06:00
FusionPBX 63ccea687c
Add setting grandstream_public_mode 2023-05-22 21:58:46 -06:00
fusionate d0481896ba
Destinations [Class]: Updates for PHP 8.1 2023-05-22 23:05:44 +00:00
fusionate a707462979
Destinations - Import: Updates for PHP 8.1 2023-05-22 23:05:25 +00:00
fusionate 9abea834b5
Destinations - Export: Updates for PHP 8.1 2023-05-22 23:05:10 +00:00
fusionate d0b6874f23
Destination - Edit: Updates for PHP 8.1 2023-05-22 23:04:46 +00:00
markjcrane c045bb4705 Add a new fax user group 2023-05-22 10:45:01 -06:00
FusionPBX e7730e9e69
Prevent overwriting variables 2023-05-21 16:52:14 -06:00
FusionPBX e0d8574410
Destinations - change negative condition to a positive one.
Usually best use positive conditions rather as they are easier to follow.
2023-05-21 16:19:54 -06:00
FusionPBX c6e3fd381b
Update scripts dir session variable as it was not set in the install
This would break the install and prevent the scripts getting copied to the right location. That had a chain reaction of breaking multiple additional things.
2023-05-21 10:58:05 -06:00
fusionate d8a6101460
Dialplan - Add: Updates for PHP 8.1 2023-05-20 23:58:13 +00:00
fusionate c9122ded11
Dialplan - Edit: Updates for PHP 8.1 2023-05-20 23:58:01 +00:00
fusionate dc613c7c44
Dialplans - List: Updates for PHP 8.1 2023-05-20 23:57:44 +00:00
fusionate b235f951a1
Dialplan [Class]: Updates for PHP 8.1 2023-05-20 23:57:27 +00:00
fusionate 04746d9e87
Bridge - Edit: Updates for PHP 8.1 2023-05-19 23:48:18 +00:00
fusionate 61bc6c2b5b
Bridges [Class]: Updates for PHP 8.1 2023-05-19 23:48:01 +00:00
fusionate 6311514ff6
Bridges - List: Updates for PHP 8.1 2023-05-19 23:47:47 +00: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 64a8254aa6
Search agent_id or agent_name to improve flexibility 2023-05-19 11:59:06 -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
FusionPBX 62b95fa690
Handle call center variables with a value of _undef_ 2023-05-18 23:41:21 -06:00
markjcrane cf580e6c8c Move failed call detail records to a failed directory 2023-05-18 17:44:36 -06:00
Alex 05063e35d2
Update translations (#6694)
* Update app_languages.php
2023-05-18 15:36:17 -06:00
FusionPBX f09b7a699f
Update ivr_menus.php fix show all 2023-05-18 09:28:42 -06:00
markjcrane 9a97c44952 Fix the provision template list 2023-05-18 01:42:48 -06:00
markjcrane 5c7dfe339b Use the database to format the date time with the time zone 2023-05-17 20:41:52 -06:00
markjcrane f1ac3d92dd Destinations more minor changes 2023-05-17 16:32:05 -06:00
markjcrane 10a4ceae65 Default destination type to inbound. Use is_array where it is required 2023-05-17 16:03:36 -06:00
fusionate 74959e69c7
Extension - Import: Updates for PHP 8.1 2023-05-17 21:42:32 +00:00
fusionate 766cf7ef66
Extensions - Export: Updates for PHP 8.1 2023-05-17 21:06:22 +00:00
fusionate ca6ecc8548
Gateway - Edit: Updates for PHP 8.1 2023-05-17 21:01:43 +00:00
fusionate 662d6e71de
Gateways [Class]: Updates for PHP 8.1 2023-05-17 21:00:49 +00:00
fusionate 9122baa9d7
Modules [Class]: Updates for PHP 8.1 2023-05-17 20:35:45 +00:00
fusionate 86a09e5635
Dialplan - Inbound: Updates for PHP 8.1 2023-05-17 20:35:25 +00:00
markjcrane af8a6991b1 Initialize the array if its empty 2023-05-17 14:18:46 -06:00
markjcrane 6cbf572512 Remove fax_retry.lua supporting FAX Queue only 2023-05-17 12:37:31 -06:00
markjcrane 7d18e3eedc Destinations update for PHP 8.1 2023-05-17 11:31:53 -06:00
markjcrane 6d7e125743 Fix all PHP 8.1 messages for upgrade.php 2023-05-17 10:07:49 -06:00
fusionate 6816921f47
Extension - Edit: Updates for PHP 8.1 2023-05-17 07:02:45 +00:00
fusionate 603199f1d4
Extension [Class]: Updates for PHP 8.1 2023-05-17 07:02:26 +00:00
fusionate a26c953291
Voicemail [Class]: Updates for PHP 8.1 2023-05-17 06:59:40 +00:00
fusionate c6eba58cf7
Extensions - List: Updates for PHP 8.1 2023-05-17 05:26:08 +00:00
fusionate 4c50b6e83a
Extension [Class]: Updates for PHP 8.1 2023-05-17 05:25:48 +00:00
markjcrane 2afda399e6 IVR Menu code changes for PHP 8.1 2023-05-16 22:55:19 -06:00
markjcrane 10c39f9bcb Code cleanup to solve a few minor issues 2023-05-16 16:14:39 -06:00
Luis Daniel Lucio Quiroz 3f544496b7
DB and protection (#6696)
so this small change has 2 purposes.
first, I found the hard way, that PHP PDO is not always coded with the same criteria between versions and databases.  While PDO PGSQL on PHP 8.x may work, PDO SQLITE on PHP 7.4 may not and so on.. This will make sure that the value there is an integer.

Second, since these two values are taken from the _GET, which is in the URL string, it will protect against "imaginative" users.
2023-05-16 13:05:07 -06:00
markjcrane 155f15a407 Fix CDR paging and minor code changes 2023-05-16 10:07:32 -06:00
markjcrane 7aac235f14 Check if the digit isset and not an empty string. 2023-05-16 00:48:26 -06:00
markjcrane 6fa40778f7 Need to use empty persistformvar 2023-05-16 00:08:07 -06:00
markjcrane 93b8c4a4f8 Update IVR Menu Edit 2023-05-15 23:51:18 -06:00
markjcrane 0c585bcb07 IVR Menu fix some errors and prevent some warnings 2023-05-15 23:11:23 -06:00
FusionPBX b8d03a0384
Add absolute_codec_string PCMU,PCMA 2023-05-15 12:11:40 -06:00
FusionPBX 8a449172a0
Update gateway_edit.php 2023-05-13 20:52:18 -06:00
FusionPBX 059aea351e
Update gateway_edit.php for PHP 8.1 2023-05-13 20:50:06 -06:00
FusionPBX ce4de56b7c
Update gateways.php 2023-05-13 20:46:18 -06:00
FusionPBX 2e270b07f0
Update gateway_edit.php for PHP 8.1 2023-05-13 20:43:39 -06:00
FusionPBX aa52764215
Update gateways.php for PHP 8.1 2023-05-13 20:42:16 -06:00
FusionPBX a94c465759
Update gateways.php for php 8.1 2023-05-13 20:23:10 -06:00
FusionPBX 445b63ec3a
Update dialplan.php to prevent PHP 8.1 warnings 2023-05-13 12:55:33 -06:00
FusionPBX c1a979a643
dialplan: update for php 8.1 2023-05-12 21:21:32 -06:00
Alex a46c5dbfc9
Update translations (#6688)
* Update app_languages.php
2023-05-12 15:14:59 -06:00
FusionPBX 590faa4e83
Set the export_format
To prevent null and prevent unintended behavior set an empty string to as the default export format.
2023-05-12 14:30:16 -06:00
frytimo 9dc8bcf7e9
Fix xml cdr for PHP 8.1 (#6692)
* fix multiple warnings

* fix multiple warnings

* ensure array key exists

* ensure array key exists

* assign boolean variable for showall in url

* change boolean to show_all instead of showall

* revert some changes. Create default leg value and mos_score

* validate page integer

* revert back to showall from get
2023-05-12 13:28:42 -06:00
FusionPBX a9baddb6e0
prevent domain_uuid nil error
If the domain_uuid is null then use a random uuid to prevent an error and allow domain_uuid is null SQL to still run
2023-05-11 13:23:13 -06:00
fusionate c01c2d7d31
Dashboard - Domain Limits: Updates for PHP 8.1 2023-05-11 13:39:40 +00:00
FusionPBX eccae62149
Replace is_array with !empty 2023-05-10 22:25:10 -06:00
FusionPBX 020b1414aa
Use empty instead of is_array 2023-05-10 22:22:21 -06:00
FusionPBX 6f554eefa8
Use empty instead of strlen or is_array 2023-05-10 22:18:42 -06:00
Alex ac38507462
Update translations (#6682)
* Update translations

* Update app_menu.php

* Update app_languages.php
2023-05-10 18:20:44 -06:00
fusionate dae1cc9909
Dashboard - Caller ID: Updates for PHP 8.1 2023-05-10 23:27:52 +00:00
fusionate 1b460941d5
Dashboard - Ring Group Forward: Updates for PHP 8.1 2023-05-10 23:25:22 +00:00
fusionate 9ec44fed71
Dashboard - System Counts: Updates for PHP 8.1 2023-05-10 23:06:59 +00:00
fusionate c3e0a845d1
Dashboard - Call Forward: Updates for PHP 8.1 2023-05-10 23:05:51 +00:00
fusionate 26595860cc
Dashboard - Switch Status: Updates for PHP 8.1 2023-05-10 22:59:49 +00:00
fusionate 71b14727a7
Dashboard - System Status: Updates for PHP 8.1 2023-05-10 22:40:02 +00:00
fusionate c894161060
Dashboard - System Status: Updates for PHP 8.1 2023-05-10 22:38:11 +00:00
fusionate 80ce576ea5
Dashboard - Missed Calls: Updates for PHP 8.1 2023-05-10 22:34:27 +00:00
fusionate c391faccfc
Dashboard - Recent Calls: Updates for PHP 8.1 2023-05-10 22:32:44 +00:00
fusionate 8f50a96d51
Dashboard - Voicemails: Updates for PHP 8.1 2023-05-10 22:27:19 +00:00
fusionate be4bf7fa7f
Bridges - List: Update for PHP 8.1 2023-05-09 22:52:32 +00:00
Alex 3e0ec8b752
Add missing translations (#6673) 2023-05-09 11:39:02 -06:00
FusionPBX 55dc76f099
Provide default values 2023-05-09 11:36:39 -06:00
FusionPBX 13d73a33e2
If the group is null set to 0 2023-05-09 09:50:16 -06:00
FusionPBX 06bbdec276
Update for PHP 8.1 2023-05-08 22:55:00 -06:00
FusionPBX a1cea6bf56
Set dialplan_continue false 2023-05-08 14:36:35 -06:00
FusionPBX 46e3c9dc48
Upgrade: Fix PHP 8.x issue 2023-05-08 14:22:48 -06:00
fusionate decebec7db
Call Centers: Fix PHP 8.x issue on explode function in app_defaults.php. 2023-05-08 13:23:07 +00:00
fusionate 2047921cde
Dashboard - Switch Status: Fix Registrations count error when no registrations. 2023-05-08 13:12:20 +00:00
FusionPBX b9670cf385
Correct the dialplan detail order
The difference between a 1 and a 0 can sometimes be amazing.
2023-05-06 21:00:48 -06:00
FusionPBX eb84bf476b
Add hangup_after_bridge and continue_on_fail
Add both of these variables when using destination bridge application.
2023-05-06 20:38:01 -06:00
Alex 09d953c4dd
Update app_languages.php (#6668) 2023-05-06 13:13:11 -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
jonathanblack1000 0f3b212586
Fix sort on call broadcast display (#6663)
* Fix sort on call broadcast display

* Grandstream Template Updates

For grp/gxp, added settings for intercom auto answer and multicast paging
For gxw42xx - Added off-hook auto-dial settings to all lines
For wp820 - Fixed incorrect P-codes and added setings for wifi roaming
Contributed new template for gxv3480
2023-05-05 11:23:41 -06:00
fusionate 8614f617a2
Undo: Gateways: Convert State to string to escape function. 2023-05-05 17:02:24 +00:00
fusionate 6e7c50cba5
Gateways: Convert State to string to escape function. 2023-05-05 16:50:57 +00: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
FusionPBX 93d1e1259a
Call broadcast minor update 1.1 2023-05-03 17:42:55 -06:00
FusionPBX 37cbb7e847
Update call_broadcast_edit.php 2023-05-03 17:40:40 -06:00
FusionPBX 33fd5e8fa3
Change to Phone Numbers 2023-05-03 17:33:29 -06:00
FusionPBX 7f37607b4e
Update the permissions 2023-05-03 17:29:47 -06:00
FusionPBX 712018cb19
Use the permissions when saving data 2023-05-03 17:28:19 -06:00
FusionPBX 82810fbcb3
Re-add missing icon and order 2023-05-03 14:25:49 -06:00