Commit Graph

151 Commits

Author SHA1 Message Date
FusionPBX
f4fd10a85c Add Ring Group exit key 2025-07-18 19:24:49 -06:00
FusionPBX
c3952028b1 Use the settings get method for the buttons 2025-04-14 10:36:21 -06:00
FusionPBX
5b77e3d62b Ring Ready support disabling it in dialplan #6536 2025-03-22 16:06:18 -06:00
FusionPBX
6524cdcd0b Fix greeting when using phrases
After saving a phrase for the greeting it would save but it wouldn't show the correct label. It would continue to play the phrase but show the UUID.
2024-12-23 12:22:44 -07:00
FusionPBX
d9f401f577 Use the settings class 2024-12-16 18:48:44 -07:00
FusionPBX
cd8d5302ac Fix temporary permissions 2024-11-29 13:57:01 -07:00
FusionPBX
33354ff5c7 Update ring_group_edit.php 2024-11-13 16:23:43 -07:00
Antonio Fernandez
3714dc73f4 fix call screen saving (#7174) 2024-10-29 15:52:40 -06:00
frytimo
aa7c618325 Add ability to set a default ringback on ring group (#7150) 2024-10-03 23:28:36 -06:00
FusionPBX
340c6e17f3 Add ring group call screening 2024-09-15 16:47:53 -06:00
Alex
cb6edd88ef Added content card to applications (#7121) 2024-09-05 17:10:04 -06:00
frytimo
7630056bb8 Remove the unset($database) statements (#7084)
* Remove the unset($database) statements
The database object is a global variable that contains a database object reference and should not be unset.

* Update event_guard.php

* Update event_guard.php

* Update event_guard.php

---------

Co-authored-by: Tim Fry <tim@fusionpbx.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2024-08-06 13:19:45 -06:00
FusionPBX
20cf6c8255 Remove default rinback
Ringback is not always us-ring. This is not a good default. It can also override the ringback from the inbound destinations and other places where ringback can be set.
2024-06-11 10:27:37 -06:00
FusionPBX
fb7d4e5cc3 Update new extension_range 2024-05-30 18:45:45 -06:00
chansizzle
4cdddba430 Add suggested extension ranges (#6871) 2024-05-30 17:58:05 -06:00
FusionPBX
4313ee17cd Use autoloader to find the class
ringback class was moved to app/switch/resources/classes
2024-04-02 17:22:40 -06:00
FusionPBX
088abe4f4c Improve Ring group context handling
If the user doesn't have the correct permission then keep the ring_group_context  value from the database
2024-03-30 09:35:24 -06:00
FusionPBX
b1589bac86 Move the ring group destination description 2024-03-02 15:31:03 -07:00
fusionate
e3ea4977a1 Ring Groups: Audio waveform generation integration. 2024-02-09 13:12:14 -07:00
Antonio Fernandez
42cf20a976 added descriptions to RG Destinations (#6885) 2024-02-05 10:57:12 -07:00
FusionPBX
aa3a412523 Use !empty instead of count 2023-11-14 22:00:02 -07:00
K-Flagman
2bbce23ff2 Ring groups extensions range (#6824)
Now you can use hyphen to set range for extensions in destinations list of ring group.
Example Destination: 2010-2030
2023-11-13 18:50:25 -07:00
fusionate
e8d7ac6d03 Ring Group - Edit: Make audio playback code consistent with other apps. 2023-11-07 02:22:33 +00:00
fusionate
dd3c14e0d1 Ring Group - Edit: Adjust permission block scope for playback code. 2023-11-06 19:51:56 +00:00
fusionate
d04343043e Ring Group - Edit: Consistency updates for Greeting selection code. 2023-11-06 19:43:35 +00:00
fusionate
afc7487a40 Ring Group - Edit: Minor adjustments. 2023-11-04 01:05:01 +00:00
fusionate
64ba5e268c Ring Group - Edit: Add playback of selected Greeting (Recordings and Sounds). 2023-11-03 20:33:02 +00: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
fusionate
ec40d59152 Ring Groups: Hide buttons till checkbox checked, Updates for PHP 8.1. 2023-06-08 20:46:57 +00:00
markjcrane
230579d9a8 Ring group strategy alphabetical and enterprise by default 2023-06-08 11:10:12 -06:00
fusionate
d327d569f5 Misc: Updates for PHP 8.1 (?: to ??) 2023-06-06 22:05:05 +00:00
Anthony
fae05e5341 Fixed Warnings for Recordings, Ring Group Edit and Operator Panel (#6739)
* Update ring_group_edit.php

* Update recordings.php

* Update recording_edit.php

* Update content.php
2023-06-02 14:37:30 -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
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
Alex
43eb2a5b9d [security] sanitize the xml (#6595)
* Update call_center_queue_edit.php

* fix typo

* Update call_flow_edit.php

* Update conference_center_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update fax.php

* Update ivr_menu_edit.php

* Update ring_group_edit.php

* Update app_defaults.php

* Update ivr_menu_copy.php

* Update destination_imports.php

* Update app_defaults.php
2023-03-30 12:46:36 -06:00
Alex
7326cb845a Set default for enabled (#6556)
* Set default for enabled

* Update conference_profile_edit.php

* Update call_block_edit.php

* Update conference_control_edit.php

* Update conference_control_detail_edit.php

* Update conference_profile_edit.php

* Update conference_profile_param_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update email_template_edit.php

* Update extension_edit.php

* Update module_edit.php

* Update phrase_edit.php

* Update ring_group_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update time_condition_edit.php

* Update var_edit.php

* Update voicemail_edit.php

* Update call_block_edit.php

* Update default_setting_edit.php

* Update domain_setting_edit.php

* Update domain_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update sip_profile_edit.php

* Update sofia_global_setting_edit.php

* Update call_flow_edit.php

* Update email_template_edit.php

* Update call_flow_edit.php

* Update bridge_edit.php

* Update email_template_edit.php

* Update sip_profile_edit.php

* Update sofia_global_setting_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update default_setting_edit.php

* Update email_template_edit.php

* Update extension_setting_edit.php

* Update default_setting_edit.php

* Update dashboard_edit.php

* Update dashboard_edit.php

* Update default_setting_edit.php
2023-02-17 14:21:41 -07:00
Alex
a229d1e46c Add enabled toggle to more pages and bug fix (#6552)
* Add enabled toggle to more pages and bug fix

* Add device profile enable toggle

* fixed enable on bridge_edit.php

* Fixed enable on call_block_edit.php

* Fixed enable on call_flow_edit.php

* Fixed enable on conference_center_edit.php

* Add conference room enabled toggle

* Fixed enable on conference_control_detail_edit.php

* Fixed enable on conference_control_edit.php

* Fixed enable on conference_profile_edit.php

* Add conference profile param enabled toggle

* Fixed enable on conference_edit.php

* Fixed enabled on device_edit.php

* Fixed enable on extension_edit.php

* Fixed enable on gateway_edit.php

* Fixed enable on number_translation_edit.php

* Fixed enable on phrase_edit.php

* Fixed enable on ring_group_edit.php

* Fixed enable on sip_profile_edit.php

* Fixed enable on stream_edit.php

* Fixed enable on time_condition_edit.php

* Fixed enable on var_edit.php

* Fixed enable on voicemail_edit.php

* Fixed enable on user_edit.php

* Fixed enable on user_setting_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update stream_edit.php

* Fixed enable on default_setting_edit.php

* Fixed enable on domain_edit.php

* Fixed enable on email_template_edit.php

* Fixed enable on module_edit.php
2023-02-14 11:19:02 -07:00
FusionPBX
f5afe618e1 Set ring_group_enabled default to false 2023-02-10 09:58:03 -07:00
FusionPBX
9c19eff170 Add toggle ring group enabled 2023-02-10 09:43:14 -07:00
fusionate
b393089769 Ring Group - Edit: Set value to FALSE when Destination switch is off. 2023-01-23 22:44:57 +00:00
fusionate
df6bc02489 Ring Groups: Enhance Destination Enabled Switch 2023-01-21 01:30:34 +00:00
K-Flagman
581c919132 Add iphone style toggle to enable/disable ring groups destinations #6394 (#6395)
* Add iphone style toggle for destinations in ring groups

* Add iphone style toggle for destinations in ring groups

* only select enabled destination when make ring group calls

* add destination_enable filed in table v_ring_group_destinations schema

* Change destination_enabled value on to true.

* Update app_config.php

* Change destination_enabled from on to true

* Change destination_enabled to boolean

* Delete fix.css

* Will style this

* Update template.php

Co-authored-by: flagman <flagman@flagman.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
Co-authored-by: K-flagman <43560934+kapetrosyan@users.noreply.github.com>
2023-01-20 18:25:13 -07:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
markjcrane
4ca524b443 Add destination_delay_max and destination_timeout_max 2022-01-31 15:25:50 -07:00
FusionPBX
0a8c6f01fb Increase the number used in the ring group destination delay and timeout. 2022-01-14 10:35:06 -07:00
demonspork
5a39dbf68e Prevent Users without permission from clobbering ring_group_caller_id_name and number
Bring the ring_group_caller_id_name and number fields and permissions in line with the prefix permissions so that users without permission don't overwrite those those fields by hitting save.
2020-12-02 20:00:55 -06:00
fusionate
c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
FusionPBX
d51008d3e7 Remove the deprecated save_dialplan_xml function. 2020-08-14 00:32:32 -06:00
FusionPBX
87497721c6 Default the ring_group_call_timeout to 30 seconds. 2020-06-15 13:38:53 -06:00
FusionPBX
dc137edabe Rename message-timeout-action to message-timeout_action 2020-06-15 13:26:02 -06:00