47 Commits

Author SHA1 Message Date
FusionPBX
7f9064fadb Update boolean toggle and the database boolean type (#7522)
* Change the data type to boolean

* Use boolean values in SQL and Conditional Statements

* Schema Data Types: Drop views so that alter tables statements complete

* Update settings.php

* Add extension for call_screen_enabled

* Gateway handle boolean
Add the boolean toggle
- distinct_to
- caller_id_in_from
- supress_cng
- extension_in_contact
- contact_in_ping

* Update gateways.php

* Update voicemail_edit.php

* Replace the ${caller_id_name} with the extensions caller id name

* Phrase - Edit: Update slide toggle with new select beneath.

* Update the input toggle style

* Set the input_toggle_style_switch as boolean

* Update the input toggle style

* Theme: Adjust CSS to wrap description text on form fields.

* Add domain_uuid and domain_name to the SQL SELECT

* Unset the parameters to fix the next query

* Gateway: Integrate new slide toggle switch.

* Dashboard: Update the input toggle style (#7499)

* Dashboard: Update the input toggle style

* Update dashboard_widget_edit.php

* Update dashboard_edit.php

* Inbound Route - Add: Integrate new slide toggle switch and boolean.

* User Settings: Integrate new slide toggle switch.

* Call Block Edit: Update the input toggle style (#7500)

* Bridge Edit: Update the input toggle style (#7501)

* Update phrases.php

* Update domain_edit.php

* Domain Settings Edit: Update the input toggle style

* User Edit: Update the input toggle style

* Update install.php

* Remove fields marked as deprecated

* Use boolean in the select statement

* Streams: New slide toggle and boolean.

* Streams: Remove unnecessary default.

* Queues (FIFO): New slide toggle.

* Call Detail Records: Update the input toggle style (#7503)

* Call Detail Records: Update the input toggle style

* Update xml_cdr_extension_summary.php

* Update xml_cdr_extension_summary.php

* Update xml_cdr_extension_summary.php

* Call Centers: Update the input toggle style (#7502)

* Call Centers: Update the input toggle style

* Update call_center_agent_edit.php

* Conference Centers: Update the input toggle style (#7506)

* Conference Centers: Update the input toggle style

* Update app_config.php

* Update conference_center_edit.php

* Use boolean data type (#7505)

* Call Flow Edit: Update the input toggle style (#7504)

* Devices: Update the input toggle style

* IVR Menus: New slide toggle.

* IVR Menu: Remove deprected file.

* SIP Profile - Edit: New slide toggle.

* Device Profiles: Update the input toggle style

* Ring Groups - List: Fix syntax.

* Theme: Fire onchange event when switching slide toggle control.

* Device Vendors: Update the input toggle style

* Update enabled boolean

* Update device_edit.php

* Ring Groups: New slide toggle.

* Update domain_edit.php

* Email Templates: Update the input toggle style

* Header: Correct default value on input toggle style.

* Default/Domain/User Settings: Adjust Select option label for better clarity.

* Use true boolean types for switch theme toggle or drop-down box (#7507)

* Groups: Update the input toggle style

* Conference Controls: Update the input toggle style (#7509)

* Conference Controls: Update the input toggle style

* Update conference_control_edit.php

* Update conference_control_details.php

* Update conference_control_detail_edit.php

* Conferences: Update the input toggle style (#7511)

* Use true boolean types for switch theme toggle or drop-down box (#7513)

* Dialplans: Update the input toggle style
Also updated outbound route add

* Ring Group: Only adjust ring group forward destination top margin when slide toggle enabled.

* Default/Domain/User Settings - List: Adjust for new 'Select Box' label on input_toggle_style value.

* Use true boolean types for switch theme toggle or drop-down box (#7514)

* Call Forward / Follow Me: Minor javascript adjustments to mirror previous behavior.

* Ring Groups [Dashboard]: New slide toggle.

* Get the contacts details with a seperate SQL Query

* Remove debug info

* Destinations: Update the input toggle style

* Conference Profiles: Update the input toggle style (#7515)

* Conference Profiles: Update the input toggle style

* Update conference_profiles.php

* Update conference_profile_params.php

* Update conference_profile_param_edit.php

* Update conference_profile_edit.php

* Extensions: Update the input toggle style

* Contacts: Update the input toggle style (#7517)

* Contacts: Update the input toggle style

* Update contact_address_edit.php

* Update contact_attachment_edit.php

* Update contact_edit.php

* Update contact_email_edit.php

* Update contact_phone_edit.php

* Update contact_relation_edit.php

* Update contact_setting_edit.php

* Update contact_url_edit.php

* Update contacts.php

* Voicemails: New slide toggle.

* Voicemail Greeting: New slide toggle.

* Modules: New slide toggle.

* Recordings: New slide toggle

* Variables: New slide toggle.

* Time Conditions: New slide toggle.

* Extensions - List: Remove invalid column name.

* Extension Settings: New slide toggle.

* Number Translations: New slide toggle and boolean.

* Sofia global settings: Update the input toggle style

* Update alter table convert to boolean

* Fix contact relation search (#7518)

* Sip Profile Edit: Fix setting enabled labels (#7519)

* Sip Profile Edit: Fix setting enabled labels

* Update sip_profile_edit.php

* Update dialplan_edit.php (#7520)

* Update SQL queries to use true/false for contact primary settings (#7521)

* Update SQL queries to use true/false for contact primary settings

* Update contacts_vcard.php

* Update email.php

* Update totp.php

* Update contact_url_edit.php

* Update contact_email_edit.php

* Update contact_address_edit.php

* Update contact_attachment_edit.php

* Update contact_phone_edit.php

* Add a database views method

* Add database view groups

* Add database users view

* Add database call_recordings view

* Update users.php

* Add  database view call block

* Update schema to use the database views method

* Update conference.conf.lua boolean

* Update directory.lua boolean

* Update callcenter.conf.lua agent_status boolean

* Update sofia.conf.lua boolean

* Update number translations lua boolean

* Update directory.lua boolean

* Update group_call.lua fix the cache

* Update reverse-auth-lookup.lua boolean

* Update directory.lua boolean

* Use concat instead of ||

* Update index.lua

---------

Co-authored-by: fusionate <nate@fusionpbx.com>
Co-authored-by: Alex <alex@fusionpbx.com>
Co-authored-by: frytimo <tim@fusionpbx.com>
2025-09-20 18:42:05 -06:00
Alex
1e96df6e95 Change $setting to $settings (#7318)
* Change $setting to $settings

* Update app_defaults.php

* Update fax_queue.php

* Update xml_cdr.php

* Update email_queue.php

* Update transcribe.php

* Update send.php

* Update fax_queue.php

* Update fax_send.php

* Update app_defaults.php

* Update email_queue.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php
2025-03-14 16:19:49 -06:00
FusionPBX
64a95a972e More efficient use of the database object 2024-09-23 19:19:19 -06:00
FusionPBX
c6d966395e Use settings class for app_defaults.php 2023-09-16 00:22:12 -06:00
fusionate
5ef1c225f6 Voicemail - Edit: Add controls to manage Recording Instructions and Options, Only show Alternate Greeting ID if using Default greeting. 2023-06-28 02:11:01 +00:00
FusionPBX
8f59093604 Update app_defaults.php 2023-06-05 17:14:56 -06:00
FusionPBX
658281f46d Update app_defaults.php 2023-06-05 12:45:47 -06:00
FusionPBX
791be82f27 Fix PHP 8.1 errors 2023-06-05 12:39:00 -06:00
markjcrane
48dfa916a1 Delete the switch provision default setting. 2022-01-30 13:36:29 -07:00
markjcrane
36890fa104 Use the correct field name 2022-01-30 13:28:14 -07:00
markjcrane
8372fa61f8 change the switch phrases to switch languages 2022-01-30 13:08:49 -07:00
FusionPBX
76df5a03dc Make the mkdir recursive 2021-12-02 15:49:04 -07:00
FusionPBX
bbe6815f4b Add missing greater than symbol missed when copying from test system. 2021-11-23 12:02:37 -07:00
FusionPBX
fdfe57051a Make sure the voicemail directory exists. 2021-11-23 09:38:31 -07:00
Nate
349f81ddd0 Voicemail: Clear some vars. 2020-10-12 09:56:49 -06:00
Nate
a16fdcc437 Voicemail: Additional step to correct potential phrase/language issues. 2020-10-12 09:54:50 -06:00
Nate
f93e0a8271 Voicemail: Additional steps to correct potential phrase/language issues. 2020-10-02 10:07:58 -06:00
Nate
462da0a3e2 Voicemail: Better check on Default Setting switch > phrases > dir value. 2020-09-25 18:00:50 -06:00
Nate
032d369db1 Voicemail: Correct path. 2020-09-25 17:08:02 -06:00
Nate
46adde4a22 Voicemail: Use phrases instead of direct sounds. 2020-09-25 16:58:44 -06:00
FusionPBX
ca07ea3284 Delete app_defaults.php 2018-04-03 00:34:07 -06:00
FusionPBX
4eda795d32 Update app_defaults.php 2018-03-24 22:47:36 -06:00
FusionPBX
33c41757b2 Update app_defaults.php 2018-03-24 16:24:55 -06:00
FusionPBX
9b05f798c7 Update app_defaults.php 2018-03-24 15:32:55 -06:00
FusionPBX
65bf3fb119 Update app_defaults.php 2018-03-24 15:13:19 -06:00
FusionPBX
7b978476e9 Update app_defaults.php 2018-03-24 12:28:54 -06:00
FusionPBX
13c5884130 Update app_defaults.php 2018-02-08 09:47:59 -07:00
FusionPBX
c1a23850fe Update app_defaults.php 2018-02-06 18:09:52 -07:00
FusionPBX
46b2d6e21f Update app_defaults.php 2017-12-17 12:58:47 -07:00
FusionPBX
7feaa4cba9 Update app_defaults.php 2017-12-17 02:06:00 -07:00
FusionPBX
39bd99b905 Create app_defaults.php 2017-12-17 01:58:08 -07:00
markjcrane
640d463fb7 Remove voicemails/app_defaults.php directory structure be created on demand. Move this code to scripts voicemail_directories.php 2016-07-01 12:09:44 -06:00
markjcrane
bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
markjcrane
988ca1154b Move the voicemail default settings to main default_settings/app_defaults.php for better efficiency. 2016-06-26 12:32:51 -06:00
markjcrane
d5da895a2e Make the voicemail app_defaults more efficient and prevent duplicates. 2016-06-26 12:00:06 -06:00
Mafoo
628c825201 Enhance-make voicemail length configurable (#1702)
allow the voicemail max_lengths to be configured from domain/default
settings
2016-06-24 10:28:47 -06:00
Mafoo
71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo
86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
markjcrane
46dafa9660 Check to make sure directory does not exist before using mkdir. 2016-04-28 21:22:48 -06:00
Harry G. Coin
bda6861f88 \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
mafoo
3b438926b6 WhitespaceClean-app/batch_1
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00:00
markjcrane
2bb479c487 Fix the permissions onv the voicemail directory creation. 2015-12-14 13:11:47 -07:00
markjcrane
754ff8c891 Remove the echo in the app_defaults.php. 2015-12-14 12:58:40 -07:00
markjcrane
8e77a932f2 Add driectory structure for voicemail via app defaults. 2015-12-14 12:48:01 -07:00
Matthew Vale
c47908f4e4 corrected references to voicemail_dir
changed from $_SESSION['switch']['storage']['dir'].'/voicemail/' to correctly use $_SESSION['switch']['voicemail']['dir']
added missing storage_type to app_defaults.php
2015-11-02 17:22:13 +00:00
Nate Jones
349185b8a7 Voicemail: Added default settings to control default Voicemail File and Keep Local settings when creating new extensions and/or Voicemail boxes. 2015-03-20 01:09:18 +00:00
Nate Jones
71a861580c Voicemail: Added additional options for email notification (attach vm, download link, auto-play listen link). Also cleaned up email templates a little. 2015-02-24 08:09:01 +00:00