Commit Graph

141 Commits

Author SHA1 Message Date
frytimo d529021b3f
Use boolean setting as true boolean (#7284)
* use boolean setting as true boolean

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
2025-03-04 11:25:47 -07:00
FusionPBX b6e1a2f775
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:15:38 -07:00
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
fusionate bc3e032efc
IVR Menu - Edit: Remove unused parameters from the recording_seek() function. 2024-10-18 19:05:08 -06:00
anthony-ricci 7122ecc154
Recording Seek (#7163) 2024-10-18 18:45:21 -06:00
frytimo 1bd7dc1687
Add ability to set a default ringback on ivr menu (#7149)
* add ability to set a default ringback on ivr menu
2024-10-03 23:39:35 -06:00
Alex cb6edd88ef
Added content card to applications (#7121) 2024-09-05 17:10:04 -06: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 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 911888e949
Update ivr_menu_edit.php 2024-03-30 08:28:42 -06:00
FusionPBX 3896629817
Fix the order by for IVR Menu Options 2024-03-01 18:26:44 -07:00
fusionate 81a6b947fe
IVR Menus: Audio waveform generation integration. 2024-02-09 13:10:57 -07:00
FusionPBX 81fbd31524
Add new permission ivr_menu_audio_edit 2024-01-16 11:51:14 -07:00
FusionPBX f1bf0c6674
Add missing select closing tag 2024-01-10 18:11:19 -07:00
FusionPBX 5af47bb6ea
Update language translation 2024-01-10 17:57:06 -07:00
agree 90946bbc07
[security] xml validate ringback fields (#6819) 2023-11-12 19:09:34 -07:00
fusionate 62d67f3557
IVR Menu - Edit: Make playback code consistent with other apps, add playback of selected Invalid and Exit Sounds (Recordings and Sounds). 2023-11-07 02:20:45 +00:00
FusionPBX 19a6252e1f
Make the IVR Menu invalid sound optional. 2023-10-20 16:38:02 -06:00
FusionPBX 14e3cf5546
Order by the IVR menu option order then digits 2023-08-31 13:46:19 -06:00
fusionate 959c72abc9
IVR Menu - Edit: Refine greeting playback experience. 2023-08-26 23:34:02 +00:00
K-Flagman ff578da24e
Play button in IVR Menu edit (#6786)
* add play button for ivr long and short greetings
2023-08-26 10:17:04 -06:00
Alex 3dfe583a42
Update ivr_menu_edit.php (#6769) 2023-07-07 09:39:36 -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
fusionate eda0d90eb2
IVR Menu - Edit: Fix delete. 2023-06-08 17:38:22 +00:00
fusionate b49892ab8a
IVR Menu - Edit: Update for PHP 8.1 2023-06-08 17:32:55 +00:00
fusionate 83c05beb46
IVR Menu - Edit: Updates for PHP 8.1 2023-06-08 17:26:12 +00:00
fusionate c1dee4cc6a
IVR Menu - Edit: Update for PHP 8.1 2023-06-08 17:19:52 +00:00
Alex 3b2964748a
php 8.1 changes (#6747)
* Update ivr_menu_edit.php

* Update call_block.php
2023-06-07 13:31:20 -06:00
fusionate d327d569f5
Misc: Updates for PHP 8.1 (?: to ??) 2023-06-06 22:05:05 +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
markjcrane 2afda399e6 IVR Menu code changes for PHP 8.1 2023-05-16 22:55:19 -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
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 c1f81c963f
When language is selected add sound_prefix 2023-04-25 11:10:18 -06:00
FusionPBX 1af129b94f
Only include ringback if it has a value 2023-04-07 12:28:27 -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 a8deadc38c
Update ivr_menu_edit.php (#6554)
* Update ivr_menu_edit.php

* Update extension_setting_edit.php

* Update domain_setting_edit.php
2023-02-15 09:52:49 -07:00
FusionPBX 7b6774050e
Set ivr_menu_enabled default to false 2023-02-10 10:08:54 -07:00
FusionPBX 06949a96d9
Add toggle ivr menu enabled 2023-02-10 09:41:32 -07:00
fusionate 8f2e1b0cd1
IVR Menu: Implement Enabled toggle control on Options. 2023-01-23 23:45:57 +00:00
FusionPBX 1cb9c932b8
Use the new ivr_menu answer setting. 2022-12-06 13:31:05 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX f2aba2251f
Presence is not correctly updated when caller rings an IVR
When a user calls an IVR, the presence is updated and sent to subscribers to notify they are on the phone, however it is never terminated so it appears they are busy long after the call ended. Removing the dialplan setting for the presence_id fixes this issue so the caller no longer appears on the phone when the IVR call ends.
2022-05-07 09:18:42 -06:00
markjcrane ffd901b5ba Escape ivr_menu_option_description to prevent XSS 2021-07-25 09:00:53 -06:00
FusionPBX 77043d3961
Use ivr_menu_language, ivr_menu_dialect, ivr_menu_voice 2020-12-01 12:16:42 -07: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