Commit Graph

110 Commits

Author SHA1 Message Date
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
agree 4b5ed3d8ef
Update ivr_menu_edit.php (#5317) 2020-06-22 22:58:15 -06:00
agree 0abbb1e51a
Update ivr_menu_edit.php (#5316) 2020-06-22 10:19:25 -06:00
FusionPBX 5e1d8c74ef
Use the valid type = ivr 2020-06-18 17:08:46 -06:00
agree 38adb80130
Add IVR menu-back (#5307)
* Update app_config.php

* Update app_languages.php

* Update ivr_menu_edit.php
2020-06-18 13:16:22 -06:00
agree f97249aa79
Update ivr_menu_edit.php (#5305) 2020-06-17 19:18:09 -06:00
FusionPBX ec7024ed41
Add ivr_menu_parent_uuid for adding a parent IVR Menu 2020-06-17 13:39:57 -06:00
Nate 7eae27ffa2 IVR Menus: Modal integration. 2020-03-26 09:56:24 -06:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate 3d1e70ecbf IVR Menu - Edit: Minor mod. 2020-03-03 19:15:43 -07:00
Nate cb86601fd4 IVR Menus - Edit: Permission adjustments, code cleanup. 2020-02-28 07:33:11 -07:00
Nate 8063d3f7ff IVR Menus - Edit: Add select-all checkbox for bulk delete of Options. 2020-02-27 19:00:15 -07:00
Nate 967e3471a7 IVR Menus: Dynamic delete button action. 2020-02-27 09:27:11 -07:00
Nate 9cf52ba33d IVR Menu - Edit: Integrate checkboxes on Options for bulk delete on Save (uses token). 2020-02-19 19:56:11 -07:00
FusionPBX 5bf5479f0d Update ivr_menu_edit.php 2020-02-07 12:54:50 -07:00
Nate b4602d8521 IVR Menu - Edit: Button updates. 2020-02-05 17:49:16 -07:00
Nate 9b084f82fa IVR Menu: List view updates, Edit bug fixes. 2019-11-25 16:40:52 -07:00
FusionPBX 2d66f73239 Update ivr_menu_edit.php 2019-10-28 11:01:34 -06:00
Nate eda482aa9b IVR: Persistent context without permission. 2019-10-05 13:55:55 -06:00
Nate 54da1c0aef IVR Menus: Token integration. 2019-09-19 06:39:36 -06:00
FusionPBX 408de11bbe Update ivr_menu_edit.php 2019-09-17 17:38:59 -06:00
FusionPBX cc4501e51f Update ivr_menu_edit.php 2019-09-17 17:18:21 -06:00
FusionPBX a811a0566c IVR Menu - fix add and update message 2019-09-05 07:34:01 -06:00
Nate c660b27096 Misc: Database class integration. 2019-08-28 21:02:08 -06:00
FusionPBX 2b5b070b8d Update ivr_menu_edit.php 2019-08-27 23:50:34 -06:00
Nate 6eddeefe95 IVR Menus: Database class integration. 2019-08-09 07:06:59 -06:00
FusionPBX 6fcd8354f6 Update ivr_menu_edit.php 2019-07-13 09:40:52 -06:00