Commit Graph

136 Commits

Author SHA1 Message Date
FusionPBX 8ae86bca9f
Re-use the database connection 2024-10-03 23:42:34 -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
fusionate 72e6368044 IVR Menu: Change spaces to tabs in last commit. 2020-11-27 16:33:05 -07:00
fusionate 6128269328 IVR Menu: Fix issue with CID Name Prefix missing. 2020-11-27 16:31:34 -07:00
Greenbea 3aa39634c9 ivr menu add pin number 2020-10-18 15:44:33 -04:00
agree e3f36157d3
Allow flexible defaults for ivr failure and timeout (#5502)
* Allow flexible defaults for ivr failure and timeout

* Allow flexible defaults for ivr failure and timeout

* Fix default setting description
2020-10-01 14:22:05 -06:00
agree e5d3295975
Fix destination->valid method for ivr (#5312)
* Update destinations.php

* Update ivr_menu_edit.php
2020-06-24 16:42:03 -06:00