Commit Graph

7699 Commits

Author SHA1 Message Date
FusionPBX 04a6701343
Add user_shared_line
https://service.snom.com/display/wiki/user_shared_line
2023-07-11 12:47:19 -06:00
FusionPBX e72afde5a7
Add user_shared_line
https://service.snom.com/display/wiki/user_shared_line
2023-07-11 12:47:16 -06:00
FusionPBX e6538d3858
Add user_shared_line
https://service.snom.com/display/wiki/user_shared_line
2023-07-11 12:47:15 -06:00
FusionPBX 3732d51753
Add user_shared_line
https://service.snom.com/display/wiki/user_shared_line
2023-07-11 12:47:12 -06:00
FusionPBX 73c6b87121
Add user_shared_line
https://service.snom.com/display/wiki/user_shared_line
2023-07-11 12:47:10 -06:00
FusionPBX cf38aa88ec
Add user_shared_line
https://service.snom.com/display/wiki/user_shared_line
2023-07-11 12:47:08 -06:00
FusionPBX 59e96d19b0
Add user_shared_line
https://service.snom.com/display/wiki/user_shared_line
2023-07-11 12:43:11 -06:00
FusionPBX cd28379dd2
Add snom user_shared_line
https://service.snom.com/display/wiki/user_shared_line
2023-07-11 12:41:34 -06:00
FusionPBX e3cfa0d1da
Prevent more PHP 8.1 warnings 2023-07-10 18:33:18 -06:00
fusionate 9ae6c12cbb
Cache [Class]: Resolve PHP 8.1 warning on cache() method. 2023-07-07 19:41:48 +00:00
FusionPBX e5a4890d29
Provisioning templates isset is better than !empty 2023-07-06 18:57:18 -06:00
FusionPBX f998c4f62b
Function format_hours convert seconds to an integer and use sprintf for leading zeros. 2023-07-06 15:40:53 -06:00
fusionate ceb0637c83
Database [Class]: Update for PHP 8.1 2023-07-05 23:12:00 +00:00
FusionPBX 255b1773ae
Update the linphone template its ready to use
- The first nat_policy_0 needs a postfix with _0
- Correct the syntax with the registration password
2023-07-01 10:00:19 -06:00
FusionPBX 51c349a78e
Add default linphone template 2023-06-30 19:40:55 -06:00
FusionPBX 7d90568f05
Add a smarty plugin for md5 2023-06-30 17:34:10 -06:00
fusionate 212ceb361d
Functions: Enhance is_uuid(), is_mac() and format_device_address() functions. 2023-06-30 21:47:32 +00:00
markjcrane 53779d50d3 Change device_mac_address to device_address 2023-06-29 23:40:11 -06:00
FusionPBX ec04006971
Change the scope of the database variables 2023-06-28 15:29:28 -06:00
Mihir Gajjar fc8bc10803
Updated Snom D717 template for setting the Smartlabel display mode (#6763)
By Default, Snom D717 has the smartlabel display mode set to "short". Snom D717 has an issue where for short labels it doesn't take the label that we configure in devices. Instead, it tries to look for the value in the system and if it doesn't find a contact or extension associated, it will just show the number itself.
2023-06-28 09:50:09 -06:00
fusionate dec61c3833
Check Auth: Updates for PHP 8.1 2023-06-27 02:31:25 +00:00
markjcrane a9bd6cbc9a Update the to point to app/switch/resources/conf 2023-06-26 13:37:08 -06:00
markjcrane 65a84216bb Update class.phpmailer.php update for PHP 8.1 2023-06-24 16:59:43 -06:00
markjcrane b6c521d787 Define the db_sslmode variable 2023-06-24 09:48:27 -06:00
markjcrane 97e0d93400 Set the values in the config class 2023-06-24 09:39:04 -06:00
markjcrane 0d39719318 Move resources/templates/conf to app/switch/resources/conf 2023-06-23 13:27:29 -06:00
Zachary Kitchen 1a65701da8
Added DND & Call Forwarding Codes to GR26XX (#6761) 2023-06-22 10:18:18 -06:00
FusionPBX fd0e30bdb7
Update config class add config.conf 2023-06-22 10:09:14 -06:00
FusionPBX 62a61f451b
Change login destination type url to text 2023-06-21 12:07:08 -06:00
FusionPBX bcf7cbaad2
Save database errors to the message variable 2023-06-19 16:08:54 -06:00
markjcrane 1452bde1ac Update the database class to find the require.php 2023-06-17 22:29:15 -06:00
markjcrane 38150d25aa Use require.php 2023-06-17 21:50:29 -06:00
fusionate 219d65ba18
Login: Restore authentication failed message (for real!). 2023-06-17 23:19:41 +00:00
fusionate 3021f59431
Login: Restore authentication failed message. 2023-06-17 23:16:39 +00:00
markjcrane c92872ab8f Use require instead of require_once on require.php 2023-06-17 09:11:32 -06:00
markjcrane d6cb17e5b9 Fix a PHP 8.1 error 2023-06-17 09:08:25 -06:00
markjcrane 32051873be Use __dir__ to find resources/require.php 2023-06-16 22:49:09 -06:00
FusionPBX 4d54821119
Add a is_xml function 2023-06-16 11:13:20 -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
FusionPBX cdfde3aca2
Fix the syntax for gxw42xx template 2023-06-14 16:33:45 -06:00
FusionPBX 764dd1612a
Use port 5080 and 5081 2023-06-14 08:49:46 -06:00
markjcrane 6e7d274c5a Remove debug for authentication class. The validation method returns enough details. 2023-06-12 16:27:47 -06:00
fusionate 8b982dd6e3
Database [Class]: Modify copy() method to support enable and description fields without the table name. 2023-06-09 19:42:10 +00:00
fusionate 09ba7069dc
Functions: Enhance html_select_other() function. 2023-06-09 17:28:56 +00:00
FusionPBX 473033257a
Exclude switch default settings.
This category is causing errors and is not needed for this code.
2023-06-07 11:43:15 -06:00
markjcrane b75b0f63e6 Initialize the array before using them 2023-06-06 23:37:09 -06:00
fusionate 8d51e9d948
Menu [Class]: Updates for PHP 8.1 2023-06-06 22:27:16 +00:00
fusionate addae78ac8
Groups [Class]: Updates for PHP 8.1 2023-06-06 22:12:29 +00:00
fusionate 8e9f28a5e0
Domains [Class]: Updates for PHP 8.1 2023-06-06 21:43:50 +00:00
FusionPBX b14fde8eec
Remove reference to fax tasks 2023-06-06 10:41:57 -06:00
Alex f86abd84c4
Fixed call recording download and call center show all (#6745) 2023-06-06 10:14:15 -06:00
FusionPBX f5f3ef680e
Set session variables from default settings switch category 2023-06-03 13:43:37 -06:00
FusionPBX bc43f696ca
Bug fixed unset the cidr variable 2023-06-03 10:19:42 -06:00
Alex 42ecba0214
voicemail edit, log viewer, and sip status php 8.1 changes (#6738)
* Update voicemail_edit.php

* Update sip_status.php

* Update message.php

* Update log_viewer.php

* Update log_viewer.php

* Update sip_status.php
2023-06-02 14:53:23 -06:00
fusionate c8e8c5acd7
Functions: Update format_phone() function for PHP 8.1 2023-06-01 23:22:39 +00:00
fusionate 85f378c8f2
Switch [Resources]: Update outbound_route_to_bridge() function for PHP 8.1 2023-06-01 22:54:50 +00:00
fusionate 8ca359a5f1
TCPDF: Update for PHP 8.1 2023-06-01 22:53:58 +00:00
Alex d6b73cf296
more php 8.1 changes (#6734)
* Update ivr_menu_edit.php

* Update ringbacks.php

* Update call_block_edit.php

* Update call_broadcast.php

* Update call_broadcast_edit.php

* Update call_center_queue_edit.php

* Update call_center_queue_edit.php

* Update call_center_agent_status.php

* Update call_center_queue_edit.php

* Update call_center_agent_edit.php

* Update call_center_queues.php

* Update call_flow_edit.php

* Update call_broadcast.php

* Update call_forward.php

* Update call_broadcast_send.php

* Update conference_rooms.php

* Update conference_centers.php

* Update conference_control_edit.php

* Update conference_control_details.php

* Update conference_profile_edit.php

* Update conference_profile_param_edit.php

* Update conference_profile_edit.php

* Update database_transaction_edit.php

* Update database_transactions.php
2023-06-01 16:39:05 -06:00
Alex 9df57e679d
contacts php 8.1 changes (#6730)
* Update contacts_vcard.php

* Update vcard.php

* Update contact_edit.php

* Update contact_view.php

* Update contact_phone_edit.php

* Update contact_address_edit.php

* Update contact_addresses.php

* Update contact_addresses_view.php

* Update contact_attachment.php

* Update contact_attachment_edit.php

* Update contact_attachments.php

* Update contact_attachments_view.php

* Update contact_email_edit.php

* Update contact_emails.php

* Update contact_emails_view.php

* Update contact_extensions.php

* Update contact_extensions_view.php

* Update contact_import.php

* Update contact_import_google.php

* Update contact_json.php

* Update contact_note_edit.php

* Update contact_notes.php

* Update contact_notes_view.php

* Update contact_phones.php

* Update contact_phones_view.php

* Update contact_relation_edit.php

* Update contact_emails_view.php

* Update contact_addresses_view.php

* Update contact_relations.php

* Update contact_relations_view.php

* Update contact_setting_edit.php

* Update contact_settings.php

* Update contact_time_edit.php

* Update contact_timer.php

* Update contact_timer_inc.php

* Update contact_times.php

* Update contact_url_edit.php

* Update contact_urls.php

* Update contact_urls_view.php

* Update contact_import.php

* Update contact_import.php

* Update contact_email_edit.php

* Update contact_url_edit.php

* Update contact_relation_edit.php

* Update contact_note_edit.php

* Update contact_setting_edit.php

* Update contact_attachment_edit.php

* Update contact_edit.php

* Update contact_phones_view.php

* Update contact_note_edit.php

* Update contact_attachment_edit.php

* Update contact_phones_view.php

* Update contact_edit.php

* Update contacts.php

* Update contact_edit.php

* Update contact_edit.php

* Update contact_edit.php

* Update contact_edit.php

* Update contact_edit.php

* Update contact_phone_edit.php

* Update contact_addresses.php

* Update contact_addresses_view.php

* Update contact_attachment_edit.php

* Update contact_attachments.php

* Update contact_attachments_view.php

* Update contact_edit.php

* Update contact_email_edit.php

* Update contact_emails.php

* Update contact_emails_view.php

* Update contact_extensions.php

* Update contact_extensions_view.php

* Update contact_import.php

* Update contact_import_google.php

* Update contact_json.php

* Update contact_note_edit.php

* Update contact_notes.php

* Update contact_notes_view.php

* Update contact_phone_edit.php

* Update contact_phones.php

* Update contact_phones_view.php

* Update contact_relations.php

* Update contact_relations_view.php

* Update contact_setting_edit.php

* Update contact_settings.php

* Update contact_time_edit.php

* Update contact_timer.php

* Update contact_timer_inc.php

* Update contact_times.php

* Update contact_url_edit.php

* Update contact_urls.php

* Update contact_urls_view.php

* Update contact_view.php

* Update contacts.php

* Update contacts_vcard.php
2023-06-01 11:50:12 -06:00
Anthony f0598117ab
Fixed Errors for Streams & Ring Groups (#6728)
* Fixed Errors streams.php

* Update streams.php

* Update stream_edit.php

* Update ring_groups.php

* Update tones.php

* Update ringbacks.php

* Update ring_group_edit.php
2023-05-31 11:00:55 -06:00
fusionate eb45bc2de0
Switch - outbound_route_to_bridge(): Updates for PHP 8.1 2023-05-29 22:44:03 +00:00
fusionate f444f651e5
TCPDF: Updates for PHP 8.1 2023-05-29 22:23:40 +00:00
fusionate b1cf7d7e1d
Functions - format_hours(): Adjust minute formatting. 2023-05-29 19:12:11 +00:00
markjcrane c679165016 Menu: PHP 8.1 updates 2023-05-27 12:00:02 -06:00
fusionate 0ca497643c
Email [Class]: Updates for PHP 8.1 2023-05-27 03:36:58 +00:00
FusionPBX 7979ff145b
Use $this->message
Reason for using this message rather than local message variable is that it get changed and the information we want is preserved in the class variable.
2023-05-26 09:55:18 -06:00
markjcrane 55e506ff99 Update save_setting_xml 2023-05-26 09:03:26 -06:00
markjcrane d964f354db Fix PHP 8.1 warnings 2023-05-25 10:15:56 -06:00
fusionate 6119f7de7d
Database [Class]: Update for PHP 8.1 2023-05-25 15:40:20 +00:00
markjcrane 251feddff8 Return this->message variable as array. 2023-05-24 23:00:08 -06:00
fusionate 2cf6e79c2e
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2023-05-23 18:38:57 +00:00
markjcrane 2608f1ffad Return immediately if switch conf dir is empty 2023-05-23 08:22:23 -06:00
markjcrane dbb3e90ace Add smarty modifer in_array 2023-05-22 21:50:15 -06:00
markjcrane 3311363c27 Rename public_mode to grandstream_public_mode. 2023-05-22 21:08:18 -06:00
fusionate dfdcba5a0c
Database [Class]: Update for PHP 8.1 2023-05-23 02:42:19 +00:00
fusionate 18f9c7a26f
Functions: Update for PHP 8.1 2023-05-22 23:06:07 +00:00
markjcrane 7ee2b7c4b3 Add parentheses to empty string detection 2023-05-22 16:26:01 -06:00
markjcrane a419fa985b Use isset when empty as it could be numeric. 2023-05-22 16:16:58 -06:00
markjcrane c045bb4705 Add a new fax user group 2023-05-22 10:45:01 -06:00
FusionPBX 54ce2b15c8
field name is singular domain_name 2023-05-21 17:13:11 -06:00
FusionPBX 044932163c
After removing natsort add order by domain name 2023-05-21 17:10:43 -06:00
FusionPBX efc332aba7
[Bug FIX] Default Setings fix syntax to get the correct values switch settings. 2023-05-21 15:47:59 -06:00
fusionate 67e77560a6
Database [Class]: Updates for PHP 8.1 2023-05-21 01:13:45 +00:00
fusionate 878e83fc80
Database [Class]: Updates for PHP 8.1 2023-05-20 23:57:07 +00:00
FusionPBX 6fc9312331
Deprecated natsort
One customer 3 domains were missing and after removing this the all domains showed up in the list. Also no longer needed as the front end for the domain list.
2023-05-19 19:07:56 -06:00
Finn 75fff1c33a
add template variables to override DTMF method on certain grandstream devices (#6709) 2023-05-19 17:32:20 -06:00
FusionPBX 25fdc12f18
Strict identical condition required
Otherwise this condition matches a numeric value of 0.
2023-05-19 15:29:38 -06:00
Alex c6bf3f50f4
Fix translations (#6704)
* Update app_languages.php
2023-05-19 13:54:10 -06:00
FusionPBX 778b5832be
database save method returns result details 2023-05-18 16:29:03 -06:00
markjcrane 0dec70827d Change approach for handling the user_uuid 2023-05-18 00:49:20 -06:00
fusionate 1618c84e07
Database [Class]: Fix typo. 2023-05-17 20:36:48 +00:00
fusionate c42fd0abdc
Menu [Class]: Updates for PHP 8.1 2023-05-17 20:36:14 +00:00
markjcrane 3fc342ad3e prevent an error using trim on a value that could a string or an array 2023-05-17 13:38:17 -06:00
markjcrane 6d7e125743 Fix all PHP 8.1 messages for upgrade.php 2023-05-17 10:07:49 -06:00
fusionate 3487b8ae53
persistformvar [Function]: Updates for PHP 8.1 2023-05-17 07:02:02 +00:00
fusionate d853209c3f
Token [Class]: Update for PHP 8.1 2023-05-17 07:00:45 +00:00
markjcrane 2afda399e6 IVR Menu code changes for PHP 8.1 2023-05-16 22:55:19 -06:00
fusionate c827f6bf21
Message [Class] - Fix bug with messages set by static add method. 2023-05-16 21:00:43 +00:00
fusionate fac4b6bcd0
Token [Class] - Updates for PHP 8.1 2023-05-16 18:54:45 +00:00
fusionate bc34789bdc
Permission [Class] - Updates for PHP 8.1 2023-05-16 18:54:27 +00:00
fusionate f7951324ea
Domains [Class] - Updates for PHP 8.1 2023-05-16 18:42:32 +00:00
fusionate 7d37d7a521
Require - Updates for PHP 8.1 2023-05-16 18:39:41 +00:00
fusionate 8482b6eb46
Footer - Updates for PHP 8.1 2023-05-16 18:39:29 +00:00
markjcrane 3cf0334686 Check if the sounds directory exists 2023-05-16 00:36:27 -06:00
markjcrane 74b3ce154c Update file.php minor code improvements 2023-05-15 23:17:37 -06:00
markjcrane 78bb6ec80c Fix PHP 8.1 ringback errors 2023-05-15 22:53:00 -06:00
FusionPBX 64c159931c
Update database.php strlen replace with isset
Used isset instead of empty because empty treats a numeric value of 0 as empty.
2023-05-13 22:13:40 -06:00
FusionPBX 67e2d731b5
Update persist_form_var.php 2023-05-13 20:39:46 -06:00
FusionPBX 5755ae3f48
Update schema.php for PHP 8.1 2023-05-13 17:31:27 -06:00
FusionPBX ab2bd0ef5e
Update footer.php use the empty function 2023-05-13 17:20:17 -06:00
FusionPBX 7a8b2b7d79
Update database.php prevent more php 8.1 warnings. 2023-05-13 12:35:17 -06:00
fusionate adfdb7bae5
Functions: Updates for PHP 8.1 2023-05-13 04:53:18 +00:00
fusionate 196125952b
Message [Class]: Updates for PHP 8.1 2023-05-13 04:52:43 +00:00
FusionPBX ff2c52eda8
Update domains.php 2023-05-12 20:32:44 -06:00
FusionPBX 44a46d491b
Use !empty in the if statement 2023-05-12 20:24:39 -06:00
FusionPBX 5c34c991cf
Update pdo.php 2023-05-12 18:34:54 -06:00
FusionPBX a2bb8e5f90
Limit subquery to one result
This prevent a cardinality error.
2023-05-12 16:22:50 -06:00
FusionPBX 4f60390b34
Check if the tables_exists 2023-05-11 22:33:08 -06:00
fusionate 733b206664
Functions: Updates for PHP 8.1 2023-05-12 00:45:09 +00:00
FusionPBX 442147391c
Change the and to an or and add an isset 2023-05-10 22:11:01 -06:00
FusionPBX b86cd20e8e
Use isset instead of is_uuid 2023-05-10 22:01:12 -06:00
frytimo 872e676f59
Fix missing php tags (#6687)
* fix missing php tags

* fix missing php tags
2023-05-10 18:19:57 -06:00
fusionate e7b72de33c
Modal [Class]: Updates for PHP 8.1 2023-05-10 22:59:12 +00:00
fusionate 6d4463a5b7
Auto Loader [Class]: Updates for PHP 8.1 2023-05-10 22:39:48 +00:00
fusionate 4de76b44f2
Auto Loader [Class]: Updates for PHP 8.1 2023-05-10 22:37:47 +00:00
fusionate 8021a71647
Menu [Class]: Updates for PHP 8.1 2023-05-10 22:17:19 +00:00
fusionate 43961ec6f2
Message [Class]: Update for PHP 8.1 2023-05-10 22:02:13 +00:00
fusionate bac9c83f33
Modal [Class]: Update for PHP 8.1 2023-05-10 21:58:51 +00:00
fusionate 46ff8cb278
Message [Class]: Update for PHP 8.1 2023-05-10 21:58:37 +00:00
FusionPBX 2d3f623174
Update for PHP 8.1 2023-05-09 18:50:06 -06:00
FusionPBX c57fa0fc39
Update for PHP 8.1 2023-05-09 18:39:24 -06:00
FusionPBX 32672b7472
Update for PHP 8.1 2023-05-09 17:11:55 -06:00
FusionPBX 821720db1d
Update for PHP 8.1 2023-05-09 17:06:19 -06:00
fusionate 5f2a3fde90
Button [Class]: Update for PHP 8.1 2023-05-09 22:52:04 +00:00
FusionPBX b732c0afe9
[Bug] value of 0 treated as empty
When empty is used its treating 0 as an empty value and then the value is set to null.  Will work on the changes further to prevent this problem.
2023-05-09 11:14:41 -06:00
FusionPBX bc0c2ea588
$db variable needed by schema class 2023-05-09 08:39:42 -06:00
FusionPBX 89af27e94e
Update button.php 2023-05-08 23:03:00 -06:00
FusionPBX 9e4e8558e5
Remove debug 2023-05-08 22:30:39 -06:00
FusionPBX fd0615587e
Update require.php 2023-05-08 19:02:58 -06:00
FusionPBX 0413b998e8
Ensure PROJECT_ROOT is defined 2023-05-08 18:50:32 -06:00
FusionPBX edb12399ce
Add not empty debug 2023-05-08 17:21:52 -06:00
FusionPBX 26e3a0881d
Error reporting for user hide deprecated 2023-05-08 15:07:59 -06:00
markjcrane 423606631b Update version of smarty to 4.3.1 2023-05-08 09:50:42 -06:00
fusionate 8ddbe07d3d
PDO: Fix PHP 8.x issue on explode function. 2023-05-08 13:21:10 +00:00
Anthony e37b930b07
Update app_languages.php (#6666) 2023-05-05 15:21:50 -06:00
FusionPBX 0038395009
If numeric then don't need to escape
Numeric should be safe as a pass thru.
2023-05-05 13:23:44 -06:00
FusionPBX b40005c11e
Account for numbers 2023-05-05 13:18:15 -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 f29a78a6af
Functions: Adjust escape function to handle non-strings (XML objects). 2023-05-05 17:00:39 +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 ebbb2f1a72
Add additional languages 2023-05-03 22:50:18 -06:00
frytimo 37646c0893
Frytimo pr remove unused variables and fix clobbering (#6656)
* config->exists returns true or false but no action taken and variable
is unused

* remove unused variable db_type

* remove unused variable db_name

* remove unused variable db_username

* remove unused variable db_password

* remove unused variable db_secure

* remove unused variable db_cert_authority

* remove unused variable db_host

* remove unused variable db_path

* remove unused variable db_port

* remove unused variable db. The upgrade method never uses the db variable
and instead uses a new database connection each time.

* remove uninitialized parameters variable

* domain_count never used

* variable context is never used in the method or any app_defaults

* variable $row is clobbered by inner foreach loop

* variable domain_name is never used in method scope

* variable domain_array seems to be uninitialized in this scope so set an
empty string value so function lower_case is not receiving null.
2023-05-03 14:41:39 -06:00
FusionPBX 0bb2443dc0
Add Asia/Tel_Aviv and Asia/Jerusalem to IDT-3 2023-04-30 15:41:59 -06:00
FusionPBX 4c0f1ce46f
Update Asia/Jerusalem from IDDT to IDT 2023-04-30 15:15:39 -06:00
Krushali Shah 1f302c903f
enable/disable codec settings for all accounts (#6628)
The template for codec enable settings was taking a value as 1 if it was set in the settings. It was not taking the actual value inside it. So I have edited the templates to check the value if it's set to true.
2023-04-29 20:32:04 -06:00
Anthony 610edaae60
Update app_languages.php (#6640) 2023-04-29 18:26:50 -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
Finn ae7c57eb45
Add support for XMLApp to grp2615 provisioning template (#6623)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-04-26 20:44:09 -06:00
FusionPBX 019ca725d8
Remove the seed for srand it is done automatically 2023-04-26 13:40:05 -06:00
FusionPBX b4ccdd244b
[bug] error reporting options user, dev, all (#6616)
An enhancement that adds simple options to show what errors to show in the web interface. This also fixes a bug that causes an error in PHP8.
2023-04-26 11:19:45 -06:00
FusionPBX 9800311adb
Add a more flexible footer value 2023-04-25 01:25:59 -06:00
Mendel 2edfb9a0c2
Update Yealink variables w70b (#6615)
* Update {$mac}.cfg
2023-04-24 21:04:37 -06:00
FusionPBX 1b025e0aa2
Update class name FixedBitNotation to base2n 2023-04-23 02:31:44 -06:00
FusionPBX 3c2c1f01f2
Add setup, disable and hide 2023-04-23 01:43:15 -06:00
FusionPBX 1058c1bc87
Add google_authenticator PHP class
This class is licensed under Apache version 2.0
2023-04-23 01:11:52 -06:00
FusionPBX 869a1e1350
Create base2n.php
Add an MIT binary to text PHP class
2023-04-23 01:05:46 -06:00
fusionate 18225f82f2
Email Class: Fix typo that effects embedded base64 image attachments. 2023-04-20 01:33:22 +00:00
Norman King 30db2c5a6b
remove incorrect whitespace for line_3_hanging_group_mode var (#6612) 2023-04-18 15:40:35 -06:00
Antonio Fernandez 6a556e55ad
Fixing Yealink T46s codecs in template (#6611) 2023-04-17 11:13:07 -06:00
markjcrane 00801b5b04 Add mutli-factor authentication. 2023-04-16 01:10:39 -06:00
fusionate 19e58af546
Email Queue Attachments - Add CID and Mime Type fields. 2023-04-12 20:06:41 +00:00
FusionPBX 00364f318c
Create MN_Generic.cfg 2023-04-11 09:39:20 -06:00
FusionPBX 064bf7204a
Update MN_{$mac}.cfg 2023-04-11 09:38:16 -06:00
FusionPBX 67f3bc6808
Add Mitel 5330e 2023-04-11 09:38:04 -06:00
FusionPBX 81f3bdffc9
snom_dialtone_on_hold default to false 2023-04-11 09:34:46 -06:00
FusionPBX 5eca8b1ade
snom_dialtone_on_hold default to false 2023-04-11 09:33:23 -06:00
FusionPBX b6012976fb
Allow an empty ringback value 2023-04-07 12:36:20 -06:00
fusionate 36a4768917
MOH: Move None option to Others option group. 2023-04-05 00:39:00 +00:00
FusionPBX 408122c60c
Add subtype to vendor functions and device keys. (#6409)
* Add subtype to vendor functions and device keys.

Added to support phones that require a subtype for provisioning the phone.

* Add device_key_subtype

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update device_vendor_function_edit.php

* Update device_vendor_functions.php

* Update device_vendor_restore.php

* Update index.php

* Update provision.php

* Update app_languages.php

* Update app_config.php
2023-04-04 08:57:41 -06:00
Antonio Fernandez de08aa6a1d
Added support for secondary outbound proxy on Snom D series phones. (#6603) 2023-04-03 20:58:36 -06:00
David Jacob f0c1ebd3a1
Provisioning template changes (#6588)
* Provisioning template changes

Grandstream
GAC2500 - Added account sip port to grandstream template after account server name
GRP2612 - Added Variable for grandstream dial timeout
GRP2612 - Added Variable for grandstream lock volume
GRP2612w - Added Variable for grandstream dial timeout
GRP2612w - Added Variable for grandstream lock volume
GRP2613 - Added Variable for grandstream lock volume
GRP2614 - Added Variable for grandstream dial timeout
GRP2614 - Added Variable for grandstream lock volume
GRP2614 - Added Variable for granstream call popup enabled
GRP2615 - Added Variable for grandstream dial timeout
GRP2615 - Added Variable for grandstream lock volume
GRP2616 - Added Variable for grandstream lock volume
GRP26xx - Added Variable for grandstream lock volume
GXP2160 - Changed template to default enable options keepalive
GXP2160 - Added option for multicast listen address with "if isset" for variable on P1569
GXP2160 - Added Variable for grandstream lock volume
GXP2160 - added variable grandstream_weather_enable to enable/disable weather function in phones
GXP2170 - Added Variable for grandstream dial timeout
GXP2170 - Added Variable for grandstream lock volume
GXP2170 - Added Variable for grandstream stun server
GXP2170 - Added Variable for granstream call popup enabled
GXP2170 - Added option for multicast listen address with "if isset" for variable on P1569
GXP2170 - added variable grandstream_weather_enable to enable/disable weather function in phones
GXP3240 - Added account sip port to grandstream template after account server name

HTek
UC903 - Added account sip port to htek template after account server name
UC903 - Added variable to specify account 1 ringtone
UC903 - Added ** as pickup code - Not defined
UC903 - Added variable for screen timeout
UC903 - Enabled call waiting tone P8850 - its off by default for some reason
UC903 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC903 - Added variable to change the pc port mode if expansion module needed P231
UC903 - Fixed expansion module key types - not defined
UC923 - Added variable to specify account 1 ringtone
UC923 - Added variable to change the pc port mode if expansion module needed P231
UC923 - Added ** as pickup code - Not defined
UC923 - Added variable for screen timeout
UC923 - Enabled call waiting tone P8850 - its off by default for some reason
UC923 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC923 - Fixed expansion module key types - not defined
UC924 - Added variable to specify account 1 ringtone
UC924 - Added variable to change the pc port mode if expansion module needed P231
UC924 - Added ** as pickup code - Not defined
UC924 - Added variable for screen timeout
UC924 - Enabled call waiting tone P8850 - its off by default for some reason
UC924 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC924 - Fixed expansion module key types - not defined
UC926 - Added variable to specify account 1 ringtone
UC926 - Added variable to change the pc port mode if expansion module needed P231
UC926 - Added ** as pickup code - Not defined
UC926 - Added variable for screen timeout
UC926 - Enabled call waiting tone P8850 - its off by default for some reason
UC926 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC926 - Fixed expansion module key types - not defined

Snom
D735 - Added code given to use by snom to light the BLF green when avail and red when in use

Fanvil

X210 - Added default setting for fanvil blf pickup code
X210 - Added if exist in template for fanvil x210 the pickup code var

* grandstream_stun_server variable already exists

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-04-02 22:12:13 -06:00
FusionPBX ab67243911
Add the registration_expires variable 2023-03-30 14:58:09 -06:00
FusionPBX fce7b43c2e
Add the registration_expires variable 2023-03-30 14:56:54 -06:00
Ben 737adf44f3
Add registration expiry with register_expires (#6596) 2023-03-30 14:09:00 -06:00
Ben 3a1f3d1feb
Add registration expiry with register_expires - corrections (#6597) 2023-03-30 14:08:33 -06:00
Ben b4670b1203
Add registration expiry with register_expires (#6598) 2023-03-30 13:50:07 -06:00
Ben bb4e854198
Add registration expiry with register_expires (#6599) 2023-03-30 13:49:49 -06:00
Ben d1d42eb1d3
Update {$mac}.xml (#6600) 2023-03-30 13:49:25 -06:00
FusionPBX 3091370f14
Fix the ntp_server setting 2023-03-30 10:56:43 -06:00
agree ca36d10121
[security] prevent xml injection and executing switch api cmds (#6594) 2023-03-29 23:24:04 -06:00
FusionPBX ac129143a7
Add registration expiry with register_expires 2023-03-29 16:59:59 -06:00
Finn c1de249792
A few improvements to some grandstream configs + new devices (#6584)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-03-24 20:06:15 -06:00
Antonio Fernandez 5c77562535
New Snom phone support plus fix for older snom model (#6587)
* Added support for privacy_out config parameter

* Added support for Snom M Series KLE Phones/Base

* minor fix to app_config.php
2023-03-24 20:04:54 -06:00
frytimo 5e23824940
contacts app_defaults breaks PDO db (#6585) 2023-03-24 09:18:23 -06:00
FusionPBX 051cb01fdc
Use the subcategory when refreshing the session
Beset to be specific when using unset to clear values in the session
2023-03-23 21:40:50 -06:00
levishores 181998cb37
Yealink blf active variable (#6567)
* Updated blf_active_backlight with variable

* Fixed variable name

---------

Co-authored-by: Levi Shores <levi@dtpartners.com>
2023-02-28 10:24:07 -08:00
zrd740 bc7b6d9529
Added 2 new variables for T54W provisioning (#6560)
Added 2 new variables for changing the idle clock {$yealink_idle_clock} and transparency of the dsskeys {$yealink_idle_dsskey_title_transparency}
2023-02-23 20:28:58 -07:00
frytimo 8e86fe6243
Remove '&' on new (#6559)
Remove '&' on static function new.
2023-02-21 09:39:15 -07:00
fusionate fc7a8106fb
Dashboard - Domain Limits: Rework style to match other widgets. 2023-02-20 22:21:54 +00: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