34 Commits

Author SHA1 Message Date
FusionPBX
76e2e7d3b7 Remove database app_name and app_uuid (#7562)
- Remove database app_name, app_uuid
  - This is handled automatically by the database class
- Remove redundant database::new()
2025-10-09 17:54:05 -06:00
FusionPBX
a4d632b3df Default sip_profile_enabled to true 2025-10-08 13:59:59 -06:00
frytimo
4aa8fe8a47 Fix missing profiles on a new install (#7551) 2025-10-08 12:08:14 -06:00
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
FusionPBX
cd8d5302ac Fix temporary permissions 2024-11-29 13:57:01 -07:00
frytimo
2cbb4dbc31 remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -06:00
FusionPBX
cd1cc70044 Remove redundant database objects
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06:00
FusionPBX
c6d966395e Use settings class for app_defaults.php 2023-09-16 00:22:12 -06:00
markjcrane
a9bd6cbc9a Update the to point to app/switch/resources/conf 2023-06-26 13:37:08 -06:00
FusionPBX
eed43da50c Update app_defaults.php 2023-06-26 13:20:34 -06:00
FusionPBX
1f5fd680ab Update app_defaults.php 2023-06-26 13:15:44 -06:00
FusionPBX
68c4e29346 Update path to switch conf directory 2023-06-26 13:08:30 -06:00
FusionPBX
67be72b452 Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
FusionPBX
def76d6e40 Update app_defaults.php 2019-08-13 12:21:27 -06:00
Nate
6c73d74a39 SIP Profiles: Database class integration. 2019-08-13 07:32:07 -06:00
FusionPBX
50701ff89e Update app_defaults.php
Update systems that don't have the sip profile domain all alias settings.
2017-01-28 13:09:57 -07:00
FusionPBX
2fc4d35533 Update app_defaults.php
Add the sip profile domain settings on new installs.
2017-01-28 11:06:37 -07:00
FusionPBX
6718c13ced Update app_defaults.php
The sip profiles are being read from the templates/conf directory so copying the files is not needed.
2016-05-23 21:37:21 -06:00
Matthew Vale
116298f721 Added External IPv6 support
created the external IPv6 profile
2015-11-19 13:57:23 +00:00
markjcrane
639b28381d Fix the sip profile loading during the install or when using app -> defaults. 2015-07-16 12:34:01 -07:00
Mark Crane
c99e249f71 Add beginTransaction and commit to speed up the install and upgrade. 2015-06-25 21:00:15 +00:00
Mark Crane
614f7f3165 Add support for the new sip profiles enabled field. 2015-05-02 05:08:41 +00:00
Nate Jones
3d654ad634 SIP Profiles: Added Enabled select box to manage the profile state. 2015-05-02 04:53:45 +00:00
Mark Crane
1a47c2eb44 Write the xml file for sip profiles and reloadxml when the sip profiles are missing add new defaults. 2015-02-17 19:18:43 +00:00
Mark Crane
0cd88bed83 When sip profiles are loaded use the new enabled attribute. 2015-01-22 09:41:45 +00:00
Mark Crane
2d70541b87 Fix the sip profile path when the fusionpbx directory is inside the website root directory. 2014-12-31 23:34:17 +00:00
Mark Crane
3a63426a3b This should fix SIP profiles being loaded by the install or when using advanced -> upgrade when using the package install. 2014-10-31 04:11:06 +00:00
Mark Crane
f55e277026 Fix a problem loading sip profiles when /etc/fusionpbx directory exists for a non package install. 2014-10-29 07:13:42 +00:00
Richard Neese
49840b33da fixing /usr/share/fusionpbx to be /usr/share/examples/fusionpbx 2014-10-23 18:03:33 +00:00
Mark Crane
0abfbb0954 Fix the SIP profiles for the package install 2014-08-12 19:18:36 +00:00
Mark Crane
a6fdcec63e Change the path where the sip profiles defaults settings are picked up 2014-07-29 22:13:22 +00:00
Mark Crane
5e0d82c06d Unset the prepared statements used in the app_defaults.php files. 2014-07-23 22:00:03 +00:00
Mark Crane
17af99d5e5 Efficiency enhancement for upgrade and upgrade_schema by running global tasks one time rather than for each domain. 2012-08-14 21:59:45 +00:00
Mark Crane
af103e9c41 Add a missing file sip_profile_copy.php to the dev branch. 2012-06-04 14:58:40 +00:00